summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-22 01:26:35 +0000
committerJim Meyering <jim@meyering.net>1997-07-22 01:26:35 +0000
commitafc73d862beb26d2fe28500d576cd7df2fd682e0 (patch)
tree0b5c0540b473b509a90fb992c1a3dbbc191dbce1 /src/tail.c
parent9a1113585ff24e436fc07ba1ba5fd19f5ec49679 (diff)
downloadcoreutils-afc73d862beb26d2fe28500d576cd7df2fd682e0.tar.xz
(parse_obsolescent_option): #ifdef-out portability warning.
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c
index 0ca26b62f..c982c0a0b 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. */