apt (0.5.32) unstable; urgency=low
- * Call setlocale and bindtextdomain in the http method, so that the
- messages are properly localised (Closes: #282700)
+ * Call setlocale in the http methods, so that the messages are properly
+ localised (Closes: #282700)
--
int main()
{
+ setlocale(LC_ALL, "");
+
CDROMMethod Mth;
return Mth.Run();
}
int main()
{
+ setlocale(LC_ALL, "");
+
CopyMethod Mth;
return Mth.Run();
}
int main()
{
+ setlocale(LC_ALL, "");
+
FileMethod Mth;
return Mth.Run();
}
int main(int argc,const char *argv[])
{
+ setlocale(LC_ALL, "");
+
/* See if we should be come the http client - we do this for http
proxy urls */
if (getenv("ftp_proxy") != 0)
int main(int argc, char *argv[])
{
+ setlocale(LC_ALL, "");
+
GzipMethod Mth;
Prog = strrchr(argv[0],'/');
int main()
{
setlocale(LC_ALL, "");
- bindtextdomain(APT_DOMAIN, _config->FindDir("Dir::Locale").c_str());
HttpMethod Mth;
int main(int argc, const char *argv[])
{
+ setlocale(LC_ALL, "");
+
RSHMethod Mth;
Prog = strrchr(argv[0],'/');
Prog++;