bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tail -f does lseek on fifos


From: tigger
Subject: tail -f does lseek on fifos
Date: Sun, 18 Jul 2004 14:15:38 +0000
User-agent: Mutt/1.5.6i

address@hidden rob $ echo foo|tail -f
foo
tail: standard input: file truncated
tail: standard input: cannot seek to offset 0: Illegal seek

The attached patch fixes this behaviour and allows tail to read from
fifos properly without dieing.

Cheers,

Rob

-- 
rob holland - [ address@hidden ]
[ 5251 4FAC D684 8845 5604  E44F D65C 392F D91B 4729 ]

Attachment: tail.patch
Description: Text document

Attachment: pgpQ31Oho4nlR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]