This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: normalize x86 os.arch for non-Windows platforms


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]