CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2012/03/03 02:36:26

Modified files:
        regress/lib/libpthread/semaphore/sem_getvalue: sem_getvalue.c 
        regress/lib/libpthread/semaphore/sem_trywait: sem_trywait.c 
        regress/lib/libpthread/semaphore/sem_wait: sem_wait.c 

Log message:
While we guarantee that a zero-filled sem_t variable will trigger
EINVAL errors, a sem_t on the stack may have garbage, so make the
tests portable by moving the sem_t from function to file scope.

problem found by miod@

Reply via email to