From 6b9297882e0106b5c0af53320673d6341b9bea91 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 28 Feb 2013 15:47:48 -0500 Subject: Mark secure CRT warnings with comment Put a specific comment marker next to every piece of code that MSVC gives warning 4996 for. This warning is generated for calls to functions that Microsoft considers insecure or deprecated. This change is in preparation for fixing all these cases even though none of them are actually incorrect or insecure as used in qpdf. The comment marker makes them easier to find so they can be fixed in subsequent commits. --- libqpdf/QTC.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf/QTC.cc') diff --git a/libqpdf/QTC.cc b/libqpdf/QTC.cc index d0f3e11f..c1d863e6 100644 --- a/libqpdf/QTC.cc +++ b/libqpdf/QTC.cc @@ -39,7 +39,7 @@ void QTC::TC(char const* const scope, char const* const ccase, int n) FILE* tc = QUtil::fopen_wrapper("open test coverage file (" + filename + ")", - fopen(filename.c_str(), "ab")); + fopen(filename.c_str(), "ab")); // XXXX fprintf(tc, "%s %d\n", ccase, n); fclose(tc); } -- cgit v1.2.3-54-g00ecf