summaryrefslogtreecommitdiff
path: root/Modules/mmapmodule.c
AgeCommit message (Expand)AuthorLines
2009-06-29Issue #6344: Fixed a crash of mmap.read() when passed a negative argument.Hirokazu Yamamoto-3/+13
2009-06-14Issue #6271: mmap tried to close invalid file handle (-1) when annonymous.Hirokazu Yamamoto-1/+2
2009-04-01bounds check arguments to mmap.move(). All of them. Really.Jack Diederich-9/+9
2009-03-31Issue #5387: Fixed mmap.move crash by integer overflow. (take2)Hirokazu Yamamoto-1/+1
2009-03-31Apply patch for netbsd multiprocessing supportJesse Noller-1/+5
2009-03-31Issue #5387: Fixed mmap.move crash by integer overflow.Hirokazu Yamamoto-4/+2
2009-03-05Issue #5385: Fixed mmap crash after resize failure on windows.Hirokazu Yamamoto-6/+13
2009-02-28Issue #1733986: Fixed mmap crash in accessing elements of second map objectHirokazu Yamamoto-1/+1
2009-02-28Issue #5386: mmap.write_byte didn't check map size, so it could cause bufferHirokazu Yamamoto-4/+11
2009-02-17Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,Hirokazu Yamamoto-2/+2
2009-02-17Issue #5292: Fixed mmap crash on its boundary access m[len(m)].Hirokazu Yamamoto-2/+2
2008-08-19Fix strange character in the docstring.Thomas Heller-1/+1
2008-07-31Security patches from Apple: prevent int overflow when allocating memoryNeal Norwitz-1/+1
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-18/+18
2008-05-26Renamed PyString to PyBytesChristian Heimes-18/+18
2008-02-17Issue 2112. mmap does not raises EnvironmentError no more, butFacundo Batista-1/+4
2008-02-15Bug #2111: mmap segfaults when trying to write a block opened with PROT_READChristian Heimes-0/+4
2008-01-27Use int for the sign rather than a char. char can be signed or unsigned.Neal Norwitz-1/+1
2008-01-27Mostly reformat. Also set an error and return NULL if neither MS_WINDOWSNeal Norwitz-15/+13
2008-01-26Cleanup the code a bit. test_rfind is failing on PPC and PPC64 buildbots,Neal Norwitz-7/+7
2008-01-23Use Py_TYPE() instead of ->ob_typeChristian Heimes-1/+1
2008-01-22Fix for #1087741 patch.Georg Brandl-1/+1
2008-01-21#1087741: make mmap.mmap the type of mmap objects, not aGeorg Brandl-20/+27
2008-01-20Switch mmap from old Py_FindMethod to new PyObject_GenericGetAttr attribute a...Georg Brandl-10/+36
2008-01-19Patch #976880: add mmap .rfind() method, and 'end' paramter to .find().Andrew M. Kuchling-5/+34
2008-01-10Check for fd of -1 to save fsync() and fstat() callAndrew M. Kuchling-2/+4
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-1/+1
2007-10-31Fix some compiler warnings for signed comparisons on Unix and Windows.Neal Norwitz-2/+2
2007-10-23Add phuang patch from Issue 708374 which adds offset parameter to mmap module.Travis E. Oliphant-34/+75
2007-08-28Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters-1/+151
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-3/+2
2006-08-22Alexander Belopolsky pointed out that pos is a size_tNeal Norwitz-1/+1
2006-08-21Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-devNeal Norwitz-1/+1
2006-08-13Get rid of compiler warningNeal Norwitz-2/+2
2006-08-13Check return result of PyModule_GetDict().Neal Norwitz-22/+24
2006-08-12Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz-22/+8
2006-06-10Patch #1495999: Part two of Windows CE changes.Martin v. Löwis-0/+3
2006-05-29Make use of METH_O and METH_NOARGS where possible.Georg Brandl-20/+10
2006-05-29Correct some value converting strangenesses.Georg Brandl-3/+3
2006-03-07Checking in the code for PEP 357.Guido van Rossum-17/+8
2006-02-27More unconsting.Martin v. Löwis-2/+2
2006-02-18Fix typo.Martin v. Löwis-1/+1
2006-02-18Fix size computation on Win64.Martin v. Löwis-12/+46
2006-02-17Fix typo.Thomas Wouters-1/+1
2006-02-17Remove size restrictions.Martin v. Löwis-29/+19
2006-02-17mmap_flush_method(): Squash compiler warning aboutTim Peters-2/+2
2006-02-17Remove space between function name and left parenTim Peters-94/+92
2006-02-16Removed pointless parens around `return` expressions;Tim Peters-22/+20
2006-02-16Trimmed trailing whitespace.Tim Peters-41/+41
2006-02-16new_mmap_object(), Windows flavor.Tim Peters-2/+16