You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/04/13 13:11:12 UTC
svn commit: r764407 -
/commons/sandbox/runtime/trunk/src/main/native/os/linux/os.c
Author: mturk
Date: Mon Apr 13 11:11:12 2009
New Revision: 764407
URL: http://svn.apache.org/viewvc?rev=764407&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=764407&r1=764406&r2=764407&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:11:12 2009
@@ -88,7 +88,7 @@
{
struct utsname sys;
if (!uname(&sys)) {
- if (strstr(sys.machine, "86") || !strncmp(sys.machine, "ia", 2)) {
+ if (strstr(sys.machine, "86") || !strcmp(sys.machine, "ia64")) {
#if CC_SIZEOF_VOIDP == 8
return CSTR_TO_JSTRING(sys.machine);
#else