Use readdir instead of readdir_r
* libguile/filesys.c:
* configure.ac: Remove readdir_r / readdir64_r checks and usage.
glibc's impls are thread-safe, the _r variants are squirrely and now
deprecated in glibc, and it is expected that POSIX will mandate that
readdir{,64} be thread-safe already. See
https://sourceware.org/ml/libc-alpha/2016-02/msg00093.html.
This commit is contained in:
parent
8e20a991a9
commit
7ff3d3834d
2 changed files with 12 additions and 65 deletions
|
|
@ -773,7 +773,7 @@ AC_CHECK_HEADERS([assert.h crt_externs.h])
|
|||
AC_CHECK_FUNCS([DINFINITY DQNAN cexp chsize clog clog10 ctermid \
|
||||
fesetround ftime ftruncate fchown fchmod getcwd geteuid getsid \
|
||||
gettimeofday getuid getgid gmtime_r ioctl lstat mkdir mknod nice \
|
||||
readdir_r readdir64_r readlink rename rmdir setegid seteuid \
|
||||
readlink rename rmdir setegid seteuid \
|
||||
setlocale setuid setgid setpgid setsid sigaction siginterrupt stat64 \
|
||||
strptime symlink sync sysconf tcgetpgrp tcsetpgrp uname waitpid \
|
||||
strdup system usleep atexit on_exit chown link fcntl ttyname getpwent \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue