summaryrefslogtreecommitdiff
path: root/methods/file.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2004-11-28 14:50:25 +0000
committerMichael Vogt <mvo@debian.org>2004-11-28 14:50:25 +0000
commit96b83b826ef733fa4fdfe99dd5009cba5af9a2c4 (patch)
tree58eb307a6a7743dd4e55902646f9c6a1b8d52330 /methods/file.cc
parent759ef60bae33fd38079d298287c107ec83821634 (diff)
parentb25423f6636a17f61a50ea03ad6bda42125f0323 (diff)
* imported changes from apt--main
Patches applied: * apt@packages.debian.org/apt--main--0--patch-28 Fix permissions (again) * apt@packages.debian.org/apt--main--0--patch-29 Call setlocale in all methods, don't call bindtextdomain in http
Diffstat (limited to 'methods/file.cc')
-rw-r--r--methods/file.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/methods/file.cc b/methods/file.cc
index 9fc5764d6..76fd64d86 100644
--- a/methods/file.cc
+++ b/methods/file.cc
@@ -83,6 +83,8 @@ bool FileMethod::Fetch(FetchItem *Itm)
int main()
{
+ setlocale(LC_ALL, "");
+
FileMethod Mth;
return Mth.Run();
}