This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: byteorder issue in PyMac_GetOSType
Type: Stage:
Components: macOS Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen, ronaldoussoren
Priority: normal Keywords: patch

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:11adminsetgithub: 42073
2005-06-10 18:59:03ronaldoussorencreate