SVNews r332600

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-04-16 16:20:39 - r332600 by asomers (asomers)

Complete list of files affected by revision r332600:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/usr.bin/tail/reverse.c  
  History   Contents   Diff   MODIFY   /stable/11/usr.bin/tail/tests/tail_test.sh  

Commit 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

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 16 ms, 3 files printed. Current time is 2018-04-23 15:18:53. All times are in UTC/GMT.