]> granicus.if.org Git - python/commit
SF bug 515943: searching for data with \0 in mmap.
authorTim Peters <tim.peters@gmail.com>
Fri, 8 Mar 2002 05:43:32 +0000 (05:43 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 8 Mar 2002 05:43:32 +0000 (05:43 +0000)
commitc9ffa068d1d1dc93f620994a532f219a4be08385
tree5fcedce005ed23f1afd1eb221ce6a71dfc0bd5fb
parent02d2212c8ebadac24272541f2607a784415c606e
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.
Lib/test/test_mmap.py
Modules/mmapmodule.c