From 1e63d9354def113ef5ca3c1f7558eebf26fd22ea Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 26 Apr 2005 16:43:03 +0000 Subject: [PATCH] Remove posixver.h and its uses. (main): Don't complain about -NUM option. --- src/split.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/split.c b/src/split.c index e820eb8..c7fe9cb 100644 --- a/src/split.c +++ b/src/split.c @@ -34,7 +34,6 @@ #include "full-read.h" #include "full-write.h" #include "inttostr.h" -#include "posixver.h" #include "quote.h" #include "safe-read.h" #include "unistd-safer.h" @@ -510,14 +509,6 @@ main (int argc, char **argv) } } - if (digits_optind && 200112 <= posix2_version ()) - { - char buffer[INT_BUFSIZE_BOUND (uintmax_t)]; - char const *a = umaxtostr (n_units, buffer); - error (0, 0, _("`-%s' option is obsolete; use `-l %s'"), a, a); - usage (EXIT_FAILURE); - } - /* Handle default case. */ if (split_type == type_undef) { @@ -527,8 +518,6 @@ main (int argc, char **argv) if (n_units == 0) { - /* FIXME: be sure to remove this block when removing - support for obsolete options like `-10'. */ error (0, 0, _("invalid number of lines: 0")); usage (EXIT_FAILURE); } -- 2.7.4