- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 30 Mar 2007 18:26:46 +0000 (18:26 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 30 Mar 2007 18:26:46 +0000 (18:26 -0000)
coreutils/tr.c

index f423ab0cf1ee2314cd5056a9b8293fc45bc9c57c..f72d23c0328fa6e6aef7f857006d5bee0e59803a 100644 (file)
@@ -83,7 +83,6 @@ static unsigned int expand(const char *arg, char *buffer)
        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 @@ static unsigned int expand(const char *arg, char *buffer)
 //#define CLASS_xdigit 10
 //#define CLASS_graph 11
 //#define CLASS_print 12
-#endif
        while (*arg) {
                if (*arg == '\\') {
                        arg++;