mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
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>
This commit is contained in:
parent
d24b8afb79
commit
be98c1c889
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user