Re: [Python-Dev] test_gettext.py fails on 64-bit architectures

Aug. 31, 2000
11:22 p.m.
"MF" == Mark Favas <m.favas@per.dem.csiro.au> writes:
MF> Close, but no cigar - fixes the miscalculation of BE_MAGIC, MF> but "magic" is still read from the .mo file as MF> 0xffffffff950412de (the 64-bit rep of the 32-bit negative MF> integer 0x950412de) Thanks to a quick chat with Tim, who is always quick to grasp the meat of the issue, we realize we need to & 0xffffffff all the 32 bit unsigned ints we're reading out of the .mo files. I'll work out a patch, and check it in after a test on 32-bit Linux. Watch for it, and please try it out on your box. Thanks, -Barry
8939
Age (days ago)
8941
Last active (days ago)
1 comments
2 participants
participants (2)
-
bwarsaw@beopen.com
-
Mark Favas