diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-01-31 10:05:10 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-01-31 10:05:10 +0200 |
commit | 376ba20ac1f516361fc9c2b0267fbc5c131e4822 (patch) | |
tree | 517c8456e32c47aff752b0cad9b226bdc79f5526 /src/dired.c | |
parent | 512cdb9f2ba6dde0c24bfed13d095ea37e38a6ec (diff) | |
download | emacs-376ba20ac1f516361fc9c2b0267fbc5c131e4822.tar.gz emacs-376ba20ac1f516361fc9c2b0267fbc5c131e4822.tar.bz2 emacs-376ba20ac1f516361fc9c2b0267fbc5c131e4822.zip |
Fix last commit, which confused WINDOWSNT with MSDOS.
src/dired.c (read_dirent): Correct the "MSDOS hacks" hack: the
special code for errno = ENOENT or EACCES is needed for WINDOWSNT,
not for MSDOS.
Diffstat (limited to 'src/dired.c')
-rw-r--r-- | src/dired.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c index 931279a0764..5038e04cd01 100644 --- a/src/dired.c +++ b/src/dired.c @@ -137,7 +137,7 @@ read_dirent (DIR *dir, Lisp_Object dirname) return dp; if (! (errno == EAGAIN || errno == EINTR)) { -#ifdef MSDOS +#ifdef WINDOWSNT /* The MS-Windows implementation of 'opendir' doesn't actually open a directory until the first call to 'readdir'. If 'readdir' fails to open the directory, it |