Red Hat Bugzilla – Bug 218778
shmmodule, write() fails on 64 bit systems
Last modified: 2007-11-30 17:11:51 EST
Description of problem:
On a 64 bit system the write() method of a shared memory object fails or writes
to a wrong memory location. In PyShmMemory_write(), PyArg_ParseTuple() is called
with an incorrect argument ("s#" requires a pointer to an int, not a pointer to
a long for the string's length).
Small patch attached ...
Created attachment 143057 [details]
fix write() method on 64 bit systems
The shmmodule isn't included in python as of python 2.5. I've committed the fix
to CVS so that if we do an update for FC6, it'll go out there.