aboutsummaryrefslogtreecommitdiff
path: root/chinese/iiimf-le-xcin/files/patch-src_debugInfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/iiimf-le-xcin/files/patch-src_debugInfo.c')
-rw-r--r--chinese/iiimf-le-xcin/files/patch-src_debugInfo.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/chinese/iiimf-le-xcin/files/patch-src_debugInfo.c b/chinese/iiimf-le-xcin/files/patch-src_debugInfo.c
new file mode 100644
index 000000000000..6c869beb6472
--- /dev/null
+++ b/chinese/iiimf-le-xcin/files/patch-src_debugInfo.c
@@ -0,0 +1,13 @@
+--- src/debugInfo.c.orig Mon Aug 16 08:18:25 2004
++++ src/debugInfo.c Thu Oct 14 00:46:26 2004
+@@ -12,9 +12,9 @@
+
+ void debug(const char *format, ...)
+ {
++ va_list args;
+ if(!isDebugMode()) return;
+
+- va_list args;
+ va_start(args, format);
+ vfprintf(stderr, format, args);
+ fprintf(stderr, "\n");