diff options
author | Jeremy Allison <jra@samba.org> | 2011-04-29 14:27:32 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-04-29 23:31:06 +0200 |
commit | 76739435fc8abf1f47193ec4db35a567b564c785 (patch) | |
tree | 77e3785a6f0adf2336f14d39f53cf02b49a593dc /source3/libsmb/libsmb_printjob.c | |
parent | bbacaec4e9365b128eb11467c95412de7473c1ec (diff) | |
download | samba-76739435fc8abf1f47193ec4db35a567b564c785.tar.gz samba-76739435fc8abf1f47193ec4db35a567b564c785.tar.bz2 samba-76739435fc8abf1f47193ec4db35a567b564c785.zip |
Fix bug 8111 - CIFS VFS: unexpected error on SMB posix open
We are conflating the O_CREAT|O_EXCL with the O_TRUNC
processing, they need to be separate. We need to chose
using (O_CREAT|O_EXCL) first, then modify if O_TRUNC is
set. This needs two separate switch statements.
Jeremy
Diffstat (limited to 'source3/libsmb/libsmb_printjob.c')
0 files changed, 0 insertions, 0 deletions