Wireshark-commits: [Wireshark-commits] master ca553bc: caputils: Convert error string to UTF-8 on W

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 29 Apr 2019 20:24:11 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ca553bcb2a78ab65476bf4f2b2a35e7578064de0
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

ca553bc by Tomasz Moń (desowin@xxxxxxxxx):

    caputils: Convert error string to UTF-8 on Windows
    
    The libpcap library on Windows can fill error buffer with localized
    message obtained from system. The localized message is encoded in active
    code page and can contain non-ASCII characters.
    
    Bug: 15715
    Change-Id: I7451c6831ae83503ddeb5314e172c76f3dab500e
    Reviewed-on: https://code.wireshark.org/review/32993
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  7a6b663   caputils: Fix endless recursive loop on Windows
     add  ca553bc   caputils: Convert error string to UTF-8 on Windows


Summary of changes:
 caputils/capture-wpcap.c | 114 +++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 95 insertions(+), 19 deletions(-)