]> git.saurik.com Git - apt.git/commit
Use C locale instead of C.UTF-8 for protocol strings
authorJulian Andres Klode <jak@debian.org>
Tue, 23 Aug 2016 18:19:11 +0000 (20:19 +0200)
committerJulian Andres Klode <jak@debian.org>
Mon, 14 Nov 2016 14:10:03 +0000 (15:10 +0100)
commit50e3f7d4b7388d261e79e5d022a26262e7e72118
tree9807d10e78a77a27745c611cbe3b66f0721fcaf2
parent330f9fcd988e46de8e6f1d44660d6dea0b47a8df
Use C locale instead of C.UTF-8 for protocol strings

The C.UTF-8 locale is not portable, so we need to use C, otherwise
we crash on other systems. We can use std::locale::classic() for
that, which might also be a bit cheaper than using locale("C").

(cherry picked from commit 0fb16c3e678044d6d06ba8a6199b1e96487ee0d8)
apt-pkg/acquire-item.cc
apt-pkg/acquire.cc
apt-pkg/contrib/strutl.cc
apt-pkg/install-progress.cc