Fix for shared data size conflict
New method to determine bitness
detaint to keep perl from complaining
Merge pull request #462 from knnniggett/memory

Fix for shared data size conflict