summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-05 09:01:49 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-05 09:01:49 +0000
commita6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b (patch)
tree07dac5beb5b7c5d89d14e578a0fb37387b9472dc /source3/smbwrapper
parent61d8534d7cd274d521ee211ac927096a465a0551 (diff)
downloadsamba-a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b.tar.gz
samba-a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b.tar.bz2
samba-a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b.zip
test for creat64()
(This used to be commit 8aa6c16eeb96d6a66a2946f5048126f175f9f609)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/wrapped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c
index 65550b19cc..6bfb465828 100644
--- a/source3/smbwrapper/wrapped.c
+++ b/source3/smbwrapper/wrapped.c
@@ -803,12 +803,12 @@
}
#endif
-#ifndef LINUX
int creat(const char *path, mode_t mode)
{
return open(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
}
+#ifdef HAVE_CREAT64
int creat64(const char *path, mode_t mode)
{
return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);