delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/08/18/17:30:31

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: Reporting processor type correctly for win98
18 Aug 1998 17:30:31 -0700 :
Message-ID: <19980818170900.00359.cygnus.cygwin32.developers@cygnus.com>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980816194423 DOT 007d1d00 AT mail DOT mel DOT cybec DOT com DOT au>
Mime-Version: 1.0
To: Trevor Yann <TYann AT vet DOT com DOT au>
Cc: cygwin32-developers AT cygnus DOT com

I committed this change.  Thanks!
-gjn

On Sun, Aug 16, 1998 at 07:44:23PM +1000, Trevor Yann wrote:
> It seems that processor type is reported the same under both windows 95 and
> windows 98. This fix allows the processor type to be reported correctly
> under Windows 98.
> 
> uname.cc	(uname): report processor type for win98
> 
> diff -ur winsup.original/uname.cc winsup/uname.cc
> --- winsup.original/uname.cc	Wed Jun 10 00:55:02 1998
> +++ winsup/uname.cc	Sun Aug 16 19:39:32 1998
> @@ -67,6 +67,7 @@
>          switch (os_being_run)
>            {
>              case win95:
> +            case win98:
>                /* dwProcessorType only valid in Windows 95 */
>                if ((sysinfo.dwProcessorType == PROCESSOR_INTEL_386) ||
>                    (sysinfo.dwProcessorType == PROCESSOR_INTEL_486) ||

-- 
Geoffrey Noer
noer AT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019