On Sat, 30 Jul 2016, Andrey A. Chernov wrote: > Log: > Reset errno for readdirfunc() before contunue. In C99, library functions are not permitted to set errno to 0. The glob() family shouldn't use a different (worse) convention, and POSIX doesn't seem to have any special wording to allow different behaviour. Bruce