From: Jim Meyering Date: Tue, 22 Jul 1997 01:26:35 +0000 (+0000) Subject: (parse_obsolescent_option): #ifdef-out portability warning. X-Git-Tag: SH-UTILS-1_16d~42 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=afc73d862beb26d2fe28500d576cd7df2fd682e0;p=thirdparty%2Fcoreutils.git (parse_obsolescent_option): #ifdef-out portability warning. --- diff --git a/src/tail.c b/src/tail.c index 0ca26b62f9..c982c0a0b8 100644 --- a/src/tail.c +++ b/src/tail.c @@ -787,7 +787,7 @@ tail_file (const char *filename, off_t n_units, int filenum) else if (!S_ISREG (stats.st_mode)) { error (0, 0, - _("standard input: cannot follow end of non-regular file")); + _("standard input: cannot follow end of non-regular file")); errors = 1; } if (errors) @@ -993,10 +993,12 @@ option instead."), argv[1]); return 1; } +#if DISABLED /* FIXME: enable or remove this warning. */ error (0, 0, _("\ Warning: it is not portable to use two or more file arguments with\n\ tail's obsolescent option syntax (%s). Use the equivalent -n or -c\n\ option instead."), argv[1]); +#endif } /* Set globals. */