1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00

20 Commits

Author SHA1 Message Date
Andrew Tridgell
87c91e4362 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
8444c997bd r14393: Fix a couple of AIX warnings.
Jeremy.
2007-10-10 11:15:28 -05:00
Jeremy Allison
f08aceb988 r4296: Patch from William Jojo <jojowil@hvcc.edu> to fix HPUX sendfile and add
configure.in tests and code for sendfile on AIX.
Jeremy.
2007-10-10 10:53:42 -05:00
Jeremy Allison
78236382f7 r3944: Fix the problem we get on Linux where sendfile fails, but we've already sent the
header using send(). As our implementation of sendfile can't return EINTR (it
restarts in that case) use an errno of EINTR to signal the linux sendfile fail
after header case. When that happens send the rest of the data and then turn
off sendfile. Sendfile should be safe to enable on all systems now (even though
it may not help in all performance cases).
Jeremy.
2007-10-10 10:53:26 -05:00
Tim Potter
67ab91825d Cast to fix warning on Solaris sendfile - check buildfarm output
to see if this works!  Bug #706.
-
Gerald Carter
15be89e72f merging [un]signed declaration -
Jeremy Allison
7ba5636897 Fix Solaris sendfile detection. Add small fixes to sendfile code.
Jeremy.
-
Jeremy Allison
9c17faefa5 Added Solaris sendfile patch + configure tests from Pierre Belanger <belanger@yahoo.com>.
Jeremy.
-
Jeremy Allison
495e6e3287 Don't zero out numwritten before using.... Found by Pierre Belanger belanger@pobox.com
Jeremy.
-
Jeremy Allison
f4845b0213 Merge back Richard's FreeBSD sendfile fixes.
Jeremy.
-
Jeremy Allison
91e41ebe97 HPUX sendfile is now detected correctly.
Jeremy.
-
Jeremy Allison
5881f0a226 Actually use sendfile if selected.
Jeremy.
-
Jeremy Allison
f956a4d29d Attempt to make broken Linux sendfile work.... Still in progress.
Jeremy.
-
Jeremy Allison
7e2f9769c9 Use HAVE_SENDFILE64, not SENDFILE64.
Jeremy.
-
Jeremy Allison
872dfd87cd Added fix for broken Linux (no sendfile64). When offset + count > 2GB
then return ENOSYS and let the upper layer handle it.
Jeremy
-
Jeremy Allison
9dad88e1d4 Fixed up FreeBSD sendfile code - only Solaris left then I can add the
configure tests...
Jeremy.
-
Jeremy Allison
d7024e8cb9 HPUX takes offset, not pointer to offset.
Jeremy.
-
Jeremy Allison
2b33a500a8 Fixup sendfile to match HPUX semantics with signal interrups. This was
fiddly.... :-(.
Jeremy.
-
Jeremy Allison
fd772ca7b1 First cut at portable sendfile code. Only used in readX at the moment
and doesn't actually call sendfile. Needs to be vectored through the
VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux).
Linux doesn't actually work (2.4.19 kernel) at the moment because it
doesn't have a 64-bit clean sendfile.
Jeremy.
-