extern-inline: work around bug in Sun c99
[gnulib.git] / ChangeLog
index 4b936ea..49bd6b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,164 @@
+2013-04-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       extern-inline: work around bug in Sun c99
+       * m4/extern-inline.m4 (_GL_INLINE, _GL_EXTERN_INLINE):
+       Work around bug in Sun C 5.12 c99's implementation of 'inline'.
+
+2013-04-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       qacl: new module, broken out from the acl module
+       This is for GNU Emacs, which wants the acl functions but does
+       not want 'error' invoked when they fail.
+       * lib/acl-internal.h: Do not include error.h, quote.h.
+       (ENOSYS, ENOTSUP): Remove; no longer needed.
+       (ACL_NOT_WELL_SUPPORTED): Remove; replaced by acl_errno_valid.
+       * lib/acl.h: Include <stdbool.h>.
+       (acl_errno_valid): New function.
+       * lib/copy-acl.c, lib/set-acl.c: Include errno,h, not acl-internal.h.
+       * lib/copy-acl.c (qcopy_acl): Move to lib/qcopy-acl.c.
+       * lib/set-acl.c: Rename from lib/set-mode-acl.c.
+       (chmod_or_fchmod, qset_acl): Move to lib/qset-acl.c.
+       (ACL_INTERNAL_INLINE): Remove; no longer needed.
+       * lib/file-has-acl.c (file_has_acl):
+       * lib/qcopy-acl.c (qcopy_acl):
+       * lib/qset-acl.c (qset_acl):
+       Use acl_errno_valid instead of ACL_NOT_WELL_SUPPORTED.
+       * modules/acl (Files): Move lib/acl.h, lib/acl-internal.h,
+       lib/acl_entries.c, lib/set-mode-acl.c (renamed to lib/set-acl.c),
+       lib/file-has-acl.c, m4/acl.m4 to qacl module.
+       Add lib/set-acl.c.
+       (Depends-on): Move extern-inline, fstat, sys_stat to qacl module.
+       Add qacl.
+       (configure.ac): Move gl_FUNC_ACL to qacl module.
+       (lib_SOURCES): Remove file-has-acl.c (moved to qacl module).
+       Rename set-mode-acl.c to set-acl.c.
+       * lib/acl-errno-valid.c: New file.
+       * lib/qcopy-acl.c: New file, moved from the old lib/copy-acl.c; the
+       copy_acl function remains in copy-acl.c.
+       * lib/qcopy-acl.c, lib/qset-acl.c: Do not include gettext.h.
+       (_): Remove; not needed.
+       * lib/qset-acl.c: New file, moved from the old lib/set-mode-acl.c; the
+       set_acl function remains in set-acl.c (renamed from set-mode-acl.c).
+       * modules/qacl: New file, moved from the old modules/acl.
+       (Files, lib_SOURCES): Add acl-errno-valid.c, qcopy-acl.c, qset-acl.c.
+       Remove set-mode-acl.c, copy-acl.c.
+       (Depends-on): Remove error, gettext-h, quote.  Add stdbool.
+
+       alignof, intprops, malloca: port better to IBM's C compiler
+       * lib/alignof.h (alignof_type) [__IBM_ALIGNOF__]: Use __alignof__.
+       * lib/intprops.h (_GL_HAVE___TYPEOF__) [__IBM_TYPEOF__]: Now 1.
+       * lib/malloca.h (sa_alignof): [__IBM_ALIGNOF__]: Use __alignof__.
+
+2013-04-25  Daiki Ueno  <ueno@gnu.org>
+
+       wctype-h: fix gettext link error on mingw
+       Reported by Josue Andrade Gomes and Takayuki Tsunakawa in
+       <https://lists.gnu.org/archive/html/bug-gettext/2013-03/msg00086.html>.
+       * lib/wctype.in.h [__MINGW32__]: Include <ctype.h> before defining
+       rpl_towupper and rpl_towupper.
+
+2013-04-11  Dmitry V. Levin  <ldv@altlinux.org>
+
+       regex-tests, regex: allow glibc re_search behavior
+       * tests/test-regex.c (main): In test for glibc bug 15078, reformat
+       re_search input data to make the multi-character collating element
+       in it clearly visible, and treat re_search return code 0 as valid.
+       * m4/regex.m4 (gl_REGEX): Likewise.
+
+2013-03-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdalign: doc fix
+       * doc/posix-headers/stdalign.texi (stdalign.h):
+       Gnulib doesn't support '_Alignof expr'.
+
+2013-03-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdalign: port to stricter ISO C11
+       ISO C11 says that _Alignof's operand must be a parenthesized type.
+       Problem reported by Eli Zaretskii in
+       <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00960.html>.
+       * doc/posix-headers/stdalign.texi (stdalign.h): Document this.
+       * m4/stdalign.m4 (gl_STDALIGN_H): Don't use _Alignof (expr).
+
+2013-03-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin
+       Problem reported by Marco Atzeri in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00000.html>.
+       * lib/sys_select.in.h [HAVE_SYS_SELECT_H && _CYGWIN_SYS_TIME_H]:
+       Simply delegate to the system <sys/select.h> in this case too.
+       Also, pay attention to _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H only
+       if OSF/1, since otherwise Cygwin breaks, and it doesn't seem to
+       be needed on Solaris either.
+       * lib/sys_time.in.h [_CYGWIN_SYS_TIME_H]:
+       Simply delgate to the system <sys/time.h> in this case.
+
+2013-03-19  Karl Berry  <karl@gnu.org>
+
+       * build-aux/gnupload: check for erroneous (with gnupload) use of
+       ftp-upload.gnu.org, tweak help.
+
+2013-03-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       copy-file, rpmatch: fix problems found by cppcheck
+       Reported by Arno Onken in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00069.html>.
+       * lib/rpmatch.c (try): Fix memory leak.
+       * lib/copy-file.c: Include "ignore-value.h".
+       (qcopy_file_preserving): Ignore chown value.
+       * modules/copy-file (Depends-on): Add ignore-value.
+
+2013-01-27  Jim Meyering  <jim@meyering.net>
+
+       prefix-gnulib-mk: give better diagnostics
+       * build-aux/prefix-gnulib-mk: Don't just "die".
+       Give better diagnostics upon failure.
+
+2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       putenv: port to Solaris 10
+       * lib/putenv.c (_unsetenv, putenv): Use HAVE_DECL__PUTENV, not
+       HAVE__PUTENV.  Solaris 10 has a _putenv that's not declared and
+       is not what is wanted here.
+       * m4/putenv.m4 (gl_PREREQ_PUTENV): Check for _putenv's
+       declaration, not for its existence.
+
+2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       mktime: fix configure typo
+       * m4/mktime.m4 (gl_FUNC_MKTIME): Fix typo in previous change.
+
+2013-03-12  Eric Blake  <eblake@redhat.com>
+
+       regex-tests: skip UTF-8 test on mingw
+       * modules/regex-tests (Depends-on): Add localcharset.
+       * tests/test-regex.c (main): Use it to skip test on mingw.
+
+2013-03-11  Eric Blake  <eblake@redhat.com>
+
+       tests: make it easier to bypass alarm time in debugger
+       * tests/test-file-has-acl.c (main): Allow gdb to override alarm.
+       * tests/test-memmem.c (main): Likewise.
+       * tests/test-passfd.c (main): Likewise.
+       * tests/test-ptsname.c (main): Likewise.
+       * tests/test-ptsname_r.c (main): Likewise.
+       * tests/test-strcasestr.c (main): Likewise.
+       * tests/test-strstr.c (main): Likewise.
+
+       regex: port to mingw's recent addition of undeclared alarm
+       * doc/posix-functions/alarm.texi (alarm): Document that alarm
+       exists but still doesn't work in newer mingw.
+       * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Check for alarm declaration,
+       not existence.  Ensure SIGALRM is not trapped.
+       * m4/mktime.m4 (gl_FUNC_MKTIME): Likewise.
+       * m4/regex.m4 (gl_REGEX): Likewise.
+       * m4/remainderf.m4 (gl_FUNC_REMAINDERF_WORKS): Likewise.
+       * tests/test-regex.c (main): Use correct probe for alarm.
+
+       putenv: avoid compilation warning on mingw
+       * lib/putenv.c (_unsetenv): Protect variable declaration.
+       (putenv): Fix indentation.
+
 2013-03-11  Gary V. Vaughan  <gary@gnu.org>
 
        unistd: don't prevent Tru64 Unix from using gnulib strtod.