Wireshark-commits: [Wireshark-commits] master 078ab45: Use the locale's decimal separator for times
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=078ab458a6c73a1a0d58ad2014a1b423c0bc97e8
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
078ab45 by Guy Harris (guy@xxxxxxxxxxxx):
Use the locale's decimal separator for times as seconds and fraction.
We use it when printing *other* seconds-and-fraction values, as we're
just using %f, so we should use it consistently. If you don't want
commas as decimal separators, you presumably don't want them anywhere;
if you want to standardize the way numbers are shown, set the locale to
the C locale.
This addresses one of the two problems mentioned in bug 12500; there may
be other places in the Wireshark suite where we should use the locale's
decimal separator in times.
Change-Id: I41f1c44d12ebf0f46ff678c977a955d09831b0cf
Ping-Bug: 12500
Reviewed-on: https://code.wireshark.org/review/15787
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 6ec6beb ieee80211_htrate() isn't exported.
adds 078ab45 Use the locale's decimal separator for times as seconds and fraction.
Summary of changes:
capinfos.c | 49 ++++++++++++++++++++++++++++++++++---------------
1 file changed, 34 insertions(+), 15 deletions(-)