diff options
-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 |