Wireshark-commits: [Wireshark-commits] master-2.0 ce173bb: file.c: do not try to close a file descr

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 10 Nov 2015 08:56:14 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ce173bb6a8206f5a57a798482f91c52026cf2e44
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

ce173bb by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    file.c: do not try to close a file descriptor that was previously already closed
    
    Bug: 11684
    Change-Id: Iaaa5958ea6192ef52b669c687082469b8c7c0219
    Reviewed-on: https://code.wireshark.org/review/11656
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Jim Young <jim.young.ws@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 20a7e7fe42dfa9e5de91ebfffc2cfd128099fa6a)
    Reviewed-on: https://code.wireshark.org/review/11668
    

Actions performed:

    from  8fdef73   Treat "-" as "standard input" in the CLI, not in libwiretap.
    adds  ce173bb   file.c: do not try to close a file descriptor that was previously already closed


Summary of changes:
 file.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)