diff options
| author | Paul Eggert | 2013-07-17 10:24:54 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-07-17 10:24:54 -0700 |
| commit | a0931322f6c257bb4a4a678f62dcb4ae3b253221 (patch) | |
| tree | 2c597df44098b26fb66026354ef17738ee922635 /src/ChangeLog | |
| parent | 5dc8a629877b040a5dd5904815ed885949614948 (diff) | |
| download | emacs-a0931322f6c257bb4a4a678f62dcb4ae3b253221.tar.gz emacs-a0931322f6c257bb4a4a678f62dcb4ae3b253221.zip | |
* lread.c: Fix file descriptor leaks and errno issues.
(Fload): Close some races that leaked fds or streams when 'load'
was interrupted.
(Fload, openp): Report error number of last nontrivial failure to open.
ENOENT counts as trivial.
* eval.c (do_nothing, clear_unwind_protect, set_unwind_protect_ptr):
New functions.
* fileio.c (close_file_unwind): No need to test whether FD is nonnegative,
now that the function is always called with a nonnegative arg.
* lisp.h (set_unwind_protect_ptr, set_unwind_protect_int): Remove.
All uses replaced with ...
(clear_unwind_protect, set_unwind_protect_ptr): New decls.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 23334449ef3..189a353bde6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | 2013-07-17 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-07-17 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * lread.c: Fix file descriptor leaks and errno issues. | ||
| 4 | (Fload): Close some races that leaked fds or streams when 'load' | ||
| 5 | was interrupted. | ||
| 6 | (Fload, openp): Report error number of last nontrivial failure to open. | ||
| 7 | ENOENT counts as trivial. | ||
| 8 | * eval.c (do_nothing, clear_unwind_protect, set_unwind_protect_ptr): | ||
| 9 | New functions. | ||
| 10 | * fileio.c (close_file_unwind): No need to test whether FD is nonnegative, | ||
| 11 | now that the function is always called with a nonnegative arg. | ||
| 12 | * lisp.h (set_unwind_protect_ptr, set_unwind_protect_int): Remove. | ||
| 13 | All uses replaced with ... | ||
| 14 | (clear_unwind_protect, set_unwind_protect_ptr): New decls. | ||
| 15 | |||
| 3 | A few more minor file errno-reporting bugs. | 16 | A few more minor file errno-reporting bugs. |
| 4 | * callproc.c (Fcall_process): | 17 | * callproc.c (Fcall_process): |
| 5 | * doc.c (Fsnarf_documentation): | 18 | * doc.c (Fsnarf_documentation): |