diff options
Diffstat (limited to 'coreutils/tail.c')
-rw-r--r-- | coreutils/tail.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c index 1db1e2b..cc1517a 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c @@ -121,6 +121,7 @@ int tail_main(int argc, char **argv) char *s, *buf; const char *fmt; +#ifdef CONFIG_FEATURE_SUSv2 /* Allow legacy syntax of an initial numeric option without -n. */ if (argc >=2 && ((argv[1][0] == '+') || ((argv[1][0] == '-') /* && (isdigit)(argv[1][1]) */ @@ -130,6 +131,7 @@ int tail_main(int argc, char **argv) optarg = argv[1]; goto GET_COUNT; } +#endif while ((opt = getopt(argc, argv, tail_opts)) > 0) { switch (opt) { |