diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-06-25 02:05:30 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-06-25 15:38:45 +0000 |
commit | 3f5d183a44cada18eea7969fd8cc60f8e8781b26 (patch) | |
tree | 962bb8a20973711a825153734cf20d069b5a5ef4 /cfilters | |
parent | fe6ece9689d54e64e9f1fdc74170da343db16aff (diff) |
Stop using atof/strtod (fixes column sorting of float types)
atof is locale-dependent. In locales such as Swedish, German and Dutch,
the dot is a thousand separator, resulting in wrong conversions for
floats.
While at it, make the mate dissector also be independent of locale.
Blacklist atof in checkAPIs. Lemon is still using strtod, but that is
not our problem for now.
Bug: 11297
Bug: 8964
Change-Id: I6fe3e45eb1d6d95d41aa4f3af1f81a6204a60c63
Reviewed-on: https://code.wireshark.org/review/9116
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'cfilters')
0 files changed, 0 insertions, 0 deletions