Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 21:47:29 +0000 (UTC)
From:      Tor Egge <tegge@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/devel/linuxthreads/files patch-intrpipe
Message-ID:  <200703212147.l2LLlTDD028957@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703212147.l2LLlTDD028957>