cvs commit: ports/devel/linuxthreads/files patch-intrpipe

Tor Egge tegge at FreeBSD.org
Wed Mar 21 21:47:29 UTC 2007


tegge       2007-03-21 21:47:29 UTC

  FreeBSD ports repository

  Modified files:
    devel/linuxthreads/files patch-intrpipe 
  Log:
  Previous backport of the 2001-09-11 fix from newer linuxthreads version
  failed to take into account that the library contains wrappers for read()
  and write() that calls __libc_read() and __libc_write().  This incorrectly
  causes normal read() and write() operations to be retried if aborted by a
  signal.
  
  Instead of making __libc_read() and __libc_write() retry if aborted by a
  signal, add new functions __libc_safe_read() and __libc_safe_write() that
  retries operation after a signal.  Change reads from manager pipe and
  writes to manager pipe to use __libc_safe_read() and __libc_safe_write().
  
  Revision  Changes    Path
  1.2       +121 -38   ports/devel/linuxthreads/files/patch-intrpipe


More information about the cvs-all mailing list