svn commit: trunk/busybox/libbb

aldot at busybox.net aldot at busybox.net
Tue Sep 12 13:25:17 UTC 2006


Author: aldot
Date: 2006-09-12 06:25:16 -0700 (Tue, 12 Sep 2006)
New Revision: 16106

Log:
- fix warning about discarding qualifiers in initialization


Modified:
   trunk/busybox/libbb/run_parts.c


Changeset:
Modified: trunk/busybox/libbb/run_parts.c
===================================================================
--- trunk/busybox/libbb/run_parts.c	2006-09-11 18:46:39 UTC (rev 16105)
+++ trunk/busybox/libbb/run_parts.c	2006-09-12 13:25:16 UTC (rev 16106)
@@ -27,7 +27,7 @@
  */
 static int valid_name(const struct dirent *d)
 {
-	char *c = d->d_name;
+	const char *c = d->d_name;
 
 	while (*c) {
 		if (!isalnum(*c) && (*c != '_') && (*c != '-')) {




More information about the busybox-cvs mailing list