view modules/fd-hook @ 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 2a759eae20a0
children 1f14c6dd175d
line wrap: on
line source

Description:
Hook for making file descriptor functions (close(), ioctl()) extensible.

Files:
lib/fd-hook.h
lib/fd-hook.c

Depends-on:
unistd

configure.ac:

Makefile.am:
lib_SOURCES += fd-hook.c

Include:
"fd-hook.h"

License:
LGPLv2+

Maintainer:
Bruno Haible