[Python-checkins] python/dist/src/Python pythonrun.c,2.166,2.167

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Fri, 04 Oct 2002 18:47:36 -0700


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

Modified Files:
	pythonrun.c 
Log Message:
s/_alloca/alloca/g; Windows doesn't need the former, at least not unless
__STDC__ is defined (or something like that ...).


Index: pythonrun.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.166
retrieving revision 2.167
diff -C2 -d -r2.166 -r2.167
*** pythonrun.c	15 Aug 2002 01:20:16 -0000	2.166
--- pythonrun.c	5 Oct 2002 01:47:34 -0000	2.167
***************
*** 1451,1457 ****
  {
  	__try {
! 		/* _alloca throws a stack overflow exception if there's
  		   not enough space left on the stack */
! 		_alloca(PYOS_STACK_MARGIN * sizeof(void*));
  		return 0;
  	} __except (EXCEPTION_EXECUTE_HANDLER) {
--- 1451,1457 ----
  {
  	__try {
! 		/* alloca throws a stack overflow exception if there's
  		   not enough space left on the stack */
! 		alloca(PYOS_STACK_MARGIN * sizeof(void*));
  		return 0;
  	} __except (EXCEPTION_EXECUTE_HANDLER) {