Declare system functions in a way that works with C++.
[gnulib.git] / ChangeLog
index 6dbe404..606b9fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,76 @@
+2011-07-21  Bruno Haible  <bruno@clisp.org>
+
+       Declare system functions in a way that works with C++.
+       * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR) [C++]: In the test program,
+       declare fdopendir as extern "C".
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS) [C++]: In the test program,
+       declare frexpl as extern "C".
+       * m4/getaddrinfo.m4 (gl_GETADDRINFO) [C++]: In the test program,
+       declare gai_strerror as extern "C".
+       * m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME) [C++]: In the test
+       programs, declare gai_strerror as extern "C".
+       * m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R) [C++]: In the test program,
+       declare getlogin_r as extern "C".
+       * m4/ioctl.m4 (gl_FUNC_IOCTL) [C++]: In the test program, declare ioctl
+       as extern "C".
+       * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS) [C++]: In the test program,
+       declare ldexpl as extern "C".
+       * m4/logb.m4 (gl_FUNC_LOGB) [C++]: In the test programs, declare logb
+       as extern "C".
+       * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS) [C++]: In the test
+       program, declare getmntinfo as extern "C".
+       * m4/stpncpy.m4 (gl_FUNC_STPNCPY) [C++]: In the test program, declare
+       stpncpy as extern "C".
+       * m4/strerror_r.m4 (gl_FUNC_STRERROR_R_WORKS) [C++]: In the test
+       program, declare __xpg_strerror_r as extern "C".
+       * m4/strndup.m4 (gl_FUNC_STRNDUP) [C++]: In the test program, declare
+       strndup as extern "C".
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT) [C++]: In the test program,
+       declare memset and bzero as extern "C".
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2011-07-12  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: prohibit inclusion of "verify.h" without use
+       * top/maint.mk (sc_prohibit_verify_without_use): New rule.
+
+2011-07-19  Pádraig Brady  <P@draigBrady.com>
+
+       timer-time: A new module to check for timer_settime()
+       * m4/timer_time.m4: Check for the posix function.
+       * modules/timer-time: Add the new module.
+       * MODULES.html.sh (Compat checks for POSIX:2008 functions):
+       Mention it.
+
+2011-07-19  Paul Eggert  <eggert@cs.ucla.edu>
+           Bruno Haible  <bruno@clisp.org>
+
+       pthread_sigmask: assume POSIX threads if --avoid=threadlib
+       * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): If gl_THREADLIB is
+       not defined, assume POSIX threads and look for pthread_sigmask in
+       $LIBS, without changing $CPPFLAGS.
+
+2011-07-19  Bruno Haible  <bruno@clisp.org>
+
+       strstr: Update cross-compilation guess.
+       * m4/strstr.m4 (gl_FUNC_STRSTR): On glibc > 2.12 with x86 or x86_64
+       CPUs, guess no, in view of glibc
+       BZ #12100 <http://sourceware.org/bugzilla/show_bug.cgi?id=12100>.
+       Suggested by Eric Blake. Reported by Reuben Thomas.
+
+2011-07-19  Pádraig Brady  <P@draigBrady.com>
+
+       getopt-gnu: suppress core dumps from detection code
+       * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Use the nocrash module
+       to suppress core dumps that may well occur on glibc systems.
+       * modules/getopt-gnu: Depend on nocrash.
+
+2011-07-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       pthread_sigmask: ensure usleep is declared
+       * lib/pthread_sigmask.c [PTHREAD_SIGMASK_UNBLOCK_BUG]:
+       Include <unistd.h>, to declare usleep.  Needed on Solaris 8,
+
 2011-07-15  Paul Eggert  <eggert@cs.ucla.edu>
 
        doc: Document NonStop portability issues.