commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r764406 - /commons/sandbox/runtime/trunk/src/main/native/os/linux/os.c
Date Mon, 13 Apr 2009 11:10:25 GMT
Author: mturk
Date: Mon Apr 13 11:10:24 2009
New Revision: 764406

URL: http://svn.apache.org/viewvc?rev=764406&view=rev
Log:
Return x86 if running 32 bit under ia64

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/linux/os.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/linux/os.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/linux/os.c?rev=764406&r1=764405&r2=764406&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/linux/os.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/linux/os.c Mon Apr 13 11:10:24 2009
@@ -88,7 +88,7 @@
 {
     struct utsname sys;
     if (!uname(&sys)) {
-        if (strstr(sys.machine, "86")) {
+        if (strstr(sys.machine, "86") || !strncmp(sys.machine, "ia", 2)) {
 #if CC_SIZEOF_VOIDP == 8
             return CSTR_TO_JSTRING(sys.machine);
 #else



Mime
View raw message