Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 04/19/2005 16:38:58
Module Name: src
Committed By: nathanw
Date: Tue Apr 19 16:38:58 UTC 2005
Modified Files:
src/lib/libpthread: pthread_sleep.c
Log Message:
Avoid passing along a timespec with a negative number of seconds if
the current time plus the caller-supplied time to sleep wraps the
time_t. Instead, sleep until INT_MAX.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/lib/libpthread/pthread_sleep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.