diff options
| author | Paul Eggert | 2015-01-29 15:32:15 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-29 15:33:20 -0800 |
| commit | 4ab6e74a1c76cd3a3c2e57aa48e853385365b423 (patch) | |
| tree | 3cb6fc023416f5b00a0212f188a0d6ee0e87003a /src/coding.c | |
| parent | eadf313c72edcc3a11b9d03032699416efebfe1a (diff) | |
| download | emacs-4ab6e74a1c76cd3a3c2e57aa48e853385365b423.tar.gz emacs-4ab6e74a1c76cd3a3c2e57aa48e853385365b423.zip | |
Report readdir failures
Previously, on non-MS-Windows platforms the code treated most
readdir failures as EOF. This was incorrect, e.g., when readdir
fails with errno == EOVERFLOW. Signal an error instead.
* dired.c (read_dirent):
New function, which signals an error when readdir fails.
(directory_files_internal, file_name_completion): Use it.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions