diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2025-02-21 17:14:24 +0000 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2025-02-21 17:26:03 +0000 |
| commit | fdcdce3bfecd8f7ea577bfa1d1dc7f04e9cf7d45 (patch) | |
| tree | ece8ca5e95e21c137c4666b3a4928aac9dbc4029 /test/integration/test-specific-architecture-dependencies | |
| parent | 2a8b53c6797523b7a3ff05e5903bf29917163790 (diff) | |
apt-ftparchive: Do not output locale dependent dsc file size
Removal of std::to_string avoids the temporary std::string,
but it leads to locale-dependent output that parsers (including ours)
are not prepared to encounter especially as number formatting
can be highly ambiguous due to different rules surrounding '.' and ','.
In the distant future (c++20) this could be replaced with a variant of
std::format, which incidentally is also what std::to_string becomes
an alias for in an even more distant future (c++26).
Regression-of: 729a5c8f4fb8c841497d26170e1a47c41617ecd9
Reported-By: Stefan Lippers-Hollmann and Kel Modderman on IRC
Diffstat (limited to 'test/integration/test-specific-architecture-dependencies')
0 files changed, 0 insertions, 0 deletions
