svn commit: trunk/busybox/applets

vodz at busybox.net vodz at busybox.net
Thu Sep 29 08:19:05 UTC 2005


Author: vodz
Date: 2005-09-29 01:19:04 -0700 (Thu, 29 Sep 2005)
New Revision: 11687

Log:
busybox.c: ENABLE_LOCALE logic correct.

Modified:
   trunk/busybox/applets/busybox.c


Changeset:
Modified: trunk/busybox/applets/busybox.c
===================================================================
--- trunk/busybox/applets/busybox.c	2005-09-29 07:55:51 UTC (rev 11686)
+++ trunk/busybox/applets/busybox.c	2005-09-29 08:19:04 UTC (rev 11687)
@@ -70,7 +70,7 @@
 		if (*(s++) == '/') bb_applet_name = s;
 
 	/* Set locale for everybody except `init' */
-	if(ENABLE_LOCALE_SUPPORT && (!ENABLE_INIT || getpid()==1))
+	if(ENABLE_LOCALE_SUPPORT && getpid() != 1)
 		setlocale(LC_ALL, "");
 
 	run_applet_by_name(bb_applet_name, argc, argv);




More information about the busybox-cvs mailing list