• Greg Stein's avatar
    Fix the .find() method for memory maps. · 834f4dd7
    Greg Stein authored
    1) it didn't obey the "start" parameter (and when it does, we must validate
       the value)
    2) the return value needs to be an absolute index, rather than relative to
       some arbitrary point in the file
    
    (checking CVS, it appears this method never worked; these changes bring it
     into line with typical .find() behavior)
    834f4dd7
mmapmodule.c 22.8 KB