2019-07-18 12:08:54 +0000, Austin Group Bug Tracker: [...] > If we add GLOB_NOCHECK as suggested to reduce the difference between using > glob()+execvp() and executing "ls -ld -- *.c" in the shell, then we should > add GLOB_ERR as well. [...]
Why GLOB_ERR? The shell does silently ignore directory open and read errors when expanding globs. In ls -ld -- *.c The shell would run ls with a literal *.c as argument without giving any warning when the current directory is not readable. -- Stephane
