summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-07-17 19:12:59 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-07-17 19:12:59 -0700
commitf4b1eb36186a2f873d84d4c089292f9fb0394d31 (patch)
treeea6a4d904679b9f50026abb6dfab00f9b693eb6a /lisp/emacs-lisp/lisp.el
parenta0931322f6c257bb4a4a678f62dcb4ae3b253221 (diff)
downloademacs-f4b1eb36186a2f873d84d4c089292f9fb0394d31.tar.gz
emacs-f4b1eb36186a2f873d84d4c089292f9fb0394d31.tar.bz2
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 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions