[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1101-g7f9fe7d

Jeremy Allison jra at samba.org
Sat Jan 5 07:29:43 GMT 2008


The branch, v3-2-test has been updated
       via  7f9fe7da1e25bcc730f4c4226bf77f6d39b5ace4 (commit)
      from  34cd9b5b51a4209b4d970eb90bf1db0eb24a60bb (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 7f9fe7da1e25bcc730f4c4226bf77f6d39b5ace4
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Jan 4 23:17:38 2008 -0800

    Using a bool with a logical operation. IBM checker caught.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/open.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/open.c b/source/smbd/open.c
index e3fae02..f178102 100644
--- a/source/smbd/open.c
+++ b/source/smbd/open.c
@@ -1405,7 +1405,7 @@ NTSTATUS open_file_ntcreate(connection_struct *conn,
 	}
 #endif /* O_SYNC */
   
-	if (posix_open & (access_mask & FILE_APPEND_DATA)) {
+	if (posix_open && (access_mask & FILE_APPEND_DATA)) {
 		flags2 |= O_APPEND;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list