URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9a7d4559aed27208b4688cb6d0c9c8a810612788
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
9a7d455 by Guy Harris (guy@xxxxxxxxxxxx):
Use setlocale() to get the current locale.
This:
1) should work on Windows;
2) reflects what the C environment is actually set up to use,
rather than what the environment variables for locale are
set up to use - C programs default to the C locale and only
pick up the setting from the environment variables etc. if
you explicitly request the system locale with a setlocale()
call.
Change-Id: Iee064237e70501a5450d4daa9ab849391f200efd
Reviewed-on: https://code.wireshark.org/review/6195
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 1bc2565 Don't include signal.h unless we need it.
adds 9a7d455 Use setlocale() to get the current locale.
Summary of changes:
wsutil/ws_version_info.c | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)