Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 25573:0231cc54f87e legacy-trunk
s/_alloca/alloca/g; Windows doesn't need the former, at least not unless
__STDC__ is defined (or something like that ...).
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 05 Oct 2002 01:47:34 +0000 |
| parents | 17e95cc06f69 |
| children | 093fe5b9f6f9 |
line wrap: on
line diff
--- a/Python/pythonrun.c Fri Oct 04 22:34:11 2002 +0000 +++ b/Python/pythonrun.c Sat Oct 05 01:47:34 2002 +0000 @@ -1450,9 +1450,9 @@ PyOS_CheckStack(void) { __try { - /* _alloca throws a stack overflow exception if there's + /* alloca throws a stack overflow exception if there's not enough space left on the stack */ - _alloca(PYOS_STACK_MARGIN * sizeof(void*)); + alloca(PYOS_STACK_MARGIN * sizeof(void*)); return 0; } __except (EXCEPTION_EXECUTE_HANDLER) { /* just ignore all errors */
