SVNews r332610

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

2018-04-16 16:42:16 - r332610 by asomers (asomers)

Complete list of files affected by revision r332610:

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

   Contents     MODIFY   /stable/10  
  History   Contents   Diff   MODIFY   /stable/10/usr.bin/tail/reverse.c  
  History   Contents   Diff   MODIFY   /stable/10/usr.bin/tail/tests/  

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 <>,
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:12:10. All times are in UTC/GMT.