Wireshark-commits: [Wireshark-commits] master-2.0 9465924: Clean up conditional code for getting cr

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 22 Oct 2016 10:21:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=94659249901e8603cff53ec6d532922f21e0084e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

9465924 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/18390
    

Actions performed:

    from  787ee25   Fix #defines for the creation time in struct stat on UN*X.
    adds  9465924   Clean up conditional code for getting creation time.


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