demo/python/mmap.py: Fix buffer wraparound bug.
authorIan Abbott <abbotti@mev.co.uk>
Thu, 10 May 2012 12:49:57 +0000 (13:49 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 10 May 2012 12:49:57 +0000 (13:49 +0100)
commitac090c7bdfcaab4c741c5100a18d93b336694305
treea83343bb99bca1685955d280a20364e889f9dfe8
parentdbe3c77a3d692c52c2999683058e6c5eaabc117b
demo/python/mmap.py: Fix buffer wraparound bug.

Fix bug reported by Ross Williamson where the code does not deal with
buffer wraparound within a chunk of data.
demo/python/mmap.py