mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
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>
This commit is contained in:
parent
1ddc4eb964
commit
273bfe7510
5 changed files with 71 additions and 4 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue