Subject: PR/30734 CVS commit: src/lib/libpthread
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Nathan J Williams <nathanw@netbsd.org>
List: netbsd-bugs
Date: 07/16/2005 23:15:04
The following reply was made to PR lib/30734; it has been noted by GNATS.
From: Nathan J Williams <nathanw@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30734 CVS commit: src/lib/libpthread
Date: Sat, 16 Jul 2005 23:14:53 +0000 (UTC)
Module Name: src
Committed By: nathanw
Date: Sat Jul 16 23:14:53 UTC 2005
Modified Files:
src/lib/libpthread: pthread_mutex.c
Log Message:
Add cancellation protection to pthread_once() as per the standard; if
the once routine is cancelled, the effect on once_control is as if
pthread_once() was never called.
Bug report and fix from PR lib/30734.
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/lib/libpthread/pthread_mutex.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.