diff options
| author | Paul Eggert | 2012-10-31 10:27:29 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-10-31 10:27:29 -0700 |
| commit | 322aea6ddf7ec7fd71410d98ec1de69f219aff3e (patch) | |
| tree | 5efe99d41566350e9793015cde6ebb656e1278e6 /src/ChangeLog | |
| parent | 220cb2bd70c65041417554cc2dc10edb4a53de5c (diff) | |
| download | emacs-322aea6ddf7ec7fd71410d98ec1de69f219aff3e.tar.gz emacs-322aea6ddf7ec7fd71410d98ec1de69f219aff3e.zip | |
Fix crash when using Emacs as commit editor for git.
* callproc.c (setpgrp): Remove macro, as we now use setpgid
and it is configured in conf_post.h.
(Fcall_process): Don't invoke both setsid and setpgid; the former
is enough, if it exists.
* callproc.c (Fcall_process, child_setup):
* process.c (create_process): Use setpgid.
* conf_post.h (setpgid) [!HAVE_SETPGID]: New macro, which substitutes
for the real thing.
* dispnew.c (init_display): Initialize the foreground group
if we are running a tty display.
* emacs.c (main): Do not worry about setpgrp; init_display does it now.
* lisp.h (init_foreground_group): New decl.
* sysdep.c (inherited_pgroup): New static var.
(init_foreground_group, tcsetpgrp_without_stopping)
(narrow_foreground_group, widen_foreground_group): New functions.
(init_sys_modes): Narrow foreground group.
(reset_sys_modes): Widen foreground group.
Fixes: debbugs:12697
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4edb3a7007b..4dc18b6909b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2012-10-31 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix crash when using Emacs as commit editor for git (Bug#12697). | ||
| 4 | * callproc.c (setpgrp): Remove macro, as we now use setpgid | ||
| 5 | and it is configured in conf_post.h. | ||
| 6 | (Fcall_process): Don't invoke both setsid and setpgid; the former | ||
| 7 | is enough, if it exists. | ||
| 8 | * callproc.c (Fcall_process, child_setup): | ||
| 9 | * process.c (create_process): Use setpgid. | ||
| 10 | * conf_post.h (setpgid) [!HAVE_SETPGID]: New macro, which substitutes | ||
| 11 | for the real thing. | ||
| 12 | * dispnew.c (init_display): Initialize the foreground group | ||
| 13 | if we are running a tty display. | ||
| 14 | * emacs.c (main): Do not worry about setpgrp; init_display does it now. | ||
| 15 | * lisp.h (init_foreground_group): New decl. | ||
| 16 | * sysdep.c (inherited_pgroup): New static var. | ||
| 17 | (init_foreground_group, tcsetpgrp_without_stopping) | ||
| 18 | (narrow_foreground_group, widen_foreground_group): New functions. | ||
| 19 | (init_sys_modes): Narrow foreground group. | ||
| 20 | (reset_sys_modes): Widen foreground group. | ||
| 21 | |||
| 1 | 2012-10-31 Michael Albinus <michael.albinus@gmx.de> | 22 | 2012-10-31 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 23 | ||
| 3 | * dbusbind.c: Fix cut'n'waste error. Use HAVE_DBUS_VALIDATE_INTERFACE. | 24 | * dbusbind.c: Fix cut'n'waste error. Use HAVE_DBUS_VALIDATE_INTERFACE. |