timer-time: A new module to check for timer_settime()
[gnulib.git] / ChangeLog
index 0e6eb43..9fa4f50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,116 @@
+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.
+       * doc/posix-functions/sigaction.texi (sigaction):
+       * doc/posix-headers/signal.texi (signal.h):
+       Document NonStop.  See Joachim Schmitz in
+       http://lists.gnu.org/archive/html/bug-coreutils/2011-07/msg00062.html
+
+2011-07-15  Bruno Haible  <bruno@clisp.org>
+
+       ffsl, ffsll: Avoid unportable behaviour.
+       * lib/ffsl.h (FUNC): Use 'unsigned int' instead of 'int'.
+
+2011-07-15  Bruno Haible  <bruno@clisp.org>
+
+       ffs: More tests.
+       * tests/test-ffs.c (NBITS): New macro.
+       (main): Add more tests.
+       * tests/test-ffsl.c (NBITS): New macro.
+       (main): Add more tests.
+       * tests/test-ffsll.c (NBITS): New macro.
+       (main): Add more tests.
+
+2011-07-15  Eric Blake  <eblake@redhat.com>
+
+       ffsl, ffsll: new modules
+       * modules/ffsl: New file.
+       * modules/ffsll: Likewise.
+       * m4/ffsl.m4: Likewise.
+       * m4/ffsll.m4: Likewise.
+       * lib/ffsl.c: Likewise.
+       * lib/ffsl.h: Likewise.
+       * lib/ffsll.c: Likewise.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_BODY)
+       (gl_HEADER_STRING_H_DEFAULTS): Add defaults.
+       * modules/string (Makefile.am): Substitute witnesses.
+       * lib/strings.in.h (ffsl, ffsll): Declare.
+       * modules/ffsl-tests: New test file.
+       * modules/ffsll-tests: Likewise.
+       * tests/test-ffsl.c: Likewise.
+       * tests/test-ffsll.c: Likewise.
+       * MODULES.html.sh (Integer arithmetic functions): Mention it.
+       * doc/glibc-functions/ffsl.texi (ffsl): Likewise.
+       * doc/glibc-functions/ffsll.texi (ffsll): Likewise.
+
+       ffs: fix m4 prerequisite
+       * m4/ffs.m4 (gl_FUNC_FFS): Require strings.h defaults.
+
+       ffs: avoid undefined behavior
+       * lib/ffs.c (ffs): Provide fallback for non-32-bit int.
+       * tests/test-ffs.c (naive, main): Avoid signed shifts.
+       Reported by Bruno Haible.
+
+2011-07-12  Bruno Haible  <bruno@clisp.org>
+
+       pthread_sigmask: Rely on module 'threadlib'.
+       * modules/pthread_sigmask (Depends-on): Add threadlib.
+       * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Assume gl_THREADLIB
+       is defined.
+
+2011-07-12  Bruno Haible  <bruno@clisp.org>
+
+       regex: Depend on module 'strcase'.
+       * modules/regex (Depends-on): Add strcase, for strcasecmp().
+
+2011-07-12  Jim Meyering  <meyering@redhat.com>
+
+       warn-on-use: fix typo in file name
+       * modules/snippet/warn-on-use (Files): Correct file name:
+       include /snippet/ component in "build-aux/snippet/warn-on-use.h".
+
+2011-07-12  Bruno Haible  <bruno@clisp.org>
+
+       strings: Document module.
+       * doc/posix-headers/strings.texi: Mention module 'strings'.
+
 2011-07-12  Bruno Haible  <bruno@clisp.org>
 
        Rename module '_Noreturn' to 'snippet/_Noreturn'.