- kill invalid va_list usage
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 29 May 2004 14:32:32 +0000 (14:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Firebird-va.patch -> 1.1

Firebird-va.patch [new file with mode: 0644]

diff --git a/Firebird-va.patch b/Firebird-va.patch
new file mode 100644 (file)
index 0000000..76da72b
--- /dev/null
@@ -0,0 +1,14 @@
+--- firebird-1.5.0.4290/src/jrd/gds.cpp.orig   2004-02-06 05:56:28.000000000 +0100
++++ firebird-1.5.0.4290/src/jrd/gds.cpp        2004-05-29 15:22:12.000000000 +0200
+@@ -2717,7 +2717,10 @@
+       va_list args;
+       VA_START(args, string);
+-      blr_format(control, string, args);
++      /* blr_format(control, string, ...); */
++      vsprintf(control->ctl_ptr, string, args);
++      while (*control->ctl_ptr)
++              control->ctl_ptr++;
+       offset = 0;
+       PRINT_LINE;
+       Firebird::status_exception::raise(-1);
This page took 0.031561 seconds and 4 git commands to generate.