diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-26 16:43:33 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-04-26 16:43:33 +0000 |
commit | c360992faf6abd14a1bee6b85a11220bdfc7ba3e (patch) | |
tree | bba20aeb562b0a2a03bcd586c68a127cb21cce72 | |
parent | 369458974f33defb16c1841349ed69d75ea0b68f (diff) | |
download | coreutils-c360992faf6abd14a1bee6b85a11220bdfc7ba3e.tar.xz |
Remove posixver.h and its uses.
(main): Don't complain about -TAB.
-rw-r--r-- | src/unexpand.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/unexpand.c b/src/unexpand.c index 9b3a07163..0238a20bd 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -41,7 +41,6 @@ #include <sys/types.h> #include "system.h" #include "error.h" -#include "posixver.h" #include "quote.h" #include "xstrndup.h" @@ -469,8 +468,6 @@ main (int argc, char **argv) so that only leading blanks will be considered. */ bool convert_first_only = false; - bool obsolete_tablist = false; - initialize_main (&argc, &argv); program_name = argv[0]; setlocale (LC_ALL, ""); @@ -506,7 +503,6 @@ main (int argc, char **argv) if (have_tabval) add_tab_stop (tabval); have_tabval = false; - obsolete_tablist = true; break; case_GETOPT_HELP_CHAR; case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); @@ -516,22 +512,12 @@ main (int argc, char **argv) tabval = 0; have_tabval = true; } - { - if (!DECIMAL_DIGIT_ACCUMULATE (tabval, c - '0', UINTMAX_MAX)) - error (EXIT_FAILURE, 0, _("tab stop value is too large")); - } - obsolete_tablist = true; + if (!DECIMAL_DIGIT_ACCUMULATE (tabval, c - '0', UINTMAX_MAX)) + error (EXIT_FAILURE, 0, _("tab stop value is too large")); break; } } - if (obsolete_tablist && 200112 <= posix2_version ()) - { - error (0, 0, - _("`-LIST' option is obsolete; use `--first-only -t LIST'")); - usage (EXIT_FAILURE); - } - if (convert_first_only) convert_entire_line = false; |