svn commit: samba r15035 - in branches/SAMBA_3_0/source/smbd: .

vlendec at samba.org vlendec at samba.org
Tue Apr 11 06:39:53 GMT 2006


Author: vlendec
Date: 2006-04-11 06:39:51 +0000 (Tue, 11 Apr 2006)
New Revision: 15035

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15035

Log:
It seems that many preprocessors do not like comments in macro args..
Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c	2006-04-11 06:35:36 UTC (rev 15034)
+++ branches/SAMBA_3_0/source/smbd/trans2.c	2006-04-11 06:39:51 UTC (rev 15035)
@@ -2407,12 +2407,15 @@
 			SSVAL(pdata,0,CIFS_UNIX_MAJOR_VERSION);
 			SSVAL(pdata,2,CIFS_UNIX_MINOR_VERSION);
 			/* We have POSIX ACLs, pathname and locking capability. */
+#if defined(DEVELOPER) /* Not quite finished yet... */
 			SBIG_UINT(pdata,4,((SMB_BIG_UINT)(
 					CIFS_UNIX_POSIX_ACLS_CAP|
 					CIFS_UNIX_POSIX_PATHNAMES_CAP|
-#if defined(DEVELOPER) /* Not quite finished yet... */
 					CIFS_UNIX_FCNTL_LOCKS_CAP)));
 #else
+			SBIG_UINT(pdata,4,((SMB_BIG_UINT)(
+					CIFS_UNIX_POSIX_ACLS_CAP|
+					CIFS_UNIX_POSIX_PATHNAMES_CAP|
 					0)));
 #endif
 			break;



More information about the samba-cvs mailing list