Bug 2429 - sendfile cannot be disabled using configure
sendfile cannot be disabled using configure
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
All Solaris
: P3 minor
: none
Assigned To: Tim Potter
Samba QA Contact
: 2433 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2005-03-09 06:51 UTC by Walter Haidinger
Modified: 2005-03-09 09:06 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Walter Haidinger 2005-03-09 06:51:42 UTC
./configure neither honors --without-sendfile-support or

Instead, sendfile support is _always_ enabled.

Pretty bad, if you have to compile without sendfile...

Regards, Walter
Comment 1 Gerald (Jerry) Carter 2005-03-09 06:54:31 UTC
just set 'use sendfile = no' in smb.conf (which is the 
current default anyways).
Comment 2 Walter Haidinger 2005-03-09 08:45:27 UTC
*** Bug 2433 has been marked as a duplicate of this bug. ***
Comment 3 Walter Haidinger 2005-03-09 08:49:36 UTC
Then why not remove the option from configure --help altogether?
Would reduce some confusion.

Btw, sendfile is enabled by default (which is usually good).
smbd.conf(1) of 3.0.11:

     use sendfile (S)
          If this parameter is yes,  and  the  sendfile()  system
          Default: use sendfile = yes
Comment 4 Gerald (Jerry) Carter 2005-03-09 09:06:00 UTC
actually, the docs are wrong.  we had to change the default to
'no' due to so many broken sendfile implementations.
Probably a valid comment about the --with-sendfile-support.
I'll look into that today.