[BusyBox-cvs] busybox/coreutils env.c,1.9,1.10

Erik Andersen andersen at busybox.net
Fri Nov 7 11:20:26 UTC 2003


Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv20575/coreutils

Modified Files:
	env.c 
Log Message:
As vodz pointed out, setting unset_env to NULL is sufficient


Index: env.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/env.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- env.c	3 Nov 2003 22:46:14 -0000	1.9
+++ env.c	7 Nov 2003 11:20:21 -0000	1.10
@@ -62,13 +62,9 @@
 	char **ep, *p;
 	char *cleanenv[1] = { NULL };
 	unsigned long opt;
-	llist_t list, *unset_env;
+	llist_t *unset_env = NULL;
 	extern char **environ;
 
-	list.data = NULL;
-	list.link = NULL;
-	unset_env = &list;
-
 	bb_opt_complementaly = "u*";
 	bb_applet_long_options = env_long_options;
 




More information about the busybox-cvs mailing list