From: Subrata <sub...@us...> - 2008-03-27 12:07:52
|
Update of /cvsroot/ltp/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17903/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait Modified Files: 4-1.c Log Message: some more "variable is used uninitialized" warnings fixed with this patch, by, Marcus Meissner <mar...@us...> Index: 4-1.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/4-1.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** 4-1.c 26 Jul 2007 12:02:14 -0000 1.4 --- 4-1.c 27 Mar 2008 12:07:47 -0000 1.5 *************** *** 199,202 **** --- 199,204 ---- struct timespec ts, tsrem; + //initialisation is needed + ts.tv_sec=0; /* We block the signals SIGUSR1 and SIGUSR2 for this THREAD */ |