Giuseppe Scrivano wrote: > Jim Meyering <j...@meyering.net> writes: > >> I considered that and discussed the >> trade-off in the comment I committed. >> There have been systems and configurations with >> nonexistent and unusable /dev/stdin files. > > sorry, I didn't read you comment. > > This patch changes `tail' to handle stdin separately from inotify > events, similar to what we are already doing when a --pid is specified. > > Regards, > Giuseppe > > >>From f3010bebf9e25be9a83868b4ad9db2cc6cb6613f Mon Sep 17 00:00:00 2001 > From: Giuseppe Scrivano <gscriv...@gnu.org> > Date: Mon, 7 Sep 2009 16:35:16 +0200 > Subject: [PATCH] tail: handle "-" properly > > * src/tail.c (tail_forever_inotify): Handle stdin (i.e., "-", but not > /dev/stdin) separately from inotify. > * tests/tail-2/wait: Ensure that when a stdin is watched, tail does not > raise errors.
Thanks! This sounds good in principle, but it's too invasive for 7.6. I'll look at it later. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org