[uClibc-cvs] uClibc/test/unistd vfork.c,1.4,1.5

Erik Andersen andersen at uclibc.org
Mon Sep 1 19:57:34 UTC 2003


Update of /var/cvs/uClibc/test/unistd
In directory winder:/tmp/cvs-serv14599/test/unistd

Modified Files:
	vfork.c 
Log Message:
minor cleanup


Index: vfork.c
===================================================================
RCS file: /var/cvs/uClibc/test/unistd/vfork.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- vfork.c	4 Feb 2002 11:10:10 -0000	1.4
+++ vfork.c	1 Sep 2003 19:57:31 -0000	1.5
@@ -34,9 +34,11 @@
 	int status, wpid;
 	char *argv[] = {
 		"/bin/ls",
+		"-laF",
 		NULL,
 	};
 
+	clearenv();
 	if ((pid = vfork()) == 0) {
 		printf("Hi.  I'm the child process...\n");
 		execvp(argv[0], argv);




More information about the uClibc-cvs mailing list