diff options
Diffstat (limited to 'source3/smbwrapper/wrapped.c')
-rw-r--r-- | source3/smbwrapper/wrapped.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c index 8aa3768638..a6e35563da 100644 --- a/source3/smbwrapper/wrapped.c +++ b/source3/smbwrapper/wrapped.c @@ -625,5 +625,6 @@ __asm__(".globl _write; _write = write"); int creat(const char *path, mode_t mode) { - return open(path, O_WRONLY | O_CREAT | O_TRUNC, mode); + /* drat, including sys/fcntl.h gives conflicts */ + return open(path, 01101, mode); } |