summaryrefslogtreecommitdiffstats
path: root/src/windows/identity/util
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2006-06-25 19:21:41 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2006-06-25 19:21:41 +0000
commitbd7edfe0a67af34296baa530d2a2218ec4ddcb2d (patch)
tree209f2041cde5e42570d4e36eed0a12a43a4833aa /src/windows/identity/util
parent05352b990d5caeed4c6afe3140ab946842bd743d (diff)
NetIDMgr updates
* add scrollbars to option tree pane in configuration dialog * convert to using Microsoft's safe string library both to ensure safe string manipulation and to avoid deprecation warnings * disable deprecation warnings for Platform SDK header shlwapi.h which cannot otherwise be compiled * add kerberos 5 kvno property to tickets. display in properties dialog and main window if column selected by user * improve manifest handling in order to support both manifests generated by the compiler and those hand crafted in order to specify the correct versions of the custom control libraries. * update khimaira message types and credential acquisition documentation ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18212 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/identity/util')
-rw-r--r--src/windows/identity/util/perfstat.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/windows/identity/util/perfstat.c b/src/windows/identity/util/perfstat.c
index 6cf8ae44a..c9996b31c 100644
--- a/src/windows/identity/util/perfstat.c
+++ b/src/windows/identity/util/perfstat.c
@@ -247,9 +247,14 @@ perf_dump(char * file) {
perf_once();
EnterCriticalSection(&cs_alloc);
+#if _MSC_VER >= 1400
+ if (fopen_s(&f, file, "w"))
+ return;
+#else
f = fopen(file, "w");
if (!f)
- return;
+ return;
+#endif
fprintf(f, "Leaked allocations list ....\n");
fprintf(f, "File\tLine\tThread\tSize\n");