svn commit: [25983] trunk/busybox/shell

vda at busybox.net vda at busybox.net
Mon Apr 6 12:09:56 UTC 2009


Author: vda
Date: 2009-04-06 12:09:55 +0000 (Mon, 06 Apr 2009)
New Revision: 25983

Log:
hush: add <> and () as "safe" arith chars



Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2009-04-06 12:04:42 UTC (rev 25982)
+++ trunk/busybox/shell/hush.c	2009-04-06 12:09:55 UTC (rev 25983)
@@ -1791,7 +1791,7 @@
 				}
 				if (isdigit(c))
 					continue;
-				if (strchr(" \t+-*/%_", c) != NULL)
+				if (strchr(" \t+-*/%<>()_", c) != NULL)
 					continue;
 				c |= 0x20; /* tolower */
 				if (c >= 'a' && c <= 'z')



More information about the busybox-cvs mailing list