]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When checking for valid timevals in the wrapped select() and poll()
authordeischen <deischen@FreeBSD.org>
Mon, 30 Aug 1999 00:02:08 +0000 (00:02 +0000)
committerdeischen <deischen@FreeBSD.org>
Mon, 30 Aug 1999 00:02:08 +0000 (00:02 +0000)
commit4bef5403f8a8fe0787101f3f5a555262f3d70b41
treea6269f3d35c3d1224512aacadcf0b43891497dc0
parent48597b2c18bfeb35efb00c8b6071da5e92baf996
When checking for valid timevals in the wrapped select() and poll()
routines, don't return EINVAL but set errno to EINVAL and return -1.
Added a check in pthread_cond_timedwait for a null timespec pointer.
lib/libc_r/uthread/uthread_cond.c
lib/libc_r/uthread/uthread_poll.c
lib/libc_r/uthread/uthread_select.c
lib/libkse/thread/thr_cond.c
lib/libkse/thread/thr_poll.c
lib/libkse/thread/thr_select.c
lib/libpthread/thread/thr_cond.c
lib/libpthread/thread/thr_poll.c
lib/libpthread/thread/thr_select.c