Wireshark-commits: [Wireshark-commits] master-1.12 ba19a65: Don't assume a stat() fails only if the
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 7 Jan 2016 03:03:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ba19a65a821856d771c6a178e854242d4f5261b2
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

ba19a65 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't assume a stat() fails only if the target file doesn't exist.
    
    If the error is something other than ENOENT, return that error
    indication.
    
    Change-Id: If866cab5f0de0e4fa8b1ed1cead1290feb88a3cb
    Reviewed-on: https://code.wireshark.org/review/13091
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 97378a5bad8c20f4364b7fe86d96d9d14a192d48)
    Reviewed-on: https://code.wireshark.org/review/13093
    

Actions performed:

    from  8b2f332   [Automatic update for 2016-01-03]
    adds  ba19a65   Don't assume a stat() fails only if the target file doesn't exist.


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