diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-06-18 11:39:25 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-06-18 11:39:25 -0700 |
commit | 34c1379ff76e990292160f39dc93a386d3eec941 (patch) | |
tree | bc278881be19d8a0fc6405a9c193dc3b70e65040 /src/property/file.lisp | |
parent | d4272a160c2a3d8ad8c8d3dcc9e61099182cbc30 (diff) | |
download | consfigurator-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.lisp | 3 |
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 |