Skip to contentSkip to conversation

Added auxbin module, for handling auxillary binaries.

Xen-changelog Jeremy Katz 2 participants 2 messages Oct 11, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Review

Quoted 6 lines · Xen patchbot -unstable
(quoted diff) +6 -0
+def path():
+    machine = os.uname()[4]
+    if machine.find('64') != -1 and os.path.exists(LIB_BIN_64):
+        return LIB_BIN_64
+    else:
+        return LIB_BIN_32

This will break on ia64. Itanium doesn't use lib64 paths. So you really want to check against explicit values for the arch

Jeremy

#2 lore raw
Quoted 10 lines · Jeremy Katz

Review

Quoted 6 lines · Xen patchbot -unstable
(quoted diff) +6 -0
+def path():
+    machine = os.uname()[4]
+    if machine.find('64') != -1 and os.path.exists(LIB_BIN_64):
+        return LIB_BIN_64
+    else:
+        return LIB_BIN_32

This will break on ia64. Itanium doesn't use lib64 paths. So you really want to check against explicit values for the arch

So could you tell me which path I should use for which uname -m?

Ewan.