summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-12 22:02:22 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-12 22:42:17 +0100
commitb8f59cdc20e9d83ce63523ef917e95fcee07f134 (patch)
tree15ebea7f4b9c0c170f68760ed9e2807cd6863e9e /doc
parent6a98b9f34e6190a2e1d11bedd5853aa94cf25ca7 (diff)
downloadguix-b8f59cdc20e9d83ce63523ef917e95fcee07f134.tar.gz
list-runtime-roots: Do not use 'lsof'.
This makes things a bit faster (0.8s instead of 1.4s on my laptop).

* nix/scripts/list-runtime-roots.in (lsof-roots): Remove.
(proc-fd-roots): Return the empty list when 'scandir' returns #f.
(referenced-files): New procedure.
Use it at the top level.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions