This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: normalize x86 os.arch for non-Windows platforms
- From: Tom Tromey <tromey at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 14 Feb 2005 12:19:07 -0700
- Subject: Re: Patch: normalize x86 os.arch for non-Windows platforms
- References: <1108326181.5427.9.camel@localhost.localdomain>
- Reply-to: tromey at redhat dot com
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
Anthony> 2005-02-13 Anthony Green <green@redhat.com>
Anthony> * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
Anthony> architecture names to "i386" for compatibility reasons. Win32
Anthony> still uses "x86".
Anthony> + // is handled in win32.cc).
Anthony> + if (u.machine[0] == 'i'
Anthony> + && u.machine[2] == '8'
Anthony> + && u.machine[3] == '6'
Anthony> + && u.machine[4] == 0)
Could you add '&& u.machine[1] != 0' in there?
Maybe this is overly pedantic.
Otherwise this is ok, thanks.
Tom