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

Commits:

97378a5 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>
    

Actions performed:

    from  613b406   Qt: Add recent capture filter entries.
    adds  97378a5   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(-)