[Top ][All Lists ]
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: inotify back end for tail -f on linux
From :
Jim Meyering
Subject :
Re: inotify back end for tail -f on linux
Date :
Sat, 06 Jun 2009 11:52:44 +0200
Giuseppe Scrivano wrote:
...
> I think the exit (EXIT_FAILURE) should be included in the if:
>
> if (0 <= wd)
> {
> tail_forever_inotify (wd, F, n_files);
> exit (EXIT_FAILURE);
> }
>
> The inotify_init () call can fail if the inotify support is not present
> at runtime, and in this case it is a good idea to use polling instead of
> exit immediately. Do you agree?
Yes. Thanks.
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/02
Re: inotify back end for tail -f on linux , Giuseppe Scrivano , 2009/06/02
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/03
Re: inotify back end for tail -f on linux , Giuseppe Scrivano , 2009/06/04
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/04
Re: inotify back end for tail -f on linux , Giuseppe Scrivano , 2009/06/04
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/06
Re: inotify back end for tail -f on linux , Giuseppe Scrivano , 2009/06/06
Re: inotify back end for tail -f on linux ,
Jim Meyering <=
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/06
Re: inotify back end for tail -f on linux , Giuseppe Scrivano , 2009/06/06
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/06
Re: inotify back end for tail -f on linux , Giuseppe Scrivano , 2009/06/07
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/07
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/07
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/11
Re: inotify back end for tail -f on linux , Giuseppe Scrivano , 2009/06/11
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/11
Re: inotify back end for tail -f on linux , Jim Meyering , 2009/06/13