]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport tim_one's checkin of
authorMichael W. Hudson <mwh@python.net>
Fri, 8 Mar 2002 13:40:07 +0000 (13:40 +0000)
committerMichael W. Hudson <mwh@python.net>
Fri, 8 Mar 2002 13:40:07 +0000 (13:40 +0000)
commit85717c768a2920ae15a39879cb676fe9f5c25f87
tree5f95038fbdecfac4135e37bc91ad0c1377443e0d
parentdb1752660157323a7c88a507a754726898eb1b97
backport tim_one's checkin of
    revision 2.38 of mmapmodule.c

SF bug 515943:  searching for data with \0 in mmap.
mmap_find_method():  this obtained the string to find via s#, but it
ignored its length, acting as if it were \0-terminated instead.

Someone please run on Linux too (the extended test_mmap works on Windows).

Bugfix candidate.
Modules/mmapmodule.c