diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-02 15:28:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-02 15:28:46 -0700 |
commit | de3082638e204aae1fa63a390967cbef082304bb (patch) | |
tree | 8a5042ec0e1ce6d4cc1a353f471ebe5d55d7432b /share | |
parent | ffe87454b93115be056a5ec99dd8300dafa9eb18 (diff) | |
download | txr-de3082638e204aae1fa63a390967cbef082304bb.tar.gz txr-de3082638e204aae1fa63a390967cbef082304bb.tar.bz2 txr-de3082638e204aae1fa63a390967cbef082304bb.zip |
New function: portable-abs-path-p.
* share/txr/stdlib/doc-syms.tl: Updated.
* stream.c (portable_abs_path_p): New function, exact copy of
old abs_path_p.
(abs_path_p): Rewritten to be specific to host platform. No
Windows-drive-like prefixes are checked on POSIX.
(stream_init): Register new function. Register abs-path-p
conditionally based on 258 compatibility.
* stream.h (portable_abs_path_p): Declared.
* txr.1: Documented, with compat notes.
Diffstat (limited to 'share')
-rw-r--r-- | share/txr/stdlib/doc-syms.tl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/txr/stdlib/doc-syms.tl b/share/txr/stdlib/doc-syms.tl index 243493a7..cf061a69 100644 --- a/share/txr/stdlib/doc-syms.tl +++ b/share/txr/stdlib/doc-syms.tl @@ -1485,7 +1485,7 @@ ("make-zstruct" "N-03855D2D") ("fnm-leading-dir" "N-0330E15A") ("enametoolong" "N-036B1BDB") - ("abs-path-p" "N-0255B4F1") + ("abs-path-p" "N-00477B23") ("rng" "N-00BEA6DF") ("collect-each*" "N-0105F01D") ("dump-compiled-objects" "N-02FE7607") @@ -1719,6 +1719,7 @@ ("ignerr" "N-007287AC") (":match" "N-03B92C0D") ("set-max-length" "N-031FA9E5") + ("portable-abs-path-p" "N-00477B23") ("whena" "N-005C93DF") ("find" "N-005431FF") ("base64-decode" "N-01B05083") |