Wireshark-commits: [Wireshark-commits] master-2.0 d9330f8: 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:02:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d9330f8306d6101f9474166a94d44aad1be44148
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

d9330f8 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/13092
    

Actions performed:

    from  50444af   Qt: Add recent capture filter entries.
    adds  d9330f8   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(-)