summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-03-19 13:24:46 +0100
committerJeremy Allison <jra@samba.org>2013-03-20 09:32:26 -0700
commitbe98c1c889166a5f2b83e1e29d7dcbbaf6baab8f (patch)
treeac3fa2a236c7bd5e35563e9ce53945a16f4fc95b
parentd24b8afb79f75b1db9301b79862be484a4932979 (diff)
downloadsamba-be98c1c889166a5f2b83e1e29d7dcbbaf6baab8f.tar.gz
samba-be98c1c889166a5f2b83e1e29d7dcbbaf6baab8f.tar.bz2
samba-be98c1c889166a5f2b83e1e29d7dcbbaf6baab8f.zip
s3:smbd: remove silly (SMB_OFF_T_BITS == 64) checks
configure will abort if sizeof(off_t) is not 8. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/smbd/negprot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index e33350c932..cfe098351f 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -284,11 +284,10 @@ static void reply_nt1(struct smb_request *req, uint16 choice)
capabilities |= CAP_UNIX;
}
- if (lp_large_readwrite() && (SMB_OFF_T_BITS == 64))
+ if (lp_large_readwrite())
capabilities |= CAP_LARGE_READX|CAP_LARGE_WRITEX|CAP_W2K_SMBS;
- if (SMB_OFF_T_BITS == 64)
- capabilities |= CAP_LARGE_FILES;
+ capabilities |= CAP_LARGE_FILES;
if (lp_readraw() && lp_writeraw())
capabilities |= CAP_RAW_MODE;