Move and fix the obsolescence note.
[gnulib.git] / ChangeLog
index 059e847..b682679 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,133 @@
+2008-06-22  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/siginterrupt.texi: Move note.
+
+       * lib/signal.in.h (SA_RESTART): New macro.
+       * lib/sigaction.c: Update comment.
+
+       * m4/sigaction.m4 (gl_SIGACTION): Require gl_SIGNAL_H_DEFAULTS.
+
+       * m4/signalblocking.m4 (gl_PREREQ_SIG_HANDLER_H): New macro.
+       (gl_PREREQ_SIGPROCMASK): Invoke it.
+       * m4/sigaction.m4 (gl_PREREQ_SIGACTION): Likewise.
+
+       * lib/nanosleep.c (rpl_nanosleep): Setup newact only when it is needed.
+
+       * lib/sigprocmask.c: Update a comment.
+
+2008-06-21  Eric Blake  <ebb9@byu.net>
+
+       Use sigaction module rather than signal().
+       * modules/c-stack (Depends-on): Add sigaction.
+       * modules/fatal-signal (Depends-on): Likewise.
+       * modules/nanosleep (Depends-on): Likewise.
+       * modules/sigprocmask (Files): Add sig-handler.h.
+       * modules/sigaction (Files): Likewise.
+       * lib/sig-handler.h (get_handler): New file, suggested by Paul
+       Eggert.
+       * lib/c-stack.c (SIGACTION_WORKS): Simplify conditions.
+       (c_stack_action) [!SIGACTION_WORKS]: Use sigaction, not signal.
+       * lib/fatal-signal.c (uninstall_handlers, install_handlers)
+       (init_fatal_signals): Likewise.
+       * lib/nanosleep.c (rpl_nanosleep): Likewise.
+       (siginterrupt): Delete fallback.
+       * lib/sigprocmask.c (handler_t, old_handlers): Use sa_handler_t
+       instead.
+       * m4/nanosleep.m4 (gl_PREREQ_NANOSLEEP): Drop check for
+       siginterrupt.
+
+       New module sigaction, for mingw.
+       * modules/sigaction: New module...
+       * modules/sigaction-tests: ...and its test.
+       * m4/sigaction.m4: New file.
+       * lib/sigaction.c: Likewise.
+       * tests/test-sigaction.c: Likewise.
+       * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Add sigaction variables.
+       * modules/signal (Makefile.am): Likewise.
+       * lib/signal.in.h (!@HAVE_SIGACTION@): Define replacements when
+       needed.
+       * doc/posix-headers/signal.texi (signal.h): Mention provided
+       types.
+       * doc/posix-functions/siginterrupt.texi (siginterrupt): Mention
+       that sigaction is preferable.
+       * doc/posix-functions/sigaction.texi (sigaction): Mention new
+       module.
+       * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
+       sigaction.
+
+       Improve robustness of sigprocmask by overriding signal.
+       * lib/signal.in.h (rpl_signal): Override signal when sigprocmask
+       is in use.
+       * lib/sigprocmask.c (blocked_handler): Reinstall block handler.
+       (SIGKILL, SIGSTOP): Provide fallbacks.
+       (rpl_signal): Implement.
+       (old_handlers, blocked_set): Mark volatile, since sigprocmask and
+       signal can be called inside handlers.
+
+       Fix nanosleep module on mingw.
+       * modules/nanosleep (Depends-on): Add sys_select.
+       * lib/nanosleep.c (HAVE_SYS_SELECT_H): Rely on gnulib module.
+
+       Fix licensing of sigprocmask.
+       * modules/raise (License): Relicense as LGPL.
+
+2008-06-21  Bruno Haible  <bruno@clisp.org>
+
+       * lib/propername.c (proper_name_utf8): Don't use the transliterated
+       result if it contains question marks.
+       Reported by Michael Geng <linux@michaelgeng.de>.
+
+2008-06-19  Bruno Haible  <bruno@clisp.org>
+
+       Fix CVS-ism.
+       * doc/gnulib.texi: Include updated-stamp.texi.
+       * doc/Makefile (GNULIB_TEXI_FILES): New variable.
+       (updated-stamp.texi): New rule.
+       (gnulib.info): Depend on it.
+       * doc/.gitignore: Add updated-stamp.texi.
+       Based on a patch by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-06-19  Bruno Haible  <bruno@clisp.org>
+
+       * doc/Makefile (gnulib.info): Update and simplify dependencies.
+       Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-06-19  Eric Blake  <ebb9@byu.net>
+
+       Fix VPATH 'make dist' with GNU make and non-VCS tarball.
+       * top/GNUmakefile (_curr-ver): Don't use $(srcdir) unnecessarily.
+       Reported by Stepan Kasal.
+
+2008-06-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fatal-signal.c (init_fatal_signals): Add comment.
+       Reported by Eric Blake.
+
+2008-06-18  Eric Blake  <ebb9@byu.net>
+
+       Work around cygwin 1.5.25 strsignal bug.
+       * tests/test-strsignal.c: Allow for const char *.
+       * doc/glibc-functions/strsignal.texi (strsignal): Document the bug.
+
+2008-06-18  Simon Josefsson  <simon@josefsson.org>
+
+       * users.txt: Update URL to article and add author/date
+       information.
+
+2008-06-17  Bruno Haible  <bruno@clisp.org>
+
+       New macro gl_DISABLE_THREADS.
+       * m4/lock.m4 (gl_LOCK_EARLY_BODY): Use value gl_use_threads_default
+       if the user did not pass --enable-threads or --disable-threads option.
+       (gl_DISABLE_THREADS): New macro.
+       Reported by Eric Blake <ebb9@byu.net>.
+
+2008-06-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/tls.h (gl_tls_key_init): Evaluate the destructor argument also
+       when the macro ignores it.
+       Based on a patch by Eric Blake <ebb9@byu.net>.
+
 2008-06-17  Bruno Haible  <bruno@clisp.org>
 
        * modules/tls (License): Change to LGPLv2+.