From: mreed <mr...@us...> - 2006-08-03 05:21:27
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/fcntl In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6444/syscalls/fcntl Modified Files: fcntl15.c Log Message: A fix by Jane, Lv that fixes tests crashing on uClinux Index: fcntl15.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/fcntl/fcntl15.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** fcntl15.c 11 Jul 2005 22:28:18 -0000 1.8 --- fcntl15.c 3 Aug 2006 05:21:24 -0000 1.9 *************** *** 202,206 **** { /* create child process */ ! if ((child1 = fork()) < 0) { perror("Fork failure"); return(1); --- 202,206 ---- { /* create child process */ ! if ((child1 = FORK_OR_VFORK()) < 0) { perror("Fork failure"); return(1); *************** *** 467,471 **** /* create child process */ ! if ((child2 = fork()) < 0) { perror("Fork failure"); tst_rmdir(); --- 467,471 ---- /* create child process */ ! if ((child2 = FORK_OR_VFORK()) < 0) { perror("Fork failure"); tst_rmdir(); |