2019-07-30 20:18:43 +0700, Robert Elz:
[...]
> If a sys call executed by glob while searching fails, then it should treat
> that exactly the same as ENOENT (the thing simply doesn't exist for glob
> purposes) and continue with whatever is next.
[...]

While I generally agree for bugid:1275 -- for shell globs or
glob() without GLOB_ERR (though I wouldn't object to allowing
implementations to report some errors like ENFILE/EFAULT/ENOMEM;
not that any does ATM), it's a different matter for glob() with
the GLOB_ERR flag in bugid:1273 discussed in this thread which
is explicitly meant to report errors (and before you ask, no, I
don't know of any application that uses that API. Does anyone?).

-- 
Stephane

Reply via email to