summaryrefslogtreecommitdiffstats
path: root/linenoise
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-22 06:21:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-22 06:21:33 -0700
commitb2735927060a866ff863370a20f00f3a5e73ef38 (patch)
tree7b7d8d6686945dd301b812620083c4f0a71dcd08 /linenoise
parentd9f9ae14ba19c519b08ac41467d9c8ab94b2280f (diff)
downloadtxr-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 'linenoise')
0 files changed, 0 insertions, 0 deletions