Hash :
56bc1eda
Author :
Date :
2024-07-24T23:35:53
Avoid false error close_used_without_requesting_gnulib_module_close. Reported by Frédéric at <https://savannah.gnu.org/bugs/?65958>. * modules/close (configure.ac): Invoke gl_MODULE_INDICATOR. * lib/unistd.in.h (close): Don't define to close_used_without_requesting_gnulib_module_close if the gnulib module 'close' is in use under the same configure.ac.
Description:
close() function: close a file or socket.
Files:
lib/close.c
m4/close.m4
Depends-on:
unistd
fd-hook [test $REPLACE_CLOSE = 1]
msvc-inval [test $REPLACE_CLOSE = 1]
configure.ac:
gl_FUNC_CLOSE
gl_CONDITIONAL([GL_COND_OBJ_CLOSE], [test $REPLACE_CLOSE = 1])
gl_UNISTD_MODULE_INDICATOR([close])
gl_MODULE_INDICATOR([close])
Makefile.am:
if GL_COND_OBJ_CLOSE
lib_SOURCES += close.c
endif
Include:
<unistd.h>
License:
LGPLv2+
Maintainer:
Paolo Bonzini, Simon Josefsson