diff options
author | Denis Vlasenko | 2006-12-22 13:56:36 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-22 13:56:36 +0000 |
commit | 0849207ce049a4ff0287ff5c03d24611e5340e2a (patch) | |
tree | ebc86b4456711b1aa8905894432e544df28e2d63 /coreutils | |
parent | c5cb38f4d9fa90fdd01ea258390d0059138616b5 (diff) | |
download | busybox-0849207ce049a4ff0287ff5c03d24611e5340e2a.zip busybox-0849207ce049a4ff0287ff5c03d24611e5340e2a.tar.gz |
convert "negaite" config option into reversed (INCLUDE_SUSv2)
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/fold.c | 2 | ||||
-rw-r--r-- | coreutils/head.c | 6 | ||||
-rw-r--r-- | coreutils/tail.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/fold.c b/coreutils/fold.c index 9ca693d..fd72981 100644 --- a/coreutils/fold.c +++ b/coreutils/fold.c @@ -45,7 +45,7 @@ int fold_main(int argc, char **argv) int i; int errs = 0; - if(!ENABLE_DEBUG_YANK_SUSv2) { + if (ENABLE_INCLUDE_SUSv2) { /* Turn any numeric options into -w options. */ for (i = 1; i < argc; i++) { char const *a = argv[i]; diff --git a/coreutils/head.c b/coreutils/head.c index f2c9483..56e7a96 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -47,7 +47,7 @@ int head_main(int argc, char **argv) int c; int retval = EXIT_SUCCESS; -#if !ENABLE_DEBUG_YANK_SUSv2 || ENABLE_FEATURE_FANCY_HEAD +#if ENABLE_INCLUDE_SUSv2 || ENABLE_FEATURE_FANCY_HEAD /* Allow legacy syntax of an initial numeric option without -n. */ if (argc > 1 && argv[1][0] == '-' && isdigit(argv[1][1]) @@ -75,8 +75,8 @@ int head_main(int argc, char **argv) #endif case 'n': p = optarg; -#if !ENABLE_DEBUG_YANK_SUSv2 || ENABLE_FEATURE_FANCY_HEAD - GET_COUNT: +#if ENABLE_INCLUDE_SUSv2 || ENABLE_FEATURE_FANCY_HEAD + GET_COUNT: #endif #if !ENABLE_FEATURE_FANCY_HEAD diff --git a/coreutils/tail.c b/coreutils/tail.c index 2182b09..b690b37 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c @@ -101,7 +101,7 @@ int tail_main(int argc, char **argv) char *s, *buf; const char *fmt; -#if !ENABLE_DEBUG_YANK_SUSv2 || ENABLE_FEATURE_FANCY_TAIL +#if ENABLE_INCLUDE_SUSv2 || ENABLE_FEATURE_FANCY_TAIL /* Allow legacy syntax of an initial numeric option without -n. */ if (argc >= 2 && (argv[1][0] == '+' || argv[1][0] == '-') && isdigit(argv[1][1]) @@ -121,7 +121,7 @@ int tail_main(int argc, char **argv) count_bytes = 1; /* FALLS THROUGH */ case 'n': -#if !ENABLE_DEBUG_YANK_SUSv2 || ENABLE_FEATURE_FANCY_TAIL +#if ENABLE_INCLUDE_SUSv2 || ENABLE_FEATURE_FANCY_TAIL GET_COUNT: #endif from_top = 0; |