search for: a25e9e7

Displaying 1 result from an estimated 1 matches for "a25e9e7".

Did you mean: a2509d7
2009 Oct 21
1
[PATCH] Set LC_ALL=C before running qemu.
...p 17 00:00:00 2001 From: Richard Jones <rjones at redhat.com> Date: Wed, 21 Oct 2009 16:31:26 +0100 Subject: [PATCH] Set LC_ALL=C before running qemu. --- src/guestfs.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/guestfs.c b/src/guestfs.c index e49f57a..a25e9e7 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -1195,6 +1195,8 @@ guestfs__launch (guestfs_h *g) setpgid (0, 0); #endif + setenv ("LC_ALL", "C", 1); + execv (g->qemu, g->cmdline); /* Run qemu. */ perror (g->qemu); _exit (1); @@ -1486,7 +1488...