[Python-checkins] python/dist/src/Python getargs.c,2.90,2.90.6.1 modsupport.c,2.58.16.1,2.58.16.2

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sun, 28 Jul 2002 03:21:33 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv20756/Python

Modified Files:
      Tag: release22-maint
	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.90
retrieving revision 2.90.6.1
diff -C2 -d -r2.90 -r2.90.6.1
*** getargs.c	3 Dec 2001 00:43:33 -0000	2.90
--- getargs.c	28 Jul 2002 10:21:31 -0000	2.90.6.1
***************
*** 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.58.16.1
retrieving revision 2.58.16.2
diff -C2 -d -r2.58.16.1 -r2.58.16.2
*** modsupport.c	17 Jun 2002 17:16:34 -0000	2.58.16.1
--- modsupport.c	28 Jul 2002 10:21:31 -0000	2.58.16.2
***************
*** 412,416 ****
--- 412,420 ----
  	memcpy(lva, va, sizeof(va_list));
  #else
+ #ifdef __va_copy
+ 	__va_copy(lva, va);
+ #else
  	lva = va;
+ #endif
  #endif