]> git.saurik.com Git - apt.git/commit - apt-pkg/install-progress.cc
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>
Fri, 26 Aug 2016 20:17:13 +0000 (22:17 +0200)
commit0fb16c3e678044d6d06ba8a6199b1e96487ee0d8
tree5d420b3f7e4d5b5e48699e1c34a0be6dd12269f9
parentcede4eda68220a002822194605d436b7ca044afa
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").
apt-pkg/acquire-item.cc
apt-pkg/acquire.cc
apt-pkg/contrib/strutl.cc
apt-pkg/install-progress.cc