[PATCH] remove "#if 0" from init.c

Robert P. J. Day rpjday at mindspring.com
Sat Mar 25 22:35:56 UTC 2006


diff -pru busybox.orig/init/init.c busybox/init/init.c
--- busybox.orig/init/init.c	2006-03-25 17:07:18.000000000 -0500
+++ busybox/init/init.c	2006-03-25 17:34:54.000000000 -0500
@@ -846,9 +846,6 @@ static void new_init_action(int action,
 	strcpy(new_action->command, command);
 	new_action->action = action;
 	strcpy(new_action->terminal, cons);
-#if 0   /* calloc zeroed always */
-	new_action->pid = 0;
-#endif
 	messageD(LOG|CONSOLE, "command='%s' action='%d' terminal='%s'\n",
 		new_action->command, new_action->action, new_action->terminal);
 }


Signed off by:  Robert P. J. Day <rpjday at mindspring.com>



More information about the busybox mailing list