[Python-checkins] python/dist/src/Python getargs.c,2.92,2.93 modsupport.c,2.60,2.61
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sun, 28 Jul 2002 03:23:29 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv20999/Python
Modified Files:
getargs.c modsupport.c
Log Message:
Patch #554716: Use __va_copy where available.
Index: getargs.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/getargs.c,v
retrieving revision 2.92
retrieving revision 2.93
diff -C2 -d -r2.92 -r2.93
*** getargs.c 4 Apr 2002 16:22:30 -0000 2.92
--- getargs.c 28 Jul 2002 10:23:27 -0000 2.93
***************
*** 62,66 ****
--- 62,70 ----
memcpy(lva, va, sizeof(va_list));
#else
+ #ifdef __va_copy
+ __va_copy(lva, va);
+ #else
lva = va;
+ #endif
#endif
Index: modsupport.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/modsupport.c,v
retrieving revision 2.60
retrieving revision 2.61
diff -C2 -d -r2.60 -r2.61
*** modsupport.c 17 Jun 2002 17:16:57 -0000 2.60
--- modsupport.c 28 Jul 2002 10:23:27 -0000 2.61
***************
*** 419,423 ****
--- 419,427 ----
memcpy(lva, va, sizeof(va_list));
#else
+ #ifdef __va_copy
+ __va_copy(lva, va);
+ #else
lva = va;
+ #endif
#endif