Wireshark-commits: [Wireshark-commits] master b85f0cb: Properly convert command-line arguments to U
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 12 Dec 2018 09:31:43 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b85f0cbc2f7b412862f9f84faab4815a534dcc2f
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

b85f0cb by Guy Harris (guy@xxxxxxxxxxxx):

    Properly convert command-line arguments to UTF-8 on Windows.
    
    Do the same thing we do for most other command-line programs - on
    Windows, have wmain() rather than main(), convert the UTF-16 argument
    lists to UTF-8, and pass them on to real_main(), otherwise just have
    main() call real_main().  That way, they never pass through the local
    code page on Windows.
    
    Change-Id: Ib74176dd0586c012eabaa3376c1d7dcba8838978
    Reviewed-on: https://code.wireshark.org/review/31014
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  541fe1d   Add the VCS version number to the appname option if it's a Git build.
     add  b85f0cb   Properly convert command-line arguments to UTF-8 on Windows.


Summary of changes:
 reordercap.c | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)