This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

readdir and d_ino set to 0


Hello,

In newlib-1.17.0 used in RTEMS I see readdir has this code:

    if (dp->d_ino == 0)
        continue;

It would seem to me an ino of 0 is not allowed. Does anyone know why 0 is handled this way ?

Regards
Chris


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