[Pkg-libvirt-commits] [SCM] Libvirt debian packaging branch, experimental, updated. debian/0.5.1-4-4-gc2bc996

Guido Günther agx at sigxcpu.org
Fri Jan 30 22:23:43 UTC 2009


The following commit has been merged in the experimental branch:
commit d4a69d1f3f14753f71a7c0ad7b67950439e7fb85
Author: Guido Günther <agx at sigxcpu.org>
Date:   Fri Jan 30 22:35:56 2009 +0100

    don't fail on missing locales
    
    Closes: #512721

diff --git a/debian/patches/0007-don-t-fail-on-missing-locales.patch b/debian/patches/0007-don-t-fail-on-missing-locales.patch
new file mode 100644
index 0000000..e397e06
--- /dev/null
+++ b/debian/patches/0007-don-t-fail-on-missing-locales.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Fri, 23 Jan 2009 16:25:33 +0100
+Subject: [PATCH] don't fail on missing locales
+
+Closes: #512721
+---
+ src/virsh.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/virsh.c b/src/virsh.c
+index 2b05793..5e39b48 100644
+--- a/src/virsh.c
++++ b/src/virsh.c
+@@ -7078,7 +7078,7 @@ main(int argc, char **argv)
+ 
+     if (!setlocale(LC_ALL, "")) {
+         perror("setlocale");
+-        return -1;
++        /* failure to setup locale is not fatal */
+     }
+     if (!bindtextdomain(GETTEXT_PACKAGE, LOCALEBASEDIR)) {
+         perror("bindtextdomain");
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index f2e7536..cf63a0f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Open-qemu-monitor-log-O_APPEND-instead-of-O_TRUNC.patch
 0005-qemu-fix-parallel-serial-mode-tcp-and-unix.patch
 0006-Fix-missing-read-only-access-checks-CVE-2008-5086.patch
+0007-don-t-fail-on-missing-locales.patch

-- 
Libvirt debian packaging



More information about the Pkg-libvirt-commits mailing list