From owner-cvs-all@FreeBSD.ORG Wed Mar 21 21:47:29 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAA1B16A403; Wed, 21 Mar 2007 21:47:29 +0000 (UTC) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id BC4DA13C455; Wed, 21 Mar 2007 21:47:29 +0000 (UTC) (envelope-from tegge@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2LLlTY6028958; Wed, 21 Mar 2007 21:47:29 GMT (envelope-from tegge@repoman.freebsd.org) Received: (from tegge@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2LLlTDD028957; Wed, 21 Mar 2007 21:47:29 GMT (envelope-from tegge) Message-Id: <200703212147.l2LLlTDD028957@repoman.freebsd.org> From: Tor Egge Date: Wed, 21 Mar 2007 21:47:29 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel/linuxthreads/files patch-intrpipe X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 21:47:29 -0000 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