Date: Thu, 19 Aug 1999 12:37:10 +0000 (GMT) From: Alfred Perlstein <bright@wintelcom.net> To: Chris Costello <chris@calldei.com> Cc: Alfred Perlstein <alfred@FreeBSD.org>, Daniel Eischen <eischen@vigrid.com>, jb@FreeBSD.org, eivind@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc_r/uthread uthread_kern.c Message-ID: <Pine.BSF.4.05.9908191234590.6392-100000@fw.wintelcom.net> In-Reply-To: <19990819122650.B1922@holly.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Aug 1999, Chris Costello wrote: > On Thu, Aug 19, 1999, Alfred Perlstein wrote: > > alfred 1999/08/19 09:49:54 PDT > > > > Modified files: > > lib/libc_r/uthread uthread_kern.c > > Log: > > handle under/overflow of time values in a more robust manner, > > there may be an overflow that need to be adjusted more than once. > > Does this fix PR #12141? ok, this should be it, does this look right to everyone: Index: uthread_cond.c =================================================================== RCS file: /home/ncvs/src/lib/libc_r/uthread/uthread_cond.c,v retrieving revision 1.15 diff -u -r1.15 uthread_cond.c --- uthread_cond.c 1999/06/20 08:28:13 1.15 +++ uthread_cond.c 1999/08/19 23:22:31 @@ -261,6 +261,10 @@ int rval = 0; int status; + if (abstime->tv_sec < 0 || + abstime->tv_nsec < 0 || abstime->tv_nsec >= 1000000000) + return (EINVAL); + if (cond == NULL) rval = EINVAL; ? thanks, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9908191234590.6392-100000>