aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c')
-rw-r--r--sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c b/sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c
new file mode 100644
index 000000000000..9272d918136c
--- /dev/null
+++ b/sysutils/gnomesystemtools/files/patch-src_common_gst-auth.c
@@ -0,0 +1,18 @@
+--- src/common/gst-auth.c.orig Thu Mar 10 14:39:18 2005
++++ src/common/gst-auth.c Thu Mar 10 14:39:50 2005
+@@ -142,12 +142,12 @@ gst_auth_run_term (GstTool *tool, gchar
+ unsetenv("LANG");
+ unsetenv("LANGUAGE");
+
+- dup2 (p[1], 1);
+- dup2 (p[1], 2);
++ dup2 (p[1], STDOUT_FILENO);
++ /*dup2 (p[1], 2);*/
+ close (p[0]);
+
+ execv (args[0], args);
+- exit (255);
++ _exit (255);
+ } else {
+ #ifndef __FreeBSD__
+ /* Linux's su works ok with echo disabling */