summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2007-09-18 18:39:42 +0000
committerBrian Cameron <bcameron@src.gnome.org>2007-09-18 18:39:42 +0000
commite1ec17e4a29ea7e2c4bd41983452c97dbb8d693c (patch)
tree85de48bc9365283d09d8af479914141e6fbfe159
parente883aca4c56f884797f24c0841b6d9c12e9315b7 (diff)
downloadgdm-e1ec17e4a29ea7e2c4bd41983452c97dbb8d693c.tar.gz
Set stdout/stderr to DEV_NULL when spawning at_spi_registryd and the
2007-09-17 Brian Cameron <brian.cameron@sun.com> * gui/gdmcommon.c: Set stdout/stderr to DEV_NULL when spawning at_spi_registryd and the prefetch program. This fixes a hanging problem reported in bug #473480. Patch by Huang Peng <shawn.p.huang@gmail.com> svn path=/trunk/; revision=5280
-rw-r--r--ChangeLog7
-rw-r--r--gui/gdmcommon.c8
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7857911e..11b354c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2007-09-17 Brian Cameron <brian.cameron@sun.com>
+ * gui/gdmcommon.c: Set stdout/stderr to DEV_NULL when spawning
+ at_spi_registryd and the prefetch program. This fixes a
+ hanging problem reported in bug #473480. Patch by
+ Huang Peng <shawn.p.huang@gmail.com>
+
+2007-09-17 Brian Cameron <brian.cameron@sun.com>
+
* configure.ac: Update to 2.21.0 to start next developer release.
2007-09-17 Brian Cameron <brian.cameron@sun.com>
diff --git a/gui/gdmcommon.c b/gui/gdmcommon.c
index ac3dc42d..17dcdb9e 100644
--- a/gui/gdmcommon.c
+++ b/gui/gdmcommon.c
@@ -681,7 +681,9 @@ pre_fetch_run (gpointer data)
g_spawn_async (".",
pre_fetch_prog_argv,
NULL,
- (GSpawnFlags) (G_SPAWN_SEARCH_PATH),
+ (GSpawnFlags) (G_SPAWN_SEARCH_PATH |
+ G_SPAWN_STDOUT_TO_DEV_NULL |
+ G_SPAWN_STDERR_TO_DEV_NULL),
NULL,
NULL,
&pid,
@@ -710,7 +712,9 @@ pre_atspi_launch (void){
g_spawn_async (".",
atspi_prog_argv,
NULL,
- (GSpawnFlags) (G_SPAWN_SEARCH_PATH),
+ (GSpawnFlags) (G_SPAWN_SEARCH_PATH |
+ G_SPAWN_STDOUT_TO_DEV_NULL |
+ G_SPAWN_STDERR_TO_DEV_NULL),
NULL,
NULL,
&pid,