aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2013-07-09 00:04:48 -0700
committerPaul Eggert2013-07-09 00:04:48 -0700
commit4ebbdd6712c1966406b40d2673464949775cbd7a (patch)
tree08667dd241629ca55c2c30ce19777bd7ec107cfa /src/ChangeLog
parent584ee3fc72260acb3cc83f4d1a047b733a08ca17 (diff)
downloademacs-4ebbdd6712c1966406b40d2673464949775cbd7a.tar.gz
emacs-4ebbdd6712c1966406b40d2673464949775cbd7a.zip
Handle errno and exit status a bit more carefully.
* lib/ignore-value.h: Remove this gnulib-imported file. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * admin/merge-gnulib (GNULIB_MODULES): Remove ignore-value. * src/callproc.c (child_setup) [!DOS_NT]: Don't try to stuff an error number into an exit status. Instead, use EXIT_CANCELED. (child_setup) [!MSDOS]: Avoid possible deadlock with vfork. * src/callproc.c (relocate_fd): * src/emacs.c (close_output_streams, main): * src/process.c (create_process): * src/sysdep.c (sys_subshell) [!DOS_NT || !WINDOWSNT]: Use emacs_perror for simplicity. * src/callproc.c (relocate_fd, main): * src/sysdep.c (sys_subshell): Exit with EXIT_CANCELED etc., not 1, when exec setup fails. (shut_down_emacs): Use emacs_write, not write. * src/emacs.c, src/sysdep.c: Don't include <ignore-value.h>. * src/fileio.c (Fcopy_file, e_write): * src/nsterm.m (ns_select): * src/process.c (send_process): * src/sound.c (vox_write): Use emacs_write_sig, not emacs_write. * src/lisp.h (emacs_write_sig, emacs_perror): New decls. * src/process.h (EXIT_CANCELED), EXIT_CANNOT_INVOKE, EXIT_ENOENT): New constants. * src/sysdep.c (emacs_backtrace): Use emacs_write, not ignore_value of write. (emacs_full_write): New function. (emacs_write): Rewrite to use it. (emacswrite_sig, emacs_perror): New functions. * src/xrdb.c (fatal): Don't invoke perror, since errno might be garbage.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9be0b59ee06..8b152f4a176 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,34 @@
12013-07-09 Paul Eggert <eggert@cs.ucla.edu>
2
3 Handle errno and exit status a bit more carefully.
4 * callproc.c (child_setup) [!DOS_NT]: Don't try to stuff an error
5 number into an exit status. Instead, use EXIT_CANCELED.
6 (child_setup) [!MSDOS]: Avoid possible deadlock with vfork.
7 * callproc.c (relocate_fd):
8 * emacs.c (close_output_streams, main):
9 * process.c (create_process):
10 * sysdep.c (sys_subshell) [!DOS_NT || !WINDOWSNT]:
11 Use emacs_perror for simplicity.
12 * callproc.c (relocate_fd, main):
13 * sysdep.c (sys_subshell):
14 Exit with EXIT_CANCELED etc., not 1, when exec setup fails.
15 (shut_down_emacs): Use emacs_write, not write.
16 * emacs.c, sysdep.c: Don't include <ignore-value.h>.
17 * fileio.c (Fcopy_file, e_write):
18 * nsterm.m (ns_select):
19 * process.c (send_process):
20 * sound.c (vox_write):
21 Use emacs_write_sig, not emacs_write.
22 * lisp.h (emacs_write_sig, emacs_perror): New decls.
23 * process.h (EXIT_CANCELED), EXIT_CANNOT_INVOKE, EXIT_ENOENT):
24 New constants.
25 * sysdep.c (emacs_backtrace): Use emacs_write, not ignore_value
26 of write.
27 (emacs_full_write): New function.
28 (emacs_write): Rewrite to use it.
29 (emacswrite_sig, emacs_perror): New functions.
30 * xrdb.c (fatal): Don't invoke perror, since errno might be garbage.
31
12013-07-08 Magnus Henoch <magnus.henoch@gmail.com> (tiny change). 322013-07-08 Magnus Henoch <magnus.henoch@gmail.com> (tiny change).
2 33
3 * image.c (imagemagick_load_image): Do not use MagickExportImagePixels 34 * image.c (imagemagick_load_image): Do not use MagickExportImagePixels