OSSP CVS Repository

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

Check-in Number: 5979
Date: 2007-Oct-12 23:00:45 (local)
2007-Oct-12 21:00:45 (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/ex/ChangeLog      1.19 -> 1.20     5 inserted, 0 deleted
ossp-pkg/ex/aclocal.m4      1.10 -> 1.11     2 inserted, 2 deleted

ossp-pkg/ex/ChangeLog 1.19 -> 1.20

--- ChangeLog    2007/10/12 19:59:57     1.19
+++ ChangeLog    2007/10/12 21:00:45     1.20
@@ -11,6 +11,11 @@
 
   This is the list of all changes to the OSSP ex source tree.
 
+  Changes between 1.0.6 and 1.0.7 (12-Oct-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 1.0.5 and 1.0.6 (02-Oct-2005 to 12-Oct-2007)
 
    *) Fix example given under "MULTITHREADING ENVIRONMENTS"


ossp-pkg/ex/aclocal.m4 1.10 -> 1.11

--- aclocal.m4   2007/10/12 19:59:57     1.10
+++ aclocal.m4   2007/10/12 21:00:45     1.11
@@ -194,9 +194,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