cpython/Python
Neal Norwitz 0bcafac29e Building with HP's cc on HP-UX turned up a couple of problems.
_PyGILState_NoteThreadState was declared as static inconsistently.
Make it static as it's not necessary outside of this module.

Some tests failed because errno was reset to 0. (I think the tests
that failed were at least: test_fcntl and test_mailbox).
Ensure that errno doesn't change after a call to Py_END_ALLOW_THREADS.
This only affected debug builds.

This needs to be ported to HEAD.  I'll try to remember to do that tomorrow.
(Anyone, feel free to port it.)
2006-09-11 08:51:17 +00:00
..
Python-ast.c Introduce asdl_int_seq, to hold cmpop_ty. 2006-04-13 12:29:43 +00:00
asdl.c Fix type errors. 2006-04-13 13:08:58 +00:00
ast.c Bug #1520864 (again): unpacking singleton tuples in list comprehensions and 2006-09-05 03:56:01 +00:00
atof.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
bltinmodule.c Fix SF #1552093, eval docstring typo (3 ps in mapping) 2006-09-05 01:52:00 +00:00
ceval.c Move/copy assert for tstate != NULL before first use. 2006-08-13 18:10:10 +00:00
codecs.c Bug #1511381: codec_getstreamcodec() in codec.c is corrected to 2006-06-23 21:16:18 +00:00
compile.c Even though _Py_Mangle() isn't truly public anyone can call it and 2006-08-12 01:45:47 +00:00
dup2.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00
dynload_beos.c Fix for 2002-01-23 15:51:12 +00:00
dynload_dl.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_hpux.c Oops, I forgot to include this file in the last commit (46046): 2006-05-19 07:05:01 +00:00
dynload_next.c Fix for 838140: don't call NSUnlinkModule when we fail to find our 2004-07-15 22:28:48 +00:00
dynload_os2.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
dynload_shlib.c Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
dynload_stub.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dynload_win.c Patch #1495999: Part two of Windows CE changes. 2006-06-10 12:23:46 +00:00
errors.c On Windows, make PyErr_Warn an exported function again. 2006-08-04 18:17:40 +00:00
fmod.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
frozen.c This is my patch 2002-08-15 14:59:02 +00:00
frozenmain.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
future.c Handle more mem alloc issues found with failmalloc 2006-07-23 07:50:36 +00:00
getargs.c Introduce an upper bound on tuple nesting depth in 2006-08-09 07:03:22 +00:00
getcompiler.c The GCC version is loooooooooong; put it on a new line. 2000-09-05 04:40:39 +00:00
getcopyright.c Update general copyright years to 2006. 2006-02-11 15:30:36 +00:00
getcwd.c Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses 2006-04-25 15:29:46 +00:00
getmtime.c spread the extern "C" { } magic pixie dust around. Python itself builds now 2006-04-13 02:06:09 +00:00
getopt.c Accept long options "--help" and "--version". 2006-07-12 15:31:17 +00:00
getplatform.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
getversion.c Use PyOS_snprintf instead of sprintf. 2001-11-28 20:42:20 +00:00
graminit.c Update graminit.c for the fix for #1488915, Multiple dots in relative import 2006-05-25 11:26:25 +00:00
hypot.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
import.c Properly handle a NULL returned from PyArena_New(). 2006-09-11 04:06:23 +00:00
importdl.c Patch #794826: Add __file__ in dynamically loaded modules for multiple 2003-09-04 18:45:59 +00:00
importdl.h PEP 302 + zipimport: 2002-12-30 22:08:05 +00:00
mactoolboxglue.c Add missing Py_DECREFs. 2006-07-11 16:44:25 +00:00
marshal.c This code is actually not used unless WITHOUT_COMPLEX is defined. 2006-08-12 01:47:59 +00:00
memmove.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
modsupport.c C++ compiler cleanup: migrate to modsupport.h 2006-04-18 00:53:48 +00:00
mysnprintf.c PyOS_vsnprintf(): Change PyMem_Malloc() call to PyMem_MALLOC() macro, 2001-12-21 16:32:15 +00:00
mystrtoul.c Bug #1521947: possible bug in mystrtol.c with recent gcc. 2006-07-27 01:14:53 +00:00
pyarena.c Fix more memory allocation issues found with failmalloc. 2006-07-22 16:20:49 +00:00
pyfpe.c Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
pystate.c Building with HP's cc on HP-UX turned up a couple of problems. 2006-09-11 08:51:17 +00:00
pystrtod.c Bug #1417699: Reject locale-specific decimal point in float() 2006-07-03 12:19:50 +00:00
pythonrun.c Backport 51443: 2006-08-21 20:20:59 +00:00
sigcheck.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
strdup.c Mass ANSIfication of function definitions. Doesn't cover all 'extern' 2000-07-22 18:47:25 +00:00
strerror.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
strtod.c Patch #1495999: Part two of Windows CE changes. 2006-06-10 12:23:46 +00:00
structmember.c Fix a warning on ppc (debian) 2006-04-28 05:28:54 +00:00
symtable.c Klocwork made another run and found a bunch more problems. 2006-08-12 01:43:40 +00:00
sysmodule.c Handle allocation failures gracefully. Found with failmalloc. 2006-07-21 05:32:28 +00:00
thread.c Handle more memory allocation failures without crashing. 2006-07-21 07:59:47 +00:00
thread_atheos.h Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00
thread_beos.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_cthread.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_foobar.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_lwp.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
thread_nt.h Patch #1454481: Make thread stack size runtime tunable. 2006-06-13 15:04:24 +00:00
thread_os2.h bugfix: PyThread_start_new_thread() returns the thread ID, not a flag; 2006-07-23 13:00:04 +00:00
thread_pth.h Patch #805613: Fix usage of the PTH library. 2003-09-20 11:13:36 +00:00
thread_pthread.h Patch #1454481: Make thread stack size runtime tunable. 2006-06-13 15:04:24 +00:00
thread_sgi.h Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld 2004-01-17 04:04:13 +00:00
thread_solaris.h Patch #716969: Detect thread creation failure. Will backport to 2.2. 2003-04-19 07:44:52 +00:00
thread_wince.h bug 1234979 addition 2005-07-09 15:26:33 +00:00
traceback.c Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 2006-04-15 21:47:09 +00:00