Mercurial > gnulib
view modules/readdir @ 37227:71cf3cc49683
fpending: fix regression on DragonFly BSD
Commit 3f5bf99e claimed that it is safe to declare __fpending twice,
but in reality this caused a regression on Dragonfly BSD. Reported by
GW in <https://lists.gnu.org/archive/html/bug-m4/2013-11/msg00000.html>,
<https://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00022.html>.
* m4/fpending.m4 (gl_FUNC_FPENDING): Check for declaration.
* lib/fpending.h (__fpending): Don't declare twice.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Fri, 08 Nov 2013 06:33:43 -0700 |
parents | 4324df408f5a |
children | 1f14c6dd175d |
line wrap: on
line source
Description: readdir() function: read the next entry of a directory Files: lib/readdir.c lib/dirent-private.h m4/readdir.m4 Depends-on: dirent largefile configure.ac: gl_FUNC_READDIR if test $HAVE_READDIR = 0; then AC_LIBOBJ([readdir]) fi gl_DIRENT_MODULE_INDICATOR([readdir]) Makefile.am: Include: <dirent.h> License: LGPL Maintainer: Bruno Haible