Wireshark-commits: [Wireshark-commits] master eef1555: Fix sharkd compilation on some <glibc-2.16 o

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 24 Feb 2017 02:15:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=eef155561037790e58b9e39cfd9d0cd5b7690349
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

eef1555 by Jakub Zawadzki (darkjames-ws@xxxxxxxxxxxx):

    Fix sharkd compilation on some <glibc-2.16 or <gcc-4.8
    
    - use printf() instead of fwrite().
    - don't shadow stat()
    
    Bug: 13424
    Change-Id: Idc8931bcc5b1387f0ce3a3bfa146ffeb5b4edc82
    Reviewed-on: https://code.wireshark.org/review/20234
    Petri-Dish: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: John Thacker <johnthacker@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  99929f7   sharkd: fix redundant redeclaration of ‘cfile’ [-Wredundant-decls]
    adds  eef1555   Fix sharkd compilation on some <glibc-2.16 or <gcc-4.8


Summary of changes:
 sharkd_session.c |   44 +++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 19 deletions(-)