Brian Somers c2d844d814 If we read zero bytes from the directory, early out with ENOENT
rather than forging ahead and interpreting garbage buffer content
and dirent structures.

This change backs out r211684 which was essentially a no-op.

MFC after:	1 week
2010-08-25 18:09:51 +00:00
..
2010-06-28 18:17:21 +00:00
2010-08-06 09:44:01 +00:00
2010-08-19 16:41:27 +00:00
2010-07-09 10:57:55 +00:00
2010-06-28 18:17:21 +00:00
2010-01-04 20:59:52 +00:00
2009-05-26 09:19:21 +00:00
2010-06-26 21:44:45 +00:00