projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc89026
)
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 30 Mar 2007 18:26:46 +0000
(18:26 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 30 Mar 2007 18:26:46 +0000
(18:26 -0000)
coreutils/tr.c
patch
|
blob
|
history
diff --git
a/coreutils/tr.c
b/coreutils/tr.c
index f423ab0cf1ee2314cd5056a9b8293fc45bc9c57c..f72d23c0328fa6e6aef7f857006d5bee0e59803a 100644
(file)
--- 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++;