Commit Graph

3592 Commits

Author SHA1 Message Date
Neal Norwitz
83087499a3 SF Bug #1407069, Remove extra semi-colon if there is no long long 2006-01-17 05:28:07 +00:00
Neal Norwitz
63fd4f4448 Backport:
Fix SF bug #1402308, segfault when using mmap(-1, ...)

This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.
2006-01-14 07:02:53 +00:00
Neal Norwitz
44d52e2393 Backport:
SF bug #1400822, Extended version of _curses over{lay,write} does not work

Fix signatures to conform to doc (also fixed ungetmouse()).
2006-01-10 07:08:06 +00:00
Neal Norwitz
964ab82b1c Backport:
Bug #1400115, Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.
2006-01-09 06:29:16 +00:00
Skip Montanaro
805aaf1621 backport: squash compiler warning on Mac OSX 10.3 2006-01-05 10:51:18 +00:00
Neal Norwitz
7cd31a520b Backport 38951:
fixes pybsddb SF bug id 1215432.  DB.associate() would crash when a
DBError was supposed to be raised.
2006-01-05 08:00:55 +00:00
Neal Norwitz
4e90d912e5 Backport: Fix errors on 64-bit platforms. (There are still some test problems 2006-01-05 05:45:12 +00:00
Georg Brandl
27a2fab81c [ 959576 ] Can't build Python on POSIX w/o $HOME (backport) 2005-12-27 17:37:16 +00:00
Hye-Shik Chang
e708f900af Bug #1290333: Added a workaround for cjkcodecs' _codecs_cn module
build problem on AIX.
2005-12-12 11:48:32 +00:00
Georg Brandl
d98dbf9e70 Bug #869197: setgroups rejects long integer argument 2005-11-22 19:31:08 +00:00
Andrew M. Kuchling
4e2a4ff607 [Patch #1350573] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo. 2005-11-22 15:39:05 +00:00
Fred Drake
d8f285680a update busted comment 2005-11-11 19:35:02 +00:00
Neal Norwitz
6e4524f633 Backport (with output/test_poll):
Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint
Need to check return result of PyInt_AsLong()
2005-11-03 05:11:17 +00:00
Neal Norwitz
03f34d1158 Backport (with cleanup): Bug #1344508, Fix UNIX mmap leaking file descriptors. 2005-11-02 05:43:19 +00:00
Raymond Hettinger
656b762ee8 SF #1313496: bisect C replacement doesn't accept named args 2005-10-05 11:48:36 +00:00
Neal Norwitz
c2b7c59267 Backport:
SF bug #887946, segfault if redirecting directory
Also provide a warning if a directory is passed on the command line.
Add minimal command line test.
2005-10-03 01:03:46 +00:00
Neal Norwitz
bc3710f83d - Patch #1309009, Fix segfault in pyexpat when the XML document is in latin_1,
but Python incorrectly assumes it is in UTF-8 format
2005-09-30 04:58:23 +00:00
Georg Brandl
e3a1c63c89 backport: fix parse errors in readline 2005-09-29 13:42:45 +00:00
Michael W. Hudson
ea2ef08e83 Backport (with Anthony's blessing (in fact he reminded me to do it :)):
Patches #1298449 and #1298499: Add some missing checks for error
returns in cStringIO.c.  Thanks to Andrew Bennetts.

This must be a backport candidate.
2005-09-26 13:15:34 +00:00
Georg Brandl
e32757cf4f Commit memory leaking fix. 2005-09-25 06:16:28 +00:00
Michael W. Hudson
b21d81e771 Backport bugfix:
Fix bug:

[ 1163563 ] Sub threads execute in restricted mode

basically by fixing bug 1010677 in a non-broken way.

Backport candidate.
2005-09-23 08:14:40 +00:00
Neal Norwitz
ef6fb3dc52 Backport fix for patch #1297028, cjkcodecs does not initialize type pointer 2005-09-23 03:23:46 +00:00
Armin Rigo
5e6a594ab1 C89 compliance. 2005-09-20 19:04:42 +00:00
Neal Norwitz
c36179bf81 Fix problems reported by valgrind:
* Fix memory leak in posix.access()
 * Fix use of uninitialized value in forkpty()
   - from the manpage it isn't clear if there are conditions where master_fd
     are uninitialized, but it's safer to initialize
2005-09-19 06:42:30 +00:00
Martin v. Löwis
410a432579 Patch #1213831: Fix typo in unicodedata._getcode. 2005-09-18 08:18:51 +00:00