Subject: PR/28700 CVS commit: [netbsd-2] src/lib/libpthread
To: None <nathanw@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 04/08/2005 21:57:02
The following reply was made to PR lib/28700; it has been noted by GNATS.
From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/28700 CVS commit: [netbsd-2] src/lib/libpthread
Date: Fri, 8 Apr 2005 21:56:12 +0000 (UTC)
Module Name: src
Committed By: tron
Date: Fri Apr 8 21:56:12 UTC 2005
Modified Files:
src/lib/libpthread [netbsd-2]: pthread_alarms.c
Log Message:
Pull up revision 1.11 (requested by nathanw in ticket #1064):
Avoid passing zero-valued timespecs to timer_settime() when we want to set
a timer, as that will clear the timer instead. Pass in a safely in-the-past
value instead.
Addresses PR lib/28700.
(XXX passing in values between 0 and 1000 nanoseconds will still fail, but
that bug needs to be fixed in timer_settime(), not here)
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.9.4.1 src/lib/libpthread/pthread_alarms.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.