summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-04 09:29:52 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-04 09:29:52 -0800
commit76abf5e5a55899a0b3f8851fce7406858978e9a6 (patch)
tree069cecbfb83e475d506397550e4146a0efc51757 /lisp/emacs-lisp/byte-run.el
parentf200a427ffaa22f71908bd78448dcb714a15c82d (diff)
downloademacs-76abf5e5a55899a0b3f8851fce7406858978e9a6.tar.gz
emacs-76abf5e5a55899a0b3f8851fce7406858978e9a6.tar.bz2
emacs-76abf5e5a55899a0b3f8851fce7406858978e9a6.zip
Fix data-loss with --version.
* emacs.c (close_output_streams): Use strerror, not emacs_strerror, as we can't assume that emacs_strerror is initialized, and strerror is good enough here. (main): Invoke atexit earlier, to catch earlier instances of sending data to stdout and exiting, e.g., "emacs --version >/dev/full". Fixes: debbugs:9574
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions