OSSP CVS Repository

ossp - Check-in [5980]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5980
Date: 2007-Oct-12 23:02:47 (local)
2007-Oct-12 21:02:47 (UTC)
User:rse
Branch:
Comment: Fix __VA_COPY_USE_{CSP,CPP} fallback macros for va_copy.

Submitted by: Mark A. Lindner <mark.a.lindner@gmail.com>

Tickets:
Inspections:
Files:
ossp-pkg/cfg/ChangeLog      1.43 -> 1.44     3 inserted, 0 deleted
ossp-pkg/cfg/THANKS      1.5 -> 1.6     2 inserted, 0 deleted
ossp-pkg/cfg/aclocal.m4      1.8 -> 1.9     2 inserted, 2 deleted

ossp-pkg/cfg/ChangeLog 1.43 -> 1.44

--- ChangeLog    2006/08/10 19:32:56     1.43
+++ ChangeLog    2007/10/12 21:02:47     1.44
@@ -10,6 +10,9 @@
 
   Changes between 0.9.10 and 0.9.11 (03-Oct-2005 to 10-Aug-2006):
 
+   *) Fix __VA_COPY_USE_{CSP,CPP} fallback macros for va_copy.
+      [Mark A. Lindner <mark.a.lindner@gmail.com>]
+
    *) Replace "return 0" with the official "yyterminate()"
       in cfg_syn_scan.l and fix quotation parsing by replacing
       two "yytext[1]" with the intended "yytext[0]".


ossp-pkg/cfg/THANKS 1.5 -> 1.6

--- THANKS       2006/08/10 19:35:56     1.5
+++ THANKS       2007/10/12 21:02:48     1.6
@@ -18,6 +18,8 @@
   Credit has to be given to the following people who contributed ideas,
   bugfixes, hints, gave platform feedback, etc. (in alphabetical order):
 
+    o  Mark A. Lindner             <mark.a.lindner@gmail.com>
     o  Thomas Lotterer             <thomas@lotterer.net>
     o  Michael van Elst            <mlelstv@serpens.de>
 
+


ossp-pkg/cfg/aclocal.m4 1.8 -> 1.9

--- aclocal.m4   2006/08/10 19:35:56     1.8
+++ aclocal.m4   2007/10/12 21:02:48     1.9
@@ -384,9 +384,9 @@
     dnl #   6. check for assignment approach (assuming va_list is a pointer)
     __va_copy_check(ASP, [do { *(d) = *(s); } while (0)])
     dnl #   7. check for memory copying approach (assuming va_list is a struct)
-    __va_copy_check(CPS, [memcpy((void *)&(d), (void *)&(s)), sizeof((s))])
+    __va_copy_check(CPS, [memcpy((void *)&(d), (void *)&(s), sizeof((s)))])
     dnl #   8. check for memory copying approach (assuming va_list is a pointer)
-    __va_copy_check(CPP, [memcpy((void *)(d), (void *)(s)), sizeof(*(s))])
+    __va_copy_check(CPP, [memcpy((void *)(d), (void *)(s), sizeof(*(s)))])
     if test ".$ac_cv_va_copy" = .; then
         AC_ERROR([no working implementation found])
     fi

CVSTrac 2.0.1