aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorXue Fuqiao2013-06-12 20:12:47 +0800
committerXue Fuqiao2013-06-12 20:12:47 +0800
commit6186a2767fcae48a43675dabc457ed2b2177b884 (patch)
tree8eb823df7cbd64d9bf9201c03cadd89fe1e441ac /src/process.c
parent8d0b26f65d9d4cf52a11a273073cd52fb1feaf13 (diff)
parent5f9dbd7a1241239b5376435e96fbd9dbfa65e0f5 (diff)
downloademacs-6186a2767fcae48a43675dabc457ed2b2177b884.tar.gz
emacs-6186a2767fcae48a43675dabc457ed2b2177b884.zip
Merge from mainline.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index e51b45bd64f..a873dd0cdb2 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7068,9 +7068,10 @@ init_process_emacs (void)
7068#endif 7068#endif
7069 { 7069 {
7070#if defined HAVE_GLIB && !defined WINDOWSNT 7070#if defined HAVE_GLIB && !defined WINDOWSNT
7071 /* Tickle glib's child-handling code so that it initializes its 7071 /* Tickle glib's child-handling code. Ask glib to wait for Emacs itself;
7072 this should always fail, but is enough to initialize glib's
7072 private SIGCHLD handler. */ 7073 private SIGCHLD handler. */
7073 g_source_unref (g_child_watch_source_new (0)); 7074 g_source_unref (g_child_watch_source_new (getpid ()));
7074#endif 7075#endif
7075 catch_child_signal (); 7076 catch_child_signal ();
7076 } 7077 }