sigprocmask: Avoid crashes through signal() on MSVC 9.
[gnulib.git] / ChangeLog
index f6d7f09..32b8c04 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,43 @@
 2011-09-23  Bruno Haible  <bruno@clisp.org>
 
+       sigprocmask: Avoid crashes through signal() on MSVC 9.
+       * lib/sigprocmask.c: Include msvc-inval.h.
+       (signal_nothrow): New function.
+       (signal): Redefine it.
+       * m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK): Require AC_C_INLINE.
+       * modules/sigprocmask (Depends-on): Add msvc-inval.
+       * doc/posix-functions/signal.texi: Mention the problem on MSVC.
+
+2011-09-23  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'raise'.
+       * modules/raise-tests: New file.
+       * tests/test-raise.c: New file.
+
+       raise: Support for MSVC.
+       * lib/signal.in.h (raise): New declaration.
+       * lib/raise.c (raise_nothrow, rpl_raise): New alternate implementation
+       for native Windows platforms.
+       * m4/raise.m4: New file.
+       * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Initialize GNULIB_RAISE,
+       HAVE_RAISE, REPLACE_RAISE.
+       * modules/signal (Makefile.am): Substitute GNULIB_RAISE, HAVE_RAISE,
+       REPLACE_RAISE.
+       * modules/raise (Status, Notice): Remove fields.
+       (Files): Add m4/raise.m4.
+       (Depends-on): Add signal, msvc-inval.
+       (configure.ac): Use the common idioms.
+       (Maintainer): Add me.
+       * tests/test-signal-c++.cc: Check the signature of raise.
+       * doc/posix-functions/raise.texi: Mention the problem on MSVC.
+
+2011-09-23  Bruno Haible  <bruno@clisp.org>
+
+       pipe2: Fix compilation on pre-C99 compilers.
+       * lib/pipe2.c (pipe2): Surround verify(...) declaration with braces.
+
+2011-09-23  Bruno Haible  <bruno@clisp.org>
+
        New module 'msvc-nothrow'. Makes _get_osfhandle safe on MSVC 9.
        * lib/msvc-nothrow.h: New file.
        * lib/msvc-nothrow.c: New file.