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/ChangeLog | |
| 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/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 96e6aa25d5e..029ac88a28f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2015-01-29 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Report readdir failures | ||
| 4 | Previously, on non-MS-Windows platforms the code treated most | ||
| 5 | readdir failures as EOF. This was incorrect, e.g., when readdir | ||
| 6 | fails with errno == EOVERFLOW. Signal an error instead. | ||
| 7 | * dired.c (read_dirent): | ||
| 8 | New function, which signals an error when readdir fails. | ||
| 9 | (directory_files_internal, file_name_completion): Use it. | ||
| 10 | |||
| 1 | 2015-01-29 Eli Zaretskii <eliz@gnu.org> | 11 | 2015-01-29 Eli Zaretskii <eliz@gnu.org> |
| 2 | 12 | ||
| 3 | * dired.c (directory_files_internal, file_name_completion) | 13 | * dired.c (directory_files_internal, file_name_completion) |