]> git.saurik.com Git - apt.git/commit
ignore std::locale exeception on non-existent "" locale
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 2 Jun 2016 10:44:58 +0000 (12:44 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 2 Jun 2016 11:35:28 +0000 (13:35 +0200)
commit62600666d21aacea63cece3b4ec64f0ffb40168b
treed453d797aa2f3708f0c33cdffdf324ee4ed6b1d4
parentaddbf58217d9aa3709c48d8821b256d726aefa5b
ignore std::locale exeception on non-existent "" locale

In 8b79c94af7f7cf2e5e5342294bc6e5a908cacabf changing to usage of C++ way
of setting the locale causes us to be terminated in case of usage of an
ungenerated locale as LC_ALL (or similar) – but we don't want to fail
here, we just want to carry on as before with setlocale which we call in
that case just for good measure.
apt-private/private-main.cc
methods/aptmethod.h
test/integration/test-00-commands-have-help