Skip to content

fix ListOpenFilesJob and tests

Adriaan de Groot requested to merge work/adridg/freebsd-tests into master

This does two things:

  • fixes the logic in the procstat implementation to not call procstat_getpathname() -- it does the wrong thing, and the return-value handling was backwards anyway.
  • optimizes listopenfilesjob so that it doesn't recreate the current-processes-list so often (which might be expensive, and was very spammy on stderr before the first point, above)
Edited by Adriaan de Groot

Merge request reports