From 7b881c716892bfe2fc0edecf2887e0540b25835f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 30 Mar 2007 18:26:46 +0000 Subject: [PATCH] - fix compilation if FEATURE_TR_CLASSES is off. Sorry for that.. --- coreutils/tr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/coreutils/tr.c b/coreutils/tr.c index f423ab0cf..f72d23c03 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c @@ -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++;