提交 a99e5ccb 编写于 作者: G Guido Günther

don't abort if setlocale() fails

上级 94d61779
Thu Jan 29 12:44:15 CET 2009 Guido Günther <agx@sigxcpu.org>
* src/virsh.c (main): don't abort when setlocale() fails
Wed Jan 28 22:05:11 GMT 2009 Daniel P.Berrange <berrange@redhat.com>
* src/remote_internal.c: Fix typo, and tweak variable decl
......
......@@ -7001,7 +7001,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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册