cpython/Modules
Barry Warsaw 6aa42579be PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString()
was appended to a list.  Lists are reference count neutral, so the
string must be DECREF'd.  Also added some checks for the return value
of PyList_Append().

Note: there are still some memory problems reported by Purify (I get
two Array Bounds Reads still and an Unitialized Memory Read).  Also,
in scanning the code, there appears to be some potential problems
where return values aren't checked.  To much to attack now though.
1999-02-01 17:09:00 +00:00
..
_cursesmodule.c Patch by Charles Waldman to implement an optional nlines argument to 1999-01-05 17:16:46 +00:00
_localemodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
_tkinter.c Include myselect.h -- needed on some platforms. 1999-01-25 21:39:03 +00:00
almodule.c Now that we have standard (optional) long long support, the long long 1998-08-31 14:14:09 +00:00
arraymodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
audioop.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
binascii.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
bsddbmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
cdmodule.c Oops, forgot one. 1997-10-01 04:43:39 +00:00
cgen.py Keep gcc -Wall happy. 1997-04-29 21:34:16 +00:00
cgensupport.c Moved here from ../Python and quickly renamed. 1997-04-29 15:43:55 +00:00
cgensupport.h Moved rename2's macros relevant to this module here and added comment 1997-04-29 15:35:28 +00:00
clmodule.c lots of "goto error" replaced by "return" (Jack) 1997-10-08 15:26:28 +00:00
cmathmodule.c Jim Ahlstrom patch: Watcom chokes on a long expression in c_asinh(). 1999-01-14 19:11:11 +00:00
config.c.in Renamed inittab. 1997-04-29 20:31:59 +00:00
cPickle.c Make sure not to call realloc() with a NULL pointer -- call malloc() 1999-01-25 21:43:51 +00:00
cryptmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
cStringIO.c Jim Fulton writes: 1998-12-15 21:43:15 +00:00
cstubs Generate the clear() method manually (calling __GLclear(), another 1998-04-28 16:09:16 +00:00
dbmmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
dlmodule.c Fix mysterious undetected error -- call to non-existant Py_Err_SetStr() 1997-12-16 23:58:15 +00:00
errnomodule.c initerrno(): Nailed a not-so-tiny memory leak. The de dictionary is 1999-01-27 18:04:05 +00:00
fcntlmodule.c Changes for long file support by Steve Clift. 1999-01-06 18:44:23 +00:00
flmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
fmmodule.c Renamed, but not tested. Guido will you try your test script on this? 1997-01-17 16:08:55 +00:00
fpectlmodule.c Needed to add DL_EXPORT to (redundant?) extern decl of module init function. 1998-12-10 16:49:28 +00:00
fpetestmodule.c Needed to add DL_EXPORT to (redundant?) extern decl of module init function. 1998-12-10 16:49:28 +00:00
gdbmmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
getbuildinfo.c Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
getpath.c Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
glmodule.c Check in the changed version after running the stubber again -- this 1998-10-21 16:10:40 +00:00
grpmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
imageop.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
imgfile.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
ld_so_aix Mod suggested by Donn Cave -- invoke makexp_aix relative to $0 1997-09-03 00:45:30 +00:00
license.terms Add an optional hack for threads in Tkinter. 1997-09-28 05:52:41 +00:00
main.c Document -OO; "unsafe" optimization that removes docstrings. 1999-01-28 15:07:47 +00:00
Makefile.pre.in Patches by William Lewis for Nextstep descendants. 1999-01-27 17:53:11 +00:00
makesetup Gregor Hoffleit writes: 1998-12-11 01:10:29 +00:00
makexp_aix remove C++ entries of the form Class::method 1998-04-09 21:46:02 +00:00
mathmodule.c Correctly document atan2. 1998-12-08 16:27:10 +00:00
md5.h Use INT_MAX/LONG_MAX instead of non-ANSI LONG_BIT 1996-07-21 02:34:55 +00:00
md5c.c Always include config.h 1996-08-19 22:12:39 +00:00
md5module.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
mpzmodule.c Fixed bug reported to Gregor Hoffleit: 1998-12-14 19:36:14 +00:00
newmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
nismodule.c Use the t# format where appropriate. Greg Stein. 1998-10-08 02:25:24 +00:00
operator.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
parsermodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
pcre-int.h AMK's revised version of the previous patch. 1998-05-07 15:32:44 +00:00
pcre.h AMK's revised version of the previous patch. 1998-05-07 15:32:44 +00:00
pcremodule.c PyPcre_expand(): Fixed two memory leaks, where a PyString_FromString() 1999-02-01 17:09:00 +00:00
posixmodule.c Oops, the patch for NeXT always replaced waitpid() with wait4() -- 1999-02-01 16:15:30 +00:00
puremodule.c (puremodule.c): New module which exports the Purify and Quantify C API 1997-01-17 00:01:33 +00:00
pwdmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
pypcre.c pcre_exec(): Andrew Kuchling's patch for pcre memory leak. 1999-01-27 21:41:08 +00:00
python.c Py_Main() must be DL_EXPORT too. 1998-12-07 14:28:47 +00:00
readline.c setup_readline(): Added a comment about memory leak (reported by 1999-01-29 21:55:03 +00:00
regexmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
regexpr.c Fix a benign problem found by a picky SGI compiler (unreachable break 1998-07-07 22:23:22 +00:00
regexpr.h Change [_Py_]re_compile_pattern() to return a char*. 1997-09-03 00:47:36 +00:00
resource.c Changes for long file support by Steve Clift. 1999-01-06 18:44:57 +00:00
rgbimgmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
rotormodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
selectmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
Setup.in Rearrange the -I flags for compiling _tkinter.c so that 1999-01-25 21:38:29 +00:00
Setup.thread.in Moved the thread module to its own Setup.thread(.in) file, 1997-12-04 00:48:27 +00:00
sgimodule.c Great renaming. 1996-12-10 00:32:31 +00:00
signalmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
socketmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
soundex.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
stdwinmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
stropmodule.c expandtabs__doc__: blank line which was not terminated with \n\ caused 1999-01-26 02:15:50 +00:00
structmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
sunaudiodev.c audio(7I) suggests that applications do the following to get the 1998-10-31 22:52:54 +00:00
svmodule.c Apply two changes, systematically: 1997-10-01 04:29:29 +00:00
syslogmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
tclNotify.c Add an optional hack for threads in Tkinter. 1997-09-28 05:52:41 +00:00
termios.c Should include "Python.h", not <Python.h> -- it's not a standard 1999-01-14 19:31:42 +00:00
threadmodule.c Thanks to Chris Herborth, the thread primitives now have proper Py* 1998-12-21 19:32:43 +00:00
timemodule.c The doc string for strptime had the arguments reversed -- the string 1999-01-07 18:29:26 +00:00
timing.h remove rcs history 1996-01-26 21:10:22 +00:00
timingmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
tkappinit.c Yes, Virginia, Tix does have a Tix_SafeInit() function. 1997-12-02 20:38:38 +00:00
xxmodule.c Add DL_EXPORT() to all modules that could possibly be used 1998-12-04 18:50:17 +00:00
yuv.h New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
yuvconvert.c New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
zlibmodule.c Added missing DECREF's in the error branches when creating a compressor or 1999-01-29 21:49:34 +00:00