Ensure posix_spawnattr_{get,set}sched{policy,param} are defined.
[gnulib.git] / ChangeLog
index fea7fc1..e91b6cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,198 @@
+2010-03-07  Bruno Haible  <bruno@clisp.org>
+
+       Ensure posix_spawnattr_{get,set}sched{policy,param} are defined.
+       * lib/spawn.in.h (POSIX_SPAWN_SETSCHEDPARAM): Define fallback.
+       (POSIX_SPAWN_SETSCHEDULER): Likewise.
+       (POSIX_SPAWN_USEVFORK): Define in a way that works when
+       POSIX_SPAWN_SETSCHEDPARAM and POSIX_SPAWN_SETSCHEDULER are zero.
+       (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy): Also
+       declare when POSIX_SPAWN_SETSCHEDULER is zero.
+       (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam): Also
+       declare when POSIX_SPAWN_SETSCHEDPARAM is zero.
+       * m4/posix_spawn.m4 (gl_POSIX_SPAWN_BODY): Test whether
+       POSIX_SPAWN_SETSCHEDULER or POSIX_SPAWN_SETSCHEDPARAM are zero.
+       * modules/posix_spawnattr_getschedparam (configure.ac): Enable the
+       replacement also when POSIX_SPAWN_SETSCHEDPARAM is zero.
+       * modules/posix_spawnattr_setschedparam (configure.ac): Likewise.
+       * modules/posix_spawnattr_getschedpolicy (configure.ac): Enable the
+       replacement also when POSIX_SPAWN_SETSCHEDULER is zero.
+       * modules/posix_spawnattr_setschedpolicy (configure.ac): Likewise.
+       * lib/spawnattr_getschedparam.c (posix_spawnattr_getschedparam): Do
+       nothing if POSIX_SPAWN_SETSCHEDPARAM is zero.
+       * lib/spawnattr_setschedparam.c (posix_spawnattr_setschedparam):
+       Likewise.
+       * lib/spawnattr_getschedpolicy.c (posix_spawnattr_getschedpolicy): Do
+       nothing if POSIX_SPAWN_SETSCHEDULER is zero.
+       * lib/spawnattr_setschedpolicy.c (posix_spawnattr_setschedpolicy):
+       Likewise.
+       * tests/test-spawn.c (main): Make it work when
+       POSIX_SPAWN_SETSCHEDPARAM and POSIX_SPAWN_SETSCHEDULER are zero.
+
+2010-03-07  Bruno Haible  <bruno@clisp.org>
+
+       Fix incorrect Makefile.am generation in German locale.
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Execute sed command with character range in C locale.
+
+2010-03-06  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'iconv-h'.
+       * modules/iconv-h-tests: New file.
+       * tests/test-iconv-h.c: New file.
+
+       New module 'iconv-h'.
+       * modules/iconv-h: New file.
+       * modules/iconv_open (Files): Remove lib/iconv.in.h, m4/iconv_h.m4.
+       (Depends-on): Add iconv-h. Remove include_next, arg-nonnull.
+       (configure.ac): Remove gl_ICONV_H.
+       (Makefile.am): Remove rule for iconv.h.
+
+2010-03-06  Bruno Haible  <bruno@clisp.org>
+
+       More consistent naming of *.m4 files.
+       * m4/wctype_h.m4: Renamed from m4/wctype.m4.
+       * modules/wctype (Files): Update.
+
+       More consistent naming of *.m4 files.
+       * m4/wchar_h.m4: Renamed from m4/wchar.m4.
+       * modules/wchar (Files): Update.
+
+2010-03-06  Jim Meyering  <meyering@redhat.com>
+
+       euidaccess: relax license to LGPLv2+
+       * modules/euidaccess (License): Relax to LGPLv2+.
+
+2010-03-06  Bruno Haible  <bruno@clisp.org>
+
+       Prefer lib_SOURCES over unconditional AC_LIBOBJ.
+       * modules/exitfail (configure.ac): Remove AC_LIBOBJ invocation.
+       (Makefile.am): Augment lib_SOURCES instead.
+
+2010-03-04  Jim Meyering  <meyering@redhat.com>
+
+       utime: remove obsolete module
+       This module, like autoconf's AC_FUNC_UTIME_NULL macro, has been
+       unnecessary for years, and has been marked as obsolete for 10 months.
+       * modules/utime: Remove file.
+       * lib/utime.c: Remove file.
+       * m4/utime.m4: Remove file.
+       * m4/utimes-null.m4: Remove file.
+       * doc/posix-functions/utime.texi (utime): Remove reference to
+       the module.  Move the sole "fixed by gnulib" item into the
+       "problems not fixed by Gnulib" list.
+       * MODULES.html.sh (func_all_modules): Remove reference to "utime".
+
+2010-03-05  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/exit (License): Relax license to LGPLv2+.
+       (Status): Mark as obsolete.
+       * NEWS: Mention deprecated 'exit' module.
+       * doc/posix-functions/exit.texi: Recommend 'stdlib' module instead
+       of now obsolete 'exit'.
+
+2010-03-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       fts-lgpl: remove unused module
+       * modules/fts-lgpl: Remove.
+       * MODULES.html.sh (func_all_modules): Adjust.
+       * check-module (find_included_lib_files): Adjust.
+       * m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove.
+
+2010-03-02  Ben Walton  <bwalton@artsci.utoronto.ca>  (tiny change)
+
+       copy-acl: enhance Solaris ACL error handling
+       * lib/copy-acl.c (qcopy_acl): Also ignore EOPNOTSUPP.
+       * lib/set-mode-acl.c (qset_acl): Likewise.
+
+2010-03-02  Bruno Haible  <bruno@clisp.org>
+
+       spawn: Don't override the system defined values on FreeBSD 8.
+       * lib/spawn.in.h (POSIX_SPAWN_RESETIDS, POSIX_SPAWN_SETPGROUP,
+       POSIX_SPAWN_SETSIGDEF, POSIX_SPAWN_SETSIGMASK,
+       POSIX_SPAWN_SETSCHEDPARAM, POSIX_SPAWN_SETSCHEDULER): Don't redefine
+       if HAVE_POSIX_SPAWN is 1.
+       Reported by Johan van Selst <johans@stack.nl> via Eric Blake.
+
+2010-03-01  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (Initial import): Clarify the requirements
+       regarding Automake.
+
+2010-02-25  Bruno Haible  <bruno@clisp.org>
+
+       Fix breakage of gnulib-tool with ksh, introduced on 2010-02-21.
+       * gnulib-tool: Define 'echo' as a function only before the ksh alias
+       setting, not afterwards.
+       Reported by Ben Walton <bwalton@artsci.utoronto.ca>.
+
+2010-02-24  Eric Blake  <eblake@redhat.com>
+
+       bootstrap, git-version-gen: use timestamp
+       * build-aux/git-version-gen (scriptversion): Force UTC.
+       * build-aux/bootstrap (scriptversion): New variable.
+
+       bootstrap: allow older git
+       * build-aux/bootstrap (GNULIB_SRCDIR): Add fallback if git is
+       older than 1.6.4.  Requested by the libvirt project.
+
+2010-02-23  Eric Blake  <eblake@redhat.com>
+
+       warn-on-use: work with old autoconf
+       * m4/warn-on-use.m4 (gl_WARN_ON_USE_PREPARE): Accomodate older
+       AS_VAR semantics of autoconf 2.60.
+       Reported by Bruno Haible.
+
+       bootstrap: improve some comments
+       * build-aux/bootstrap: Drop unneeded emacs hint.  Add some
+       clarification comments.
+
+       gettimeofday: provide correct function
+       * lib/gettimeofday.c (gettimeofday): Provide rpl_gettimeofday only
+       when replacement is declared, otherwise provide gettimeofday.
+       Reported by Michael Goffioul.
+
+2010-02-23  Jim Meyering  <meyering@redhat.com>
+
+       lib-ignore: relax license to "unlimited", not LGPLv2+
+       * modules/lib-ignore (License): Relax to "unlimited".
+
+2010-02-23  Jim Meyering  <meyering@redhat.com>
+
+       lib-ignore: relax license to LGPLv2+
+       * modules/lib-ignore (License): Relax to LGPLv2+.
+
+2010-02-22  Eric Blake  <eblake@redhat.com>
+
+       lseek: avoid bash 3.2 broken pipe bug
+       * m4/lseek.m4 (gl_FUNC_LSEEK): Drain pipe, to avoid spurious
+       warning from bash 3.2.
+       Reported by Ben Pfaff, with analysis from Bruno Haible.
+
+       bootstrap: support non-FSF copyright holder
+       * build-aux/bootstrap (COPYRIGHT_HOLDER, with_gettext): Allow
+       bootstrap.conf override of COPYRIGHT_HOLDER.
+       (MSGID_BUGS_ADDRESS): Allow URL rather than email.
+
+       bootstrap: interoperate with gettext 0.14.1
+       * build-aux/bootstrap (slurp): Fix typo when using older gettext.
+
+       bootstrap: allow for alternate submodule location
+       * build-aux/bootstrap (gnulib_path): New variable; use instead of
+       hardcoding submodule location.
+       (gnulib_mk): Allow direct use of Makefile.am.
+
+       bootstrap: use GNULIB_SRCDIR to reduce disk usage
+       * build-aux/bootstrap (GNULIB_SRCDIR): If set, use as a reference,
+       rather than reconfiguring where the submodule points.
+
+       gettimeofday: restore support for platforms that lack function
+       * m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY): Also compile
+       replacement if function is missing.
+       * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_DEFAULTS): New witness.
+       * modules/sys_time (Makefile.am): Substitute it.
+       * lib/sys_time.in.h (gettimeofday): Check it.
+       Reported by Michael Goffioul.
+
 2010-02-21  Bruno Haible  <bruno@clisp.org>
 
        * lib/stdio.in.h (obstack_printf): Fix typo.
 
 2010-02-15  Jim Meyering  <meyering@redhat.com>
 
+       init.sh: improve portability and efficiency
+       * tests/init.sh (find_exe_basenames_): Remove unnecessary use of
+       "dummy" in a for loop.
+       Use '!', not '^' to select the complement of a character set used
+       in a "case" statement.
+       Use shell variable manipulation, a la ${...%.exe}, rather than sed.
+       Suggestions from Eric Blake.
+
+       init.sh: automatically accommodate programs with the .exe suffix
+       Automatically arrange for an invocation of "prog" to execute the
+       program named "prog$EXEEXT" (usually prog.exe).  Thus, all invocations
+       may use the simpler "prog", yet still work when built on a system
+       that requires specifying the added suffix.
+       Do this by constructing a function named "prog" that invokes
+       "prog.exe" for each .exe file in selected directories.
+       * tests/init.sh (find_exe_basenames_): New function.
+       (create_exe_shim_functions_): New function.
+       (path_prepend_): Use it.
+
        maint.mk: mark syntax-check sc_*.m rules as .PHONY
        * top/maint.mk ($(syntax-check-rules)): Add .PHONY, so that
        "make -t syntax-check" doesn't create a ton of sc_*.m files.