diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-11-16 11:06:25 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-21 17:39:38 +0200 |
commit | 30247dc414fb38329f580b1d41abbe202285adbe (patch) | |
tree | 65ba8b4cbd3ef778c6b58fefabfe553bb53b38e0 /libguile/posix.c | |
parent | 273bfe7510da8ab740e65df11b72d9bb801885f3 (diff) | |
download | guile-30247dc414fb38329f580b1d41abbe202285adbe.tar.gz |
Allow file ports in ‘readlink’.
* configure.ac: Detect whether ‘readlinkat’ is defined.
* libguile/filesys.c (scm_readlink): Support file ports
when ‘readlinkat’ exists.
(scm_init_filesys): Provide ‘chdir-ports’ when it exists.
* doc/ref/posix.texi (File System): Document it.
* test-suite/tests/filesys.test ("readlink"): Test it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'libguile/posix.c')
0 files changed, 0 insertions, 0 deletions