1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00

(directory_files_internal): Initialize errno.

(toplevel): Include errno.h.
This commit is contained in:
Gerd Moellmann 2001-02-13 15:14:22 +00:00
parent e9fcba3d59
commit 7cc9f69fd9
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */
#include <sys/stat.h>
#include "systime.h"
#include <errno.h>
#ifdef VMS
#include <string.h>
@ -208,6 +209,7 @@ directory_files_internal (directory, full, match, nosort, attrs)
#endif /* not VMS */
/* Loop reading blocks until EOF or error. */
errno = 0;
while ((dp = readdir (d)) != NULL)
{
if (DIRENTRY_NONEMPTY (dp))