Wireshark-commits: [Wireshark-commits] master 89fbf02: [MSVC 2015] file_exists() fails on MSVC2105
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 23 Jun 2015 20:12:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=89fbf02ab57a4f318b218ae49f7657a8530c85dd
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

89fbf02 by AndersBroman (anders.broman@xxxxxxxxxxxx):

    [MSVC 2015] file_exists() fails on MSVC2105 as file_stat.st_ino gets reset
    to zero in the function call if the file does not exist. The general code
    seems to work with MSVC2015 so use that.
    
    Change-Id: Ic5360089f96be620fbe99ba4e819e0caa5ca0215
    Reviewed-on: https://code.wireshark.org/review/9070
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  65bac2d   Remove the P1 dissector from the dirty dissectors list.
    adds  89fbf02   [MSVC 2015] file_exists() fails on MSVC2105 as file_stat.st_ino gets reset to zero in the function call if the file does not exist. The general code seems to work with MSVC2015 so use that.


Summary of changes:
 wsutil/filesystem.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)