You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-cdr/xcdroast/files/io_progressbar_fix.patch

40 lines
806 B

--- 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");