svn commit: samba r15042 - in trunk/source/smbd: .

jra at samba.org jra at samba.org
Tue Apr 11 16:30:42 GMT 2006


Author: jra
Date: 2006-04-11 16:30:42 +0000 (Tue, 11 Apr 2006)
New Revision: 15042

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

Log:
Janitor for Volker.
It seems that many preprocessors do not like comments in macro args..
Jeremy.

Modified:
   trunk/source/smbd/trans2.c


Changeset:
Modified: trunk/source/smbd/trans2.c
===================================================================
--- trunk/source/smbd/trans2.c	2006-04-11 15:47:24 UTC (rev 15041)
+++ trunk/source/smbd/trans2.c	2006-04-11 16:30:42 UTC (rev 15042)
@@ -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