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] |
Hi,
the function rewinddir() uses
_seekdir((dirp), (off_t)0);
The function _seekdir() is implemented in telldir.c. Here the offset is actually a hash table index. Since 0 is not a special case I doubt that the rewinddir() implementation is correct.
CU
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |