aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2012-12-07 18:30:51 -0800
committerPaul Eggert2012-12-07 18:30:51 -0800
commitd983a10b9a070fd8f6d4f48ec44e5514b62feaa6 (patch)
tree1b7353b39c508615eb0d2cf4475fdfabf8ef6ce0 /src/ChangeLog
parent9cdde1e2dfdd7b1a4e52294bca1467dc7a48c77a (diff)
downloademacs-d983a10b9a070fd8f6d4f48ec44e5514b62feaa6.tar.gz
emacs-d983a10b9a070fd8f6d4f48ec44e5514b62feaa6.zip
Assume POSIX 1003.1-1988 or later for signal.h.
Exceptions: do not assume SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU, SIGUSR1, SIGUSR2, as Microsoft platforms lack these. * admin/CPP-DEFINES (SIGALRM, SIGCHLD, SIGHUP, SIGKILL, SIGPIPE, SIGQUIT): Remove. (SIGTRAP): Remove this one too, as config.h no longer defines it. * admin/merge-gnulib (GNULIB_MODULES): Add sig2str. * configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF): Use SIGCHLD rather than SIGCLD. * lib/sig2str.c, lib/sig2str.h, m4/sig2str.m4: New files, from gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/makefile.w32-in (GNULIBOBJS): Add $(BUILD)/sig2str.$(O). * src/process.c [subprocesses]: Include <c-ctype.h>, <sig2str.h>. (deleted_pid_list, Fdelete_process, create_process) (record_child_status_change, handle_child_signal, deliver_child_signal) (init_process_emacs, syms_of_process): Assume SIGCHLD is defined. (parse_signal): Remove. All uses removed. (abbr_to_signal): New static function. (Fsignal_process): Use it to convert signal names to ints. * src/sysdep.c (sys_suspend) [!DOS_NT]: Use kill (0, ...) rather than kill (getpgrp (), ...). (emacs_sigaction_init): Assume SIGCHLD is defined. (init_signals): Assume SIGALRM, SIGCHLD, SIGHUP, SIGKILL, SIGPIPE, and SIGQUIT are defined. Do not worry about SIGCLD any more. * src/syssignal.h (EMACS_KILLPG): Remove. All uses replaced by 'kill' with a negative pid. (SIGCHLD): Remove definition, as we now assume SIGCHLD. * src/w32proc.c (sys_kill): Support negative pids compatibly with POSIX. Fixes: debbugs:13026
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index edd6924af50..2b283a609e3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,26 @@
12012-12-08 Paul Eggert <eggert@cs.ucla.edu>
2
3 Assume POSIX 1003.1-1988 or later for signal.h (Bug#13026).
4 Exceptions: do not assume SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN,
5 SIGTTOU, SIGUSR1, SIGUSR2, as Microsoft platforms lack these.
6 * process.c [subprocesses]: Include <c-ctype.h>, <sig2str.h>.
7 (deleted_pid_list, Fdelete_process, create_process)
8 (record_child_status_change, handle_child_signal, deliver_child_signal)
9 (init_process_emacs, syms_of_process):
10 Assume SIGCHLD is defined.
11 (parse_signal): Remove. All uses removed.
12 (abbr_to_signal): New static function.
13 (Fsignal_process): Use it to convert signal names to ints.
14 * sysdep.c (sys_suspend) [!DOS_NT]: Use kill (0, ...) rather than
15 kill (getpgrp (), ...).
16 (emacs_sigaction_init): Assume SIGCHLD is defined.
17 (init_signals): Assume SIGALRM, SIGCHLD, SIGHUP, SIGKILL,
18 SIGPIPE, and SIGQUIT are defined. Do not worry about SIGCLD any more.
19 * syssignal.h (EMACS_KILLPG): Remove.
20 All uses replaced by 'kill' with a negative pid.
21 (SIGCHLD): Remove definition, as we now assume SIGCHLD.
22 * w32proc.c (sys_kill): Support negative pids compatibly with POSIX.
23
12012-12-07 Paul Eggert <eggert@cs.ucla.edu> 242012-12-07 Paul Eggert <eggert@cs.ucla.edu>
2 25
3 * sysdep.c (get_child_status): Abort on internal error (Bug#13086). 26 * sysdep.c (get_child_status): Abort on internal error (Bug#13086).