From 6578fd874283ee97c2896bcf7257db7f3e37c2ec Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 11 Apr 2001 23:19:08 +0000 Subject: 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) --- source3/include/config.h.in | 1 + source3/include/proto.h | 1 + 2 files changed, 2 insertions(+) (limited to 'source3/include') 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); -- cgit