Issue 1218421: byteorder issue in PyMac_GetOSType (original) (raw)

Issue1218421

Created on 2005-06-10 18:59 by ronaldoussoren, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
mactoolboxglue.diff ronaldoussoren,2005-06-10 18:59
Messages (2)
msg48453 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2005-06-10 18:59
The attached patch fixes an issue with byte order in PyMac_GetOSType (and its reverse). These functions convert from an OSType to a string (and back) by interpreting an OSType as a 4-byte string. This is not correct if you're not on a big-endian system, such as some of the future Apple systems. The attached patch is for python 2.4.1.
msg48454 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-04-17 13:41
Logged In: YES user_id=580910 Fixed in revision 45487 on the trunk
History
Date User Action Args
2022-04-11 14:56:11 admin set github: 42073
2005-06-10 18:59:03 ronaldoussoren create