diff options
| author | Paul Eggert | 2012-11-04 09:29:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2012-11-04 09:29:52 -0800 |
| commit | 76abf5e5a55899a0b3f8851fce7406858978e9a6 (patch) | |
| tree | 069cecbfb83e475d506397550e4146a0efc51757 /etc/srecode/doc-java.srt | |
| parent | f200a427ffaa22f71908bd78448dcb714a15c82d (diff) | |
| download | emacs-76abf5e5a55899a0b3f8851fce7406858978e9a6.tar.gz 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 'etc/srecode/doc-java.srt')
0 files changed, 0 insertions, 0 deletions