From 14e4ca4dde031b335e176954ab3d3a41671e9432 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Fri, 26 May 2006 09:13:42 +0000 Subject: [PATCH] backport of byteorder issues in applesingle --- Lib/plat-mac/applesingle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/plat-mac/applesingle.py b/Lib/plat-mac/applesingle.py index 7bbe8af8cc12..77774182a8ff 100644 --- a/Lib/plat-mac/applesingle.py +++ b/Lib/plat-mac/applesingle.py @@ -25,14 +25,14 @@ class Error(ValueError): 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 -- 2.47.3