[libvirt] [PATCH] Be more clever and verbose about localization-initialization.

Daniel P. Berrange berrange at redhat.com
Mon Oct 7 16:24:45 UTC 2013


On Mon, Oct 07, 2013 at 06:09:21PM +0200, andreas.fuchs at sit.fraunhofer.de wrote:
> I should have been more specific. If e.g. an LC_MESSAGE is
> set that cannot be found it returns "initialization failed"
> and nothing more... See the bug report.Spent >1h this morning
> trying to get some demonstrator running... So I thought rather
> share it...

You mean if it is set to a language code which is invalid ?

I think that should just print a suitable error message
and then exit, rather than just switching to C locale

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list