This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: [1.7] Cannot read /proc/stat


On Jun  8 11:29, Yaakov S wrote:
> Running 1.7.0-48 on Windows 7 RC (x64), 'cat /proc/stat' shows nothing  
> but exits 0.  Other /proc files are fine.  cygcheck output attached.

Confirmed.  The reason is that a datastructure on the NT level has
another size on 64 bit systems, and the WOW64 layer doesn't translate
the structure into the 32 bit format.  The function is unsupported, so
that makes sort of sense.  I'll create another solution using the
official function for to fetch that information.  Unfortunaltey it
doesn't exist on NT4, so I have to sp3cial case that(*)


Thanks for the report,
Corinna


(*) Is anybody here actually still using NT4?


-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]