]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-source.cc
prevent C++ locale number formatting in text APIs
[apt.git] / apt-private / private-source.cc
index 5053c60fc41ba144585978e97cf66d52b46db3f5..dd52a8822312ce522483beb2df2831b6b5ed0b40 100644 (file)
@@ -478,8 +478,8 @@ bool DoSource(CommandLine &CmdL)
    {
       pkgAcquire::UriIterator I = Fetcher.UriBegin();
       for (; I != Fetcher.UriEnd(); ++I)
-        std::cout << '\'' << I->URI << "' " << flNotDir(I->Owner->DestFile) << ' ' << 
-           I->Owner->FileSize << ' ' << I->Owner->HashSum() << std::endl;
+        std::cout << '\'' << I->URI << "' " << flNotDir(I->Owner->DestFile) << ' ' <<
+           std::to_string(I->Owner->FileSize) << ' ' << I->Owner->HashSum() << std::endl;
       return true;
    }