Wireshark-commits: [Wireshark-commits] master 9a7d455: Use setlocale() to get the current locale.
Date Prev · Date Next · Thread Prev · Thread Next
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 31 Dec 2014 23:33:35 +0000 (UTC)
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(-)