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

David Greenman dg at FreeBSD.org
Mon Dec 1 14:12:54 PST 2003


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 at 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


More information about the cvs-src mailing list