OSSP CVS Repository

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

Check-in Number: 5981
Date: 2007-Oct-12 23:04:01 (local)
2007-Oct-12 21:04:01 (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/l2/ChangeLog      1.35 -> 1.36     5 inserted, 0 deleted
ossp-pkg/l2/aclocal.m4      1.18 -> 1.19     2 inserted, 2 deleted

ossp-pkg/l2/ChangeLog 1.35 -> 1.36

--- ChangeLog    2007/06/08 13:55:11     1.35
+++ ChangeLog    2007/10/12 21:04:01     1.36
@@ -9,6 +9,11 @@
   ChangeLog
   =========
 
+  Changes between 0.9.13 and 0.9.14 (08-Jun-2007 to xx-xxx-2007)
+
+    *) Fix __VA_COPY_USE_{CSP,CPP} fallback macros for va_copy.
+       [Mark A. Lindner <mark.a.lindner@gmail.com>]
+
   Changes between 0.9.12 and 0.9.13 (02-Mar-2005 to 08-Jun-2007)
 
     *) Upgraded build environment to GNU shtool 2.0.7


ossp-pkg/l2/aclocal.m4 1.18 -> 1.19

--- aclocal.m4   2005/10/03 08:08:11     1.18
+++ aclocal.m4   2007/10/12 21:04:02     1.19
@@ -497,9 +497,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