Wireshark-commits: [Wireshark-commits] master cf6501e: Windows: Remove the need for _CRT_NONSTDC_NO

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 13 Apr 2016 02:16:34 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cf6501eb45408c83467160c8ed026c6aab347642
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

cf6501e by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Windows: Remove the need for _CRT_NONSTDC_NO_DEPRECATE.
    
    Replace some function calls with their non-deprecated equivalents so
    that we can remove _CRT_NONSTDC_NO_DEPRECATE from CMakeLists.txt and
    config.nmake.
    
    Leave _CRT_SECURE_NO_DEPRECATE in place. Removing it failed with 145
    warnings and 72 errors.
    
    Note that we could probably improve startup performance by using wmem
    in diam_dict.*.
    
    Change-Id: I6e130003de838aebedbdd1aa78c50de8a339ddcb
    Reviewed-on: https://code.wireshark.org/review/14883
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  f6b8b4d   PCEP: add TRIGGERED-INITIAL-SYNC flag parsing and align capabilities to draft-ietf-pce-stateful-sync-optimizations-04
    adds  cf6501e   Windows: Remove the need for _CRT_NONSTDC_NO_DEPRECATE.


Summary of changes:
 CMakeLists.txt                     |    1 -
 capchild/capture_sync.c            |    8 ++++----
 config.nmake                       |    2 +-
 editcap.c                          |    5 ++---
 epan/diam_dict.l                   |   22 ++++++++++++++++------
 epan/dissectors/packet-ssl-utils.c |    4 ++--
 sync_pipe_write.c                  |    4 ++--
 tshark.c                           |    4 ++--
 ui/qt/follow_stream_dialog.cpp     |    2 +-
 wiretap/file_access.c              |    4 ++--
 wsutil/file_util.h                 |   15 +++++++++++++++
 wsutil/tempfile.c                  |    8 ++++----
 12 files changed, 51 insertions(+), 28 deletions(-)