On 29/07/2016 19:36, Martin Buchholz wrote:
I think keeping the status quo is the right outcome. The /proc filesystem
is intentionally providing incorrect information because providing correct
information is deemed to be too expensive (have to compute contents of file
for stat?). Reading /proc is sufficiently expensive that the extra realloc
of an empty buffer is noise. Be thankful that reading files in /proc works
at all!
and just to add that we have a file specifically for /proc as it used to
cause problems in early versions.
-Alan