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.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils