projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da88a1
)
GSubprocessLauncher: don't get empty environment
author
Ryan Lortie
<desrt@desrt.ca>
Tue, 4 Mar 2014 13:55:00 +0000
(08:55 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Tue, 4 Mar 2014 13:55:00 +0000
(08:55 -0500)
Use g_get_environ() to get the environment variables with their values
instead of g_listenv() which only lists off the keys.
https://bugzilla.gnome.org/show_bug.cgi?id=725651
gio/gsubprocesslauncher.c
patch
|
blob
|
history
diff --git
a/gio/gsubprocesslauncher.c
b/gio/gsubprocesslauncher.c
index
b61fc58
..
c40d17d
100644
(file)
--- a/
gio/gsubprocesslauncher.c
+++ b/
gio/gsubprocesslauncher.c
@@
-174,7
+174,7
@@
g_subprocess_launcher_finalize (GObject *object)
static void
g_subprocess_launcher_init (GSubprocessLauncher *self)
{
- self->envp = g_
listenv
();
+ self->envp = g_
get_environ
();
#ifdef G_OS_UNIX
self->stdin_fd = -1;