Implement suggestion from Adam Slattery, (don't default to killing closing bug #1190.
[oweals/busybox.git] / tr.c
diff --git a/tr.c b/tr.c
index 07922af175fb19c2b2a33506eb18176a189942b2..a5d068262bb636488e1ed6adf7ffb70a1bc3ef3f 100644 (file)
--- a/tr.c
+++ b/tr.c
@@ -31,7 +31,9 @@
 #include <sys/types.h>
 #include "busybox.h"
 
-static const int ASCII = 0377;
+/* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are
+ * enabled, we otherwise get a "storage size isn't constant error. */
+#define ASCII 0377
 
 /* some "globals" shared across this file */
 static char com_fl, del_fl, sq_fl;