Viktor Dukhovni: > On Wed, Apr 22, 2015 at 01:50:31AM +0200, Matthias Andree wrote: > > > I would like to chime in here. I believe there is a misunderstanding of > > the API, IEEE Std 1003.1, 2013 Edition aka. The Open Group Base > > Specifications Issue 7 for readdir() explicitly state that on > > end-of-directory, errno is not changed, and applications that need to > > check for errors, should zero it beforehand. > > I also did not expect readdir() to preemptively clear errno.
Well I would just mention here that Postfix pre-dates IEEE Std X. Wietse