cvs commit: src/lib/libc/sys sendfile.2 src/sys/kern uipc_syscalls.c

David Greenman dg at FreeBSD.org
Mon Dec 1 01:38:13 PST 2003


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


More information about the cvs-src mailing list