git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8573c8
)
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm
author
Alexander Bokovoy
<ab@samba.org>
Mon, 12 May 2003 01:43:59 +0000
(
01:43
+0000)
committer
Alexander Bokovoy
<ab@samba.org>
Mon, 12 May 2003 01:43:59 +0000
(
01:43
+0000)
(This used to be commit
ee5fa840686a1d9789688e7c0f1c3ca8d0175e94
)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index ea530592793aa967c91edd9834860799f2a68088..771e2ff444b46a0110501ca86177d889d13a0592 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-1371,7
+1371,12
@@
static int call_trans2qfsinfo(connection_struct *conn, char *inbuf, char *outbuf
SIVAL(pdata,0,FILE_CASE_PRESERVED_NAMES|FILE_CASE_SENSITIVE_SEARCH|
(lp_nt_acl_support(SNUM(conn)) ? FILE_PERSISTENT_ACLS : 0)|
- (HAVE_SYS_QUOTAS ? FILE_VOLUME_QUOTAS: 0)); /* FS ATTRIBUTES */
+#if defined(HAVE_SYS_QUOTAS)
+ FILE_VOLUME_QUOTAS
+#else
+ 0
+#if
+ ); /* FS ATTRIBUTES */
SIVAL(pdata,4,255); /* Max filename component length */
/* NOTE! the fstype must *not* be null terminated or win98 won't recognise it