summaryrefslogtreecommitdiff
blob: 745af45d7e7385a9fca5c7ee63966e807bce9c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- a/src/io.c.last	So. Jan 24 19:18:45 2010
+++ b/src/io.c	Fr. Jul 16 10:59:32 2010
@@ -3202,6 +3202,8 @@
			close(fd2[1]);
		}

+		g_setenv("LC_ALL", "C", TRUE);
+
		/* startup child */
		if (execl("/bin/sh", "sh", "-c", cmd ,(void *)NULL) < 0) {
			g_error("execl error\n");
@@ -3402,6 +3404,8 @@
			close(fd3[1]);
		}

+		g_setenv("LC_ALL", "C", TRUE);
+
		/* startup child */
		if (execv(callpath,arglist) < 0) {
			g_error("execv error\n");
@@ -3506,6 +3510,8 @@
			close(pipefd[1]); 
		} 

+		g_setenv("LC_ALL", "C", TRUE);
+
		/* startup first child */
		if (execv(callpath,arglist) < 0) {
			g_error("execv error\n");
@@ -3568,6 +3574,8 @@
			close(fd3[1]);
		}

+		g_setenv("LC_ALL", "C", TRUE);
+
		/* startup second child */
		if (execv(callpath2,arglist2) < 0) {
			g_error("execv error\n");