Windows: Remove the need for _CRT_NONSTDC_NO_DEPRECATE.
authorGerald Combs <gerald@wireshark.org>
Mon, 11 Apr 2016 18:31:17 +0000 (11:31 -0700)
committerMichael Mann <mmann78@netscape.net>
Wed, 13 Apr 2016 02:16:20 +0000 (02:16 +0000)
commitcf6501eb45408c83467160c8ed026c6aab347642
tree84755bcc3bbdb9a1b7dcc69e171ab2f947f0ed0a
parentf6b8b4dca5c05f0e6011ca8d8ef670beb911ac39
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@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
12 files changed:
CMakeLists.txt
capchild/capture_sync.c
config.nmake
editcap.c
epan/diam_dict.l
epan/dissectors/packet-ssl-utils.c
sync_pipe_write.c
tshark.c
ui/qt/follow_stream_dialog.cpp
wiretap/file_access.c
wsutil/file_util.h
wsutil/tempfile.c