Date: Mon, 1 Dec 2003 14:12:50 -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: <200312012212.hB1MCoKc071190@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dg 2003/12/01 14:12:50 PST FreeBSD src repository Modified files: 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. Approved by: re@freebsd.org Revision Changes Path 1.19 +6 -2 src/lib/libc/sys/sendfile.2 1.159 +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?200312012212.hB1MCoKc071190>