aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorEli Zaretskii2015-01-28 19:42:28 +0200
committerEli Zaretskii2015-01-28 19:42:28 +0200
commitad588afdaa166bcdacbf9f746bd4d39b2c649768 (patch)
treec3562982b7a711957cc43a87163e8ca791aa9dab /src/coding.c
parentba10f4b56081d0f5069720c9ce0871e819b904f5 (diff)
downloademacs-ad588afdaa166bcdacbf9f746bd4d39b2c649768.tar.gz
emacs-ad588afdaa166bcdacbf9f746bd4d39b2c649768.zip
Improve the fix for bug #19701
src/dired.c (directory_files_internal, file_name_completion) [WINDOWSNT]: Signal an error when errno is set non-zero by 'readdir', regardless of its value. src/w32.c (sys_readdir): Set errno to ENOENT when the directory doesn't exist and to EACCES when it's not accessible to the current user. Set errno to zero when FindNextFile exhausts the directory, so that callers don't interpret that as an error and don't signal a file-error. (open_unc_volume): Set errno to ENOENT if WNetOpenEnum fails.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions