summaryrefslogtreecommitdiff
path: root/coreutils/fold.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/fold.c')
-rw-r--r--coreutils/fold.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/coreutils/fold.c b/coreutils/fold.c
index ee0fdc2..53ef446 100644
--- a/coreutils/fold.c
+++ b/coreutils/fold.c
@@ -53,25 +53,25 @@ extern int fold_main(int argc, char **argv)
int errs = 0;
-#ifdef CONFIG_FEATURE_SUSv2_OBSOLETE
- /* Turn any numeric options into -w options. */
- for (i = 1; i < argc; i++) {
- char const *a = argv[i];
-
- if (a[0] == '-') {
- if (a[1] == '-' && !a[2])
- break;
- if (isdigit(a[1])) {
- char *s = xmalloc(strlen(a) + 2);
-
- s[0] = '-';
- s[1] = 'w';
- strcpy(s + 2, a + 1);
- argv[i] = s;
+ if(!ENABLE_DEBUG_YANK_SUSv2) {
+ /* Turn any numeric options into -w options. */
+ for (i = 1; i < argc; i++) {
+ char const *a = argv[i];
+
+ if (a[0] == '-') {
+ if (a[1] == '-' && !a[2])
+ break;
+ if (isdigit(a[1])) {
+ char *s = xmalloc(strlen(a) + 2);
+
+ s[0] = '-';
+ s[1] = 'w';
+ strcpy(s + 2, a + 1);
+ argv[i] = s;
+ }
}
}
}
-#endif
flags = bb_getopt_ulflags(argc, argv, "bsw:", &w_opt);
if (flags & FLAG_WIDTH)