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

Re[4]: vmstat


Hello Chris,

Thursday, July 04, 2002, 2:52:59 PM, you wrote:

CJ> This is caused by the default alignment changing from 4 bytes to 8 bytes, as
CJ> far as i can tell. Basically the size of structure passed to the NT system
CJ> calls is not the size of structure the call expects, so it fails and the
CJ> program (top, uptime, etc.) gets stuck in a loop trying to read data.
CJ> I did add macros to ntdll.h to make sure the structures were aligned
CJ> correctly, but then Chris changed the alignment back so I removed them. I
CJ> shall let Chris comment on this.

Well there is definitely more then NT calls failing. uptime -V should
print the version and exit - but it doesn't. The strace ouput seems very
close to the one produced without the -V option. The same happens even
if an unrecognized options is passed.


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