aboutsummaryrefslogtreecommitdiff
path: root/src/property/file.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-18 11:39:25 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-06-18 11:39:25 -0700
commit34c1379ff76e990292160f39dc93a386d3eec941 (patch)
treebc278881be19d8a0fc6405a9c193dc3b70e65040 /src/property/file.lisp
parentd4272a160c2a3d8ad8c8d3dcc9e61099182cbc30 (diff)
downloadconsfigurator-34c1379ff76e990292160f39dc93a386d3eec941.tar.gz
FILE::REMOTE-LINK-TARGET: expand comment
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/file.lisp')
-rw-r--r--src/property/file.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/property/file.lisp b/src/property/file.lisp
index 5ab8f5b..abc4134 100644
--- a/src/property/file.lisp
+++ b/src/property/file.lisp
@@ -179,7 +179,8 @@ Uses CL-PPCRE:REGEX-REPLACE, which see for the syntax of REPLACE."
;; likewise assume it was already there
:no-change))
-;; readlink(1) is not POSIX
+;; readlink(1) is not POSIX. This is a safe parse of ls(1) output given its
+;; POSIX specification.
(defun remote-link-target (symlink)
(loop with s = (stripln (run :env '(:LC_ALL "C") "ls" "-ld" symlink))
and found = 0 and just-found