Wireshark-commits: [Wireshark-commits] master-2.2 cd7c71d: Clean up conditional code for getting cr
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 22 Oct 2016 10:20:07 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cd7c71ddfd1ed809be886c6096bdda2cc877e4a4
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

cd7c71d by Guy Harris (guy@xxxxxxxxxxxx):

    Clean up conditional code for getting creation time.
    
    Define a macro to get the creation time from a stat structure, or to
    return 0 if the creation time is unavailable, and use that in both
    places where we fetch the creation time.
    
    Change-Id: I15354f2d52a40cb1227f30ae274120575eec2055
    Reviewed-on: https://code.wireshark.org/review/18387
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit e80a8acbe3cb0d0bdefeff51292bd90c3461a02a)
    Reviewed-on: https://code.wireshark.org/review/18389
    

Actions performed:

    from  ddde79b   Fix the #defines for the presence of structure names.
    adds  cd7c71d   Clean up conditional code for getting creation time.


Summary of changes:
 fileset.c |   45 +++++++++++++++++++--------------------------
 1 file changed, 19 insertions(+), 26 deletions(-)