summaryrefslogtreecommitdiff
path: root/methods/rred.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2025-02-21 17:14:24 +0000
committerDavid Kalnischkies <david@kalnischkies.de>2025-02-21 17:26:03 +0000
commitfdcdce3bfecd8f7ea577bfa1d1dc7f04e9cf7d45 (patch)
treeece8ca5e95e21c137c4666b3a4928aac9dbc4029 /methods/rred.cc
parent2a8b53c6797523b7a3ff05e5903bf29917163790 (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 'methods/rred.cc')
0 files changed, 0 insertions, 0 deletions