K 10 svn:author V 3 kib K 8 svn:date V 27 2008-05-19T11:43:36.000000Z K 7 svn:log V 499 MFC rev. 1.15 of lib/libc/gen/readdir.c rev. 1.11 of lib/libc/gen/telldir.c rev. 1.3 of lib/libc/gen/telldir.h Do not read away the target directory entry when encountering deleted files after a seekdir(). The seekdir shall set the position for the next readdir operation. When the _readdir_unlocked() encounters deleted entry, dd_loc is already advanced. Continuing the loop leads to premature read of the target entry. Submitted by: Marc Balmer Obtained from: OpenBSD END