(toplevel): Include errno.h.
+2001-02-13 Gerd Moellmann <gerd@gnu.org>
+
+ * dired.c (directory_files_internal): Initialize errno.
+ (toplevel): Include errno.h.
+
2001-02-12 Andrew Innes <andrewi@gnu.org>
The following changes are to draw box lines inside characters area
#include <sys/stat.h>
#include "systime.h"
+#include <errno.h>
#ifdef VMS
#include <string.h>
#endif /* not VMS */
/* Loop reading blocks until EOF or error. */
+ errno = 0;
while ((dp = readdir (d)) != NULL)
{
if (DIRENTRY_NONEMPTY (dp))