Date: Mon, 1 Dec 2003 01:38:12 -0800 (PST) From: David Greenman <dg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys sendfile.2 src/sys/kern uipc_syscalls.c Message-ID: <200312010938.hB19cCwZ016632@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dg 2003/12/01 01:38:12 PST
FreeBSD src repository
Modified files: (Branch: RELENG_4)
lib/libc/sys sendfile.2
sys/kern uipc_syscalls.c
Log:
Fixed a bug in sendfile(2) where the sent data would be corrupted due
to sendfile(2) being erroneously automatically restarted after a signal
is delivered. Fixed by converting ERESTART to EINTR prior to exiting.
Updated manual page to indicate the potential EINTR error, its cause
and consequences.
Revision Changes Path
1.6.2.7 +6 -2 src/lib/libc/sys/sendfile.2
1.65.2.18 +5 -0 src/sys/kern/uipc_syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312010938.hB19cCwZ016632>
