svn commit: trunk/busybox/coreutils

landley at busybox.net landley at busybox.net
Wed Mar 1 20:48:46 UTC 2006


Author: landley
Date: 2006-03-01 12:48:44 -0800 (Wed, 01 Mar 2006)
New Revision: 14403

Log:
Selinux fix from Jan Kiszka.


Modified:
   trunk/busybox/coreutils/ls.c


Changeset:
Modified: trunk/busybox/coreutils/ls.c
===================================================================
--- trunk/busybox/coreutils/ls.c	2006-03-01 20:39:48 UTC (rev 14402)
+++ trunk/busybox/coreutils/ls.c	2006-03-01 20:48:44 UTC (rev 14403)
@@ -203,10 +203,6 @@
 
 static unsigned int all_fmt;
 
-#ifdef CONFIG_SELINUX
-static int selinux_enabled= 0;
-#endif
-
 #ifdef CONFIG_FEATURE_AUTOWIDTH
 static int terminal_width = TERMINAL_WIDTH;
 static unsigned short tabstops = COLUMN_GAP;
@@ -746,7 +742,7 @@
 		case LIST_CONTEXT:
 			{
 				char context[80];
-				int len;
+				int len = 0;
 
 				if (dn->sid) {
 				  /*  I assume sid initilized with NULL  */




More information about the busybox-cvs mailing list