Konstantin Belousov 90c68c1799 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 <mbalmer at openbsd org>
Obtained from:	OpenBSD
MFC after:	2 weeks
2008-05-05 14:05:23 +00:00
..
2005-01-20 09:17:07 +00:00
2007-04-03 18:35:20 +00:00
2005-01-20 09:17:07 +00:00
2005-02-06 03:23:31 +00:00
2004-07-02 23:52:20 +00:00
2005-11-23 15:41:36 +00:00
2007-02-11 18:14:49 +00:00
2007-04-05 21:17:52 +00:00
2005-02-06 03:23:31 +00:00
2005-01-20 09:17:07 +00:00
2005-01-20 09:17:07 +00:00
2004-07-02 16:45:56 +00:00
2004-07-02 16:45:56 +00:00
2008-03-13 10:26:17 +00:00
2008-03-13 10:25:30 +00:00
2007-01-20 08:24:02 +00:00
2005-02-13 23:45:54 +00:00
2004-07-03 22:30:10 +00:00
2007-10-30 15:26:20 +00:00
2006-04-18 21:37:24 +00:00
2004-06-30 13:55:08 +00:00