Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 12/29/2004 20:47:39
Module Name: src
Committed By: nathanw
Date: Wed Dec 29 20:47:39 UTC 2004
Modified Files:
src/lib/libpthread: pthread_alarms.c
Log Message:
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.10 -r1.11 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.