This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

BUG: Uname -m and arch


Hello.

I happen to trip over a bug with uname.

On my system, "uname -m" returns "i686". This is incorrect. I only have a 200MHz
Pentium MMX, and a "i686" is equivalent to a Pentium Pro class CPU. It should be
returning "i586".

I took a peek at source module uname.cc and the code there is incorrect. It is
not taking the Win9X/ME vs. NT/2K/XP issue into account.

The following post dated from 1997 explains the problem:

  http://sources.redhat.com/ml/cygwin/1997-05/msg00655.html

The following post from the same 1997 thread contains the CORRECT code:

  http://sources.redhat.com/ml/cygwin/1997-05/msg00696.html

Thanks.

--
"Fish" (David B. Trout)
   fish@infidels.org


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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