diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-11 23:19:08 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-11 23:19:08 +0000 |
commit | 6578fd874283ee97c2896bcf7257db7f3e37c2ec (patch) | |
tree | a5e9ee2ed36b4b0ba1521edbe961f3e2f9026f13 /source3/include | |
parent | 0ca9f5c023df2ee498dcd1bdb2f29abc632a5d60 (diff) | |
download | samba-6578fd874283ee97c2896bcf7257db7f3e37c2ec.tar.gz samba-6578fd874283ee97c2896bcf7257db7f3e37c2ec.tar.bz2 samba-6578fd874283ee97c2896bcf7257db7f3e37c2ec.zip |
To stop people complaining about the mktemp call, move it into lib/util.c. Thanks
to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke
XFS ACL code.
Jeremy.
(This used to be commit 9b32b8a8cfc8ddb93c14d5581f433d2e93f89ed2)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 1 | ||||
-rw-r--r-- | source3/include/proto.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index 64714b1e91..ec5cc13665 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -174,6 +174,7 @@ #undef HAVE_EXPLICIT_LARGEFILE_SUPPORT #undef USE_BOTH_CRYPT_CALLS #undef HAVE_BROKEN_FCNTL64_LOCKS +#undef HAVE_SECURE_MKSTEMP #undef HAVE_FNMATCH #undef USE_SETEUID #undef USE_SETRESUID diff --git a/source3/include/proto.h b/source3/include/proto.h index e606724363..57255d403c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -489,6 +489,7 @@ void zero_free(void *p, size_t size); int set_maxfiles(int requested_max); BOOL reg_split_key(char *full_keyname, uint32 *reg_type, char *key_name); char *smbd_mktemp(char *template); +int smb_mkstemp(char *template); void *memdup(void *p, size_t size); char *myhostname(void); char *lock_path(char *name); |