← Commit list

7b881c716

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2007-03-30
FAILED Duration: 10s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/tr.c+0 -2
@@ -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++;