Re: svn commit: r303530 - head/lib/libc/gen

2016-07-30 Thread Andrey Chernov
On 30.07.2016 11:52, Bruce Evans wrote: > On Sat, 30 Jul 2016, Andrey Chernov wrote: > >> On 30.07.2016 7:15, Bruce Evans wrote: >>> On Sat, 30 Jul 2016, Andrey A. Chernov wrote: >>> Log: Reset errno for readdirfunc() before contunue. >>> >>> In C99, library functions are not permitted

Re: svn commit: r303530 - head/lib/libc/gen

2016-07-30 Thread Bruce Evans
On Sat, 30 Jul 2016, Andrey Chernov wrote: On 30.07.2016 7:15, Bruce Evans wrote: 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 (w

Re: svn commit: r303530 - head/lib/libc/gen

2016-07-29 Thread Andrey Chernov
On 30.07.2016 7:15, Bruce Evans wrote: > 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

Re: svn commit: r303530 - head/lib/libc/gen

2016-07-29 Thread Bruce Evans
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 differe

svn commit: r303530 - head/lib/libc/gen

2016-07-29 Thread Andrey A. Chernov
Author: ache Date: Sat Jul 30 02:09:11 2016 New Revision: 303530 URL: https://svnweb.freebsd.org/changeset/base/303530 Log: Reset errno for readdirfunc() before contunue. Modified: head/lib/libc/gen/glob.c Modified: head/lib/libc/gen/glob.c ===