[PATCH] disable sendfile on ENOSYS
Michael Sweet
mike at easysw.com
Fri Aug 6 13:04:59 GMT 2004
James Peach wrote:
> Hi all,
>
> The attached patch flips the "use sendfile" parameter off if we find
> out at runtime that it sendfile isn't present or doesn't work (ie. we
> get an ENOSYS for it).
I think a log message would also be appropriate when you turn
the sendfile support off - that way the administrator knows that
something happened... :)
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Printing Software for UNIX http://www.easysw.com
More information about the samba-technical
mailing list