summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-26 16:43:03 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-26 16:43:03 +0000
commit1e63d9354def113ef5ca3c1f7558eebf26fd22ea (patch)
tree6010a41fb4ab567ae4b8ca7fdc6a5f4005539496
parentaa9faf52c49936747ec4017bcf35261774ba9655 (diff)
downloadcoreutils-1e63d9354def113ef5ca3c1f7558eebf26fd22ea.tar.xz
Remove posixver.h and its uses.
(main): Don't complain about -NUM option.
-rw-r--r--src/split.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/split.c b/src/split.c
index e820eb83b..c7fe9cbdb 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);
}