summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-04-11 06:39:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:58 -0500
commit262ffd9750f58f2c5f2268932b45c4d7b05a5fca (patch)
treed4c5423f0f625627ed3794d9bc2b3ee96e92ffed /source3
parent211d415d19243a613434d31f10faa20d9c2102e3 (diff)
downloadsamba-262ffd9750f58f2c5f2268932b45c4d7b05a5fca.tar.gz
samba-262ffd9750f58f2c5f2268932b45c4d7b05a5fca.tar.bz2
samba-262ffd9750f58f2c5f2268932b45c4d7b05a5fca.zip
r15035: It seems that many preprocessors do not like comments in macro args..
(This used to be commit efc833dcba052e52c46eeba71a1ebe248be9cb05)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 31e3d9e329..b229807bfd 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2407,12 +2407,15 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
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;