[gnome-builder] makecache: explicitely clear fdcopy
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] makecache: explicitely clear fdcopy
- Date: Sat, 3 Oct 2015 23:40:08 +0000 (UTC)
commit 43bac6d1b541dd2613d2e0aaae185b9c15fa61a7
Author: Christian Hergert <christian hergert me>
Date: Sat Oct 3 16:40:00 2015 -0700
makecache: explicitely clear fdcopy
For the children.
plugins/autotools/ide-makecache.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/autotools/ide-makecache.c b/plugins/autotools/ide-makecache.c
index 0760976..c224fe8 100644
--- a/plugins/autotools/ide-makecache.c
+++ b/plugins/autotools/ide-makecache.c
@@ -607,6 +607,7 @@ ide_makecache_new_worker (GTask *task,
g_subprocess_launcher_set_cwd (launcher, workdir);
g_subprocess_launcher_take_stdout_fd (launcher, fdcopy);
subprocess = g_subprocess_launcher_spawn (launcher, &error, GNU_MAKE_NAME, "-p", "-n", "-s", NULL);
+ fdcopy = -1;
if (!subprocess)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]