C de-Avillez wrote:
> 
> Sorry for the delay, got busy. I just built & make check, and got two
> errors.
> 
> First one is here, I will re-run the second error by itself in a few.
> 
> Running on Ubuntu 9.10 (kernel 2.6.31.5 with Ubuntu mods, libc6
> 2.10.1-0ubuntu6).
> 
> FAIL: tail-2/pid

> + tail --pid=2147483647 -f /dev/null
> + fail=1

> + timeout 1 tail -s.1 -f /dev/null --pid=2147483647
> + test 1 = 124

So tail silently returns with 1 immediately.
The only way I can see this happening is in tail_forever_inotify() at:

  if (follow_mode == Follow_descriptor && !found_watchable)
    return;

We should probably issue an error() at that point in any case.

I'd better try and pay attention in this meeting ;)

cheers,
Pádraig.



Reply via email to