This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: readdir may not modify errno at EOF


Andreas Schwab <schwab@suse.de> writes:

> When readdir returns NULL it is supposed to keep errno unmodified when EOF
> was reached (and no error occured).  But __getdents may be changing it
> even when sucessfull, so we need to save its value around the call.

This is ok and in accordance with the Austin Draft (just checked),
please commit,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]