Author: Stan Eisenstat
Subject: Re: [Cs323] how do we errno ELOOP
Date: Tuesday, 15 Sep 2020, 14:10:51
> Message Posted By: Unknown
>
> If the errno is ELOOP, should we fail and exit(0) or continue along with
> the traversal? ...
As stated in the revised specification
When fiend encounters an error, it writes a one-line message to stderr. If
the error is in a command-line argument (e.g., when stat() or lstat() fails
on the argument to -newer, but not when a FILENAME does not exist), it exits|
immediately; otherwise it continues execution (e.g., when opendir() fails it|
moves to the next file). |
=====
> ... Do we need to handle all the errno cases for lstat and stat?
Not explicitly.
--Stan-
PREV
INDEX
NEXT