svn commit: trunk/busybox/coreutils

aldot at busybox.net aldot at busybox.net
Fri Mar 30 18:26:47 UTC 2007


Author: aldot
Date: 2007-03-30 11:26:46 -0700 (Fri, 30 Mar 2007)
New Revision: 18283

Log:
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..


Modified:
   trunk/busybox/coreutils/tr.c


Changeset:
Modified: trunk/busybox/coreutils/tr.c
===================================================================
--- trunk/busybox/coreutils/tr.c	2007-03-30 18:23:36 UTC (rev 18282)
+++ trunk/busybox/coreutils/tr.c	2007-03-30 18:26:46 UTC (rev 18283)
@@ -83,7 +83,6 @@
 	char *buffer_start = buffer;
 	unsigned i; /* XXX: FIXME: use unsigned char? */
 	unsigned char ac;
-#if ENABLE_FEATURE_TR_CLASSES
 #define CLO ":]"
 	const char * const classes[] = {
 		"alpha"CLO, "alnum"CLO, "digit"CLO, "lower"CLO, "upper"CLO, "space"CLO,
@@ -102,7 +101,6 @@
 //#define CLASS_xdigit 10
 //#define CLASS_graph 11
 //#define CLASS_print 12
-#endif
 	while (*arg) {
 		if (*arg == '\\') {
 			arg++;




More information about the busybox-cvs mailing list