[Python-checkins] r46275 - python/branches/release24-maint/Lib/plat-mac/applesingle.py
ronald.oussoren
python-checkins at python.org
Fri May 26 11:13:43 CEST 2006
Author: ronald.oussoren
Date: Fri May 26 11:13:42 2006
New Revision: 46275
Modified:
python/branches/release24-maint/Lib/plat-mac/applesingle.py
Log:
backport of byteorder issues in applesingle
Modified: python/branches/release24-maint/Lib/plat-mac/applesingle.py
==============================================================================
--- python/branches/release24-maint/Lib/plat-mac/applesingle.py (original)
+++ python/branches/release24-maint/Lib/plat-mac/applesingle.py Fri May 26 11:13:42 2006
@@ -25,14 +25,14 @@
pass
# File header format: magic, version, unused, number of entries
-AS_HEADER_FORMAT="LL16sh"
+AS_HEADER_FORMAT=">LL16sh"
AS_HEADER_LENGTH=26
# The flag words for AppleSingle
AS_MAGIC=0x00051600
AS_VERSION=0x00020000
# Entry header format: id, offset, length
-AS_ENTRY_FORMAT="lll"
+AS_ENTRY_FORMAT=">lll"
AS_ENTRY_LENGTH=12
# The id values
More information about the Python-checkins
mailing list