Antoine Pitrou
c7c96a90bc
Recorded merge of revisions 81029 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines
Untabify C files. Will watch buildbots.
........
2010-05-09 15:15:40 +00:00
Hirokazu Yamamoto
b7b811c383
Merged revisions 73677,73681 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73677 | hirokazu.yamamoto | 2009-06-29 22:25:16 +0900 | 2 lines
Issue #6344 : Fixed a crash of mmap.read() when passed a negative argument.
Reviewed by Amaury Forgeot d'Arc.
........
r73681 | hirokazu.yamamoto | 2009-06-29 23:29:31 +0900 | 1 line
Fixed NEWS.
........
2009-06-29 14:37:28 +00:00
Hirokazu Yamamoto
86c8efc3bb
Merged revisions 73425 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73425 | hirokazu.yamamoto | 2009-06-14 12:53:55 +0900 | 2 lines
Issue #6271 : mmap tried to close invalid file handle (-1) when annonymous.
(On Unix) Patch by STINNER Victor.
........
2009-06-14 04:48:42 +00:00
Hirokazu Yamamoto
81d4b360e2
Merged revisions 70879 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70879 | hirokazu.yamamoto | 2009-04-01 05:14:04 +0900 | 1 line
Issue #5387 : Fixed mmap.move crash by integer overflow. (take2)
........
2009-03-31 20:22:13 +00:00
Jesse Noller
040bc1bb4b
Merged revisions 70849 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line
Apply patch for netbsd multiprocessing support
........
2009-03-31 18:20:48 +00:00
Hirokazu Yamamoto
60098040c8
Merged revisions 70800 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70800 | hirokazu.yamamoto | 2009-03-31 22:13:05 +0900 | 1 line
Issue #5387 : Fixed mmap.move crash by integer overflow.
........
2009-03-31 13:22:01 +00:00
Hirokazu Yamamoto
ec5294fa93
Merged revisions 70189 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70189 | hirokazu.yamamoto | 2009-03-05 23:21:12 +0900 | 4 lines
Issue #5385 : Fixed mmap crash after resize failure on windows.
Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle
because CreateFileMapping returns NULL when error occurs.
........
2009-03-05 14:30:13 +00:00
Hirokazu Yamamoto
4b27e963e7
Merged revisions 70056 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70056 | hirokazu.yamamoto | 2009-02-28 21:13:07 +0900 | 2 lines
Issue #1733986 : Fixed mmap crash in accessing elements of second map object
with same tagname but larger size than first map. (Windows)
........
2009-02-28 12:42:16 +00:00
Hirokazu Yamamoto
e363fa020b
Merged revisions 70052 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70052 | hirokazu.yamamoto | 2009-02-28 19:31:54 +0900 | 2 lines
Issue #5386 : mmap.write_byte didn't check map size, so it could cause buffer
overrun.
........
2009-02-28 11:39:45 +00:00
Hirokazu Yamamoto
978bacdd30
Merged revisions 69714,69718 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69714 | hirokazu.yamamoto | 2009-02-17 19:12:10 +0900 | 1 line
Issue #5292 : Fixed mmap crash on its boundary access m[len(m)].
........
r69718 | hirokazu.yamamoto | 2009-02-17 22:17:26 +0900 | 3 lines
Issue #5282 : Fixed mmap resize on 32bit windows and unix. When offset > 0,
The file was resized to wrong size.
........
2009-02-18 15:11:55 +00:00
Thomas Heller
6626099520
Fix strange character in the docstring.
2008-08-19 17:47:13 +00:00
Neal Norwitz
e7d8be80ba
Security patches from Apple: prevent int overflow when allocating memory
2008-07-31 17:17:14 +00:00
Gregory P. Smith
dd96db63f6
This reverts r63675 based on the discussion in this thread:
...
http://mail.python.org/pipermail/python-dev/2008-June/079988.html
Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
2008-06-09 04:58:54 +00:00
Christian Heimes
593daf545b
Renamed PyString to PyBytes
2008-05-26 12:51:38 +00:00
Facundo Batista
e139688d34
Issue 2112. mmap does not raises EnvironmentError no more, but
...
a subclass of it. Thanks John Lenton.
2008-02-17 18:59:29 +00:00
Christian Heimes
7adfad850a
Bug #2111 : mmap segfaults when trying to write a block opened with PROT_READ
...
Thanks to Thomas Herve for the fix.
2008-02-15 08:20:11 +00:00
Neal Norwitz
e1027f9034
Use int for the sign rather than a char. char can be signed or unsigned.
...
It's system dependent. This might fix the problem with test_rfind failing.
2008-01-27 07:37:38 +00:00
Neal Norwitz
448654f1f8
Mostly reformat. Also set an error and return NULL if neither MS_WINDOWS
...
nor UNIX is defined. This may have caused problems on cygwin.
2008-01-27 07:36:03 +00:00
Neal Norwitz
739a3c40e6
Cleanup the code a bit. test_rfind is failing on PPC and PPC64 buildbots,
...
this might fix the problem.
2008-01-26 20:24:36 +00:00
Christian Heimes
501dbbfb70
Use Py_TYPE() instead of ->ob_type
2008-01-23 14:00:25 +00:00
Georg Brandl
d02fc48f67
Fix for #1087741 patch.
2008-01-22 19:56:03 +00:00
Georg Brandl
845c403c08
#1087741 : make mmap.mmap the type of mmap objects, not a
...
factory function. Allow it to be subclassed.
2008-01-21 14:16:46 +00:00
Georg Brandl
ef92802f73
Switch mmap from old Py_FindMethod to new PyObject_GenericGetAttr attribute access.
...
Fixes #1087735 .
2008-01-20 14:50:05 +00:00
Andrew M. Kuchling
5c60bfcfbf
Patch #976880 : add mmap .rfind() method, and 'end' paramter to .find().
...
Contributed by John Lenton.
2008-01-19 18:18:41 +00:00
Andrew M. Kuchling
7c22ccc3dd
Check for fd of -1 to save fsync() and fstat() call
2008-01-10 13:37:12 +00:00