/[base]
ViewVC logotype

Revision 332610


Jump to revision: Previous Next
Author: asomers
Date: Mon Apr 16 16:42:16 2018 UTC (6 years, 2 months ago)
Changed paths: 3
Log Message:
MFC r329606:

tail: fix "tail -r" for piped input that begins with '\n'

A subtle logic bug, probably introduced in r311895, caused tail to print the
first two lines of piped input in forward order, if the very first character
was a newline.

PR:		222671
Reported by:	Jim Long <freebsd-bugzilla@umpquanet.com>, pprocacci@gmail.com
Sponsored by:	Spectra Logic Corp


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/usr.bin/tail/reverse.c modified , text changed
Directorystable/10/usr.bin/tail/tests/tail_test.sh modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27