diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-22 06:21:33 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-22 06:21:33 -0700 |
commit | b2735927060a866ff863370a20f00f3a5e73ef38 (patch) | |
tree | 7b7d8d6686945dd301b812620083c4f0a71dcd08 /signal.h | |
parent | d9f9ae14ba19c519b08ac41467d9c8ab94b2280f (diff) | |
download | txr-b2735927060a866ff863370a20f00f3a5e73ef38.tar.gz txr-b2735927060a866ff863370a20f00f3a5e73ef38.tar.bz2 txr-b2735927060a866ff863370a20f00f3a5e73ef38.zip |
Optimization in path-private-to-me-p.
* share/txr/stdlib/path-test.tl (path-private-to-me-p): Use
mlet to initialize the g variable lazily, so that
getgrgid is only called when g is used. getgrid is a fairly
heavy-weight function, and it's only used to resolve
the case when a file is writable to the group owner
(is the user the only member of that group?)
Diffstat (limited to 'signal.h')
0 files changed, 0 insertions, 0 deletions