]> Savannah Git Hosting - gnulib.git/commit
fts, savedir: avoid glibc 2.2 readdir ENOENT bug
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Jan 2025 18:17:21 +0000 (10:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Jan 2025 18:18:05 +0000 (10:18 -0800)
commit5a2d28dfb0bd327a491bf4eaea41ea861d43d771
treeb7458e0430fe44db628e6070a0b4da3371a1cd3a
parent54636e00ee0fb69518b8eb3a111a6c566cc11bde
fts, savedir: avoid glibc 2.2 readdir ENOENT bug

This is mostly to document the bug.
If these old platforms were still common I suppose we should
change the readdir module to work around it.  However, I’m not
sure it’s worth the hassle at this point.
* doc/posix-functions/readdir.texi, doc/posix-functions/readdir_r.texi:
Document the bug.
* lib/fts.c (fts_build):
* lib/savedir.c (streamsavedir):
Work around it.
ChangeLog
doc/posix-functions/readdir.texi
doc/posix-functions/readdir_r.texi
lib/fts.c
lib/savedir.c