From be98c1c889166a5f2b83e1e29d7dcbbaf6baab8f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 19 Mar 2013 13:24:46 +0100 Subject: [PATCH] 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 Reviewed-by: Jeremy Allison --- source3/smbd/negprot.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index e33350c932b..cfe098351f2 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; -- 2.11.4.GIT