Subject: CVS commit: basesrc/bin/ps
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 02/21/2002 21:31:03
Module Name: basesrc
Committed By: martin
Date: Thu Feb 21 19:31:03 UTC 2002
Modified Files:
basesrc/bin/ps: print.c
Log Message:
Use int32_t for temporary variables (instead of long), that is the same
type as we get the data passed from the kernel. This avoids (missing)
sign extension bugs on LP64 systems and partly takes care of PR 15677.
We now print this values as negative seconds - still wrong, but that
probably is due to the simple way this values are acumulated in the
scheduler, causing negative times when ntpd steps time backwards.
To generate a diff of this commit:
cvs rdiff -r1.70 -r1.71 basesrc/bin/ps/print.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.