diff options
author | Jim Meyering <meyering@redhat.com> | 2009-09-08 08:26:22 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-09-08 13:30:38 +0200 |
commit | f0ff8c73fe8ae505d2029e905b23ac534d11990c (patch) | |
tree | 5fc18422e8764f5431adfd72a484a4dd1088fb9f /NEWS | |
parent | e8591fd39f70932d40e9a6ddd4e607a89a3162f2 (diff) | |
download | coreutils-f0ff8c73fe8ae505d2029e905b23ac534d11990c.tar.xz |
tail: make the new piped-stdin test as portable as the old one
* src/tail.c (main): Adapt piped-stdin test to use the same isapipe,
test as was used in the preceding POSIXLY_CORRECT condition.
Remove the now-subsumed POSIXLY_CORRECT test.
Reported by Pádraig Brady.
* doc/coreutils.texi (tail invocation): Document this change.
* NEWS (Changes in behavior): Reclassify, clarify.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -46,11 +46,13 @@ GNU coreutils NEWS -*- outline -*- cp --reflink accepts a new "auto" parameter which falls back to a standard copy if creating a copy-on-write clone is not possible. -** POSIX conformance +** Changes in behavior - tail -f now ignores "-" when stdin is a pipe or FIFO, per POSIX. - Now, :|tail -f terminates immediately. Before, it would block indefinitely. - [the old behavior dates back to the original implementation] + tail -f now ignores "-" when stdin is a pipe or FIFO. + tail-with-no-args now ignores -f unconditionally when stdin is a pipe or FIFO. + Before, it would ignore -f only when no file argument was specified, + and then only when POSIXLY_CORRECT was set. Now, :|tail -f - terminates + immediately. Before, it would block indefinitely. * Noteworthy changes in release 7.5 (2009-08-20) [stable] |