bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug#545422: coreutils: "tail -f -" fails


From: Jim Meyering
Subject: Re: Bug#545422: coreutils: "tail -f -" fails
Date: Mon, 07 Sep 2009 17:15:58 +0200

Giuseppe Scrivano wrote:
> Jim Meyering <address@hidden> 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 <address@hidden>
> 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.




reply via email to

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