Hash :
34a93be8
Author :
Date :
2022-04-26T14:54:26
glob: port to NetBSD 9.2 Problem reported by Benno Schulenberg in: https://lists.gnu.org/r/bug-gnulib/2022-04/msg00052.html * doc/posix-functions/dirfd.texi: Document NetBSD 9.2 portability bugs. Remove an old common about errno that is no longer true of POSIX 2018. * lib/glob.c (glob_in_dir): Convert dirfd arg from void * to DIR * before passing it to dirfd.
@node dirfd
@section @code{dirfd}
@findex dirfd
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/dirfd.html}
Gnulib module: dirfd
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, AIX 7.1, HP-UX 11, Solaris 10, mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function always fails on some platforms:
mingw.
@item
There is a @code{dirfd} macro but no function, and the macro does not
work with an argument of type @code{void *}, as a function would:
NetBSD 9.2.
@end itemize