svn rev #22109: tools/gssmonger/trunk/gssmaggot/

raeburn@MIT.EDU raeburn at MIT.EDU
Tue Mar 17 18:36:30 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22109
Commit By: raeburn
Log Message:
define a DbgPrint function for Windows because the binary libraries need it and it doesn't seem to be provided now; not sure when that broke


Changed Files:
U   tools/gssmonger/trunk/gssmaggot/netutil.c
Modified: tools/gssmonger/trunk/gssmaggot/netutil.c
===================================================================
--- tools/gssmonger/trunk/gssmaggot/netutil.c	2009-03-17 21:55:05 UTC (rev 22108)
+++ tools/gssmonger/trunk/gssmaggot/netutil.c	2009-03-17 22:36:30 UTC (rev 22109)
@@ -969,3 +969,13 @@
 
 }
  
+#ifdef _WIN32 /* XXX */
+#undef DbgPrint
+void DbgPrint(const char *fmt, ...)
+{
+    va_list va;
+    va_start(va, fmt);
+    vfprintf(stderr, fmt, va);
+    va_end(va);
+}
+#endif




More information about the cvs-krb5 mailing list