[PATCH 1/1] fhandler_process.cc(format_process_stat): fix /proc/pid/stat issues

Corinna Vinschen corinna-cygwin@cygwin.com
Wed May 11 08:03:04 GMT 2022


On May 10 08:44, Brian Inglis wrote:
> 
> fix tty_nr maj/min bits, vmmaxrss units, and x86 format mismatch:
> ctty maj is 31:16, min is 15:0; tty_nr s/b maj 15:8, min 31:20, 7:0;
> vmmaxrss s/b bytes not pages;
> times all 64 bit - change formats of first two instances from %lu to %U;
> realign sprintf formats and variables/values in more logical groups
> ---
>  winsup/cygwin/fhandler_process.cc | 33 +++++++++++++++++++------------
>  1 file changed, 20 insertions(+), 13 deletions(-)
> 

Pushed.


Thanks,
Corinna


More information about the Cygwin-patches mailing list