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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with bug-readdir1


I'm not sure about that test.  POSIX.1 does not require that readdir return
EBADF, it's an "if detected" error.  No valid POSIX.1 program can pass a
bad argument to readdir.  For any case but null, such as after you've
called closedir, it's as liable to crash as to notice it.


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