]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(tac_file): When determining whether a file is seekable,
authorJim Meyering <jim@meyering.net>
Mon, 24 Oct 2005 16:07:36 +0000 (16:07 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 24 Oct 2005 16:07:36 +0000 (16:07 +0000)
commit91795f6fa29eac96e3a18d1c2198c66f3fca364a
tree19b919ae1d8f2e97e306eaff8f8b0c45bd6727f8
parentb9165cb37310af00f12be6b814dc97cd194c5107
(tac_file): When determining whether a file is seekable,
also test whether it is a tty.  Using only the lseek-based test would
give a false positive on Solaris.  Reported by Peter Fales.
src/tac.c