From: <ro...@us...> - 2003-04-18 19:55:33
|
Update of /cvsroot/ltp/ltp/testcases/kernel/sched/pthreads/pthread_detach In directory sc8-pr-cvs1:/tmp/cvs-serv2558 Modified Files: pthread_detach01.4-2.c Log Message: Undoing my previous commit.... Index: pthread_detach01.4-2.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/pthreads/pthread_detach/pthread_detach01.4-2.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pthread_detach01.4-2.c 18 Apr 2003 19:38:34 -0000 1.4 +++ pthread_detach01.4-2.c 18 Apr 2003 19:55:29 -0000 1.5 @@ -62,7 +62,7 @@ ret=pthread_detach(new_th); /* Check return value of pthread_detach() */ - if((ret != ESRCH) && (ret != 0)) + if(ret != ESRCH) { printf("Test FAILED: Incorrect return code: %d instead of ESRCH\n", ret); return PTS_FAIL; |