aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-07-17 19:12:59 -0700
committerPaul Eggert2013-07-17 19:12:59 -0700
commitf4b1eb36186a2f873d84d4c089292f9fb0394d31 (patch)
treeea6a4d904679b9f50026abb6dfab00f9b693eb6a /src/ChangeLog
parenta0931322f6c257bb4a4a678f62dcb4ae3b253221 (diff)
downloademacs-f4b1eb36186a2f873d84d4c089292f9fb0394d31.tar.gz
emacs-f4b1eb36186a2f873d84d4c089292f9fb0394d31.zip
* charset.c: Fix file descriptor leaks and errno issues.
Include <errno.h>. (load_charset_map_from_file): Don't leak file descriptor on error. Use plain record_xmalloc since the allocation is larger than MAX_ALLOCA; that's simpler here. Simplify test for exhaustion of entries. * eval.c (record_unwind_protect_nothing): * fileio.c (fclose_unwind): New functions. * lread.c (load_unwind): Remove. All uses replaced by fclose_unwind. The replacement doesn't block input, but that no longer seems necessary.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 189a353bde6..3f667a7bcc7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,18 @@
12013-07-18 Paul Eggert <eggert@cs.ucla.edu>
2
3 * charset.c: Fix file descriptor leaks and errno issues.
4 Include <errno.h>.
5 (load_charset_map_from_file): Don't leak file descriptor on error.
6 Use plain record_xmalloc since the allocation is larger than
7 MAX_ALLOCA; that's simpler here. Simplify test for exhaustion
8 of entries.
9 * eval.c (record_unwind_protect_nothing):
10 * fileio.c (fclose_unwind):
11 New functions.
12 * lread.c (load_unwind): Remove. All uses replaced by fclose_unwind.
13 The replacement doesn't block input, but that no longer seems
14 necessary.
15
12013-07-17 Paul Eggert <eggert@cs.ucla.edu> 162013-07-17 Paul Eggert <eggert@cs.ucla.edu>
2 17
3 * lread.c: Fix file descriptor leaks and errno issues. 18 * lread.c: Fix file descriptor leaks and errno issues.