From: Robert W. <ro...@us...> - 2005-07-11 22:29:55
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/wait4 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23055/testcases/kernel/syscalls/wait4 Modified Files: Makefile wait401.c wait402.c Log Message: Applied fixes by Paul J.Y. Lahaie to implement support for UCLinux Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/wait4/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile 27 Mar 2003 19:00:55 -0000 1.5 --- Makefile 11 Jul 2005 22:29:12 -0000 1.6 *************** *** 21,25 **** --- 21,27 ---- ########################################################################### CFLAGS+= -I../../../../include -Wall + CFLAGS+= $(if $(UCLINUX),-DUCLINUX) LOADLIBES+= -L../../../../lib -lltp + LOADLIBES+= $(if $(UCLINUX),-lc) SRCS=$(wildcard *.c) Index: wait402.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/wait4/wait402.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** wait402.c 5 Jul 2003 03:15:54 -0000 1.9 --- wait402.c 11 Jul 2005 22:29:12 -0000 1.10 *************** *** 126,130 **** } ! pid = fork(); if (pid == -1) { --- 126,130 ---- } ! pid = FORK_OR_VFORK(); if (pid == -1) { Index: wait401.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/wait4/wait401.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wait401.c 5 Jul 2003 03:15:54 -0000 1.4 --- wait401.c 11 Jul 2005 22:29:12 -0000 1.5 *************** *** 102,106 **** } ! pid = fork(); if (pid == -1) { --- 102,106 ---- } ! pid = FORK_OR_VFORK(); if (pid == -1) { |