Check-in Number:
|
5977 | |
Date: |
2007-Oct-12 22:57:24 (local)
2007-Oct-12 20:57:24 (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/uuid/ChangeLog 1.149 -> 1.150
--- ChangeLog 2007/10/12 20:34:47 1.149
+++ ChangeLog 2007/10/12 20:57:24 1.150
@@ -12,6 +12,9 @@
For a more brief summary please have a look at the NEWS file.
Changes between 1.5.1 and 1.6.0 (31-Jul-2006 to 19-May-2007)
+
+ o Fix __VA_COPY_USE_{CSP,CPP} fallback macros for va_copy.
+ [Mark A. Lindner <mark.a.lindner@gmail.com>]
o PostgreSQL bindings: use SET_VARSIZE() instead
of assigning to bytea->v_len under PostgreSQL >= 8.3
|
|
ossp-pkg/uuid/aclocal.m4 1.3 -> 1.4
--- aclocal.m4 2006/08/02 13:11:09 1.3
+++ aclocal.m4 2007/10/12 20:57:24 1.4
@@ -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
|
|