Branch: Tag:

2020-10-09

2020-10-09 13:03:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ABS: Fixed typo.

2769: Inside #if undefined(__NT__)
     protected int get_vmem_usage()   { -  Stdio.Stat st = file_stat(sprintf("/proc/$d/as", getpid())); +  Stdio.Stat st = file_stat(sprintf("/proc/%d/as", getpid()));    // NB: On Linux the size in stat for all stuff in /proc is 0.    if (st && st->size) {    // Return the size of the address space.