diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-11-16 11:06:24 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-21 17:39:38 +0200 |
commit | 273bfe7510da8ab740e65df11b72d9bb801885f3 (patch) | |
tree | dd7639cfb3b9f137289d3bc10044729dc18e2a12 /configure.ac | |
parent | 1ddc4eb964171a6ea9628b0c537040e0e10c8ad1 (diff) | |
download | guile-273bfe7510da8ab740e65df11b72d9bb801885f3.tar.gz |
Allow file ports in ‘chdir’ when supported.
* configure.ac: Check for ‘fchdir’.
* libguile/filesys.c
(scm_chdir): Support file ports.
(scm_init_filesys): Report support of file ports.
* doc/ref/posix.texi (Processes): Update accordingly.
* doc/ref/guile.texi: Add copyright line for new documentation in this
patch and later patches.
* test-suite/tests/filesys.test ("chdir"): Test it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 52a844fe8..97fafaad0 100644 --- a/configure.ac +++ b/configure.ac @@ -516,7 +516,8 @@ AC_CHECK_HEADERS([crt_externs.h]) # pipe2 - non-POSIX, found in glibc (GNU/Linux and GNU/Hurd) # AC_CHECK_FUNCS([DINFINITY DQNAN cexp chsize clog clog10 ctermid \ - fesetround ftime ftruncate fchown fchmod getcwd geteuid getsid \ + fesetround ftime ftruncate fchown fchmod fchdir \ + getcwd geteuid getsid \ gettimeofday getuid getgid gmtime_r ioctl lstat mkdir mkdtemp mknod \ nice readlink rmdir setegid seteuid \ setuid setgid setpgid setsid sigaction siginterrupt stat64 \ |