summaryrefslogtreecommitdiff
path: root/common/path.c
diff options
context:
space:
mode:
authorLeonardo Brondani Schenkel <leo@tradeshift.com>2018-05-28 16:18:05 +0200
committerDaiki Ueno <ueno@gnu.org>2018-09-12 14:51:20 +0200
commitf4a9fa674e17cc470d9280237032f18a70313d8e (patch)
tree97f14faaeaea253b34f65ffaf6101d5bda2ac562 /common/path.c
parent7f1df14e041c6de9603a4720753ca8f31e32b4ff (diff)
common: use /proc only on Linux
Non-Linux systems do not have /proc, so do not attempt to open it and eliminate an unnecessary access() syscall on those systems.
Diffstat (limited to 'common/path.c')
0 files changed, 0 insertions, 0 deletions