passfd module, part 4, tweaks.
[gnulib.git] / ChangeLog
index 6ceb41c..60c54bf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,130 @@
+2011-03-13  Bruno Haible  <bruno@clisp.org>
+
+       passfd module, part 4, tweaks.
+       * tests/test-passfd.c: Reorder includes.
+       (main): Fix perror and printf calls.
+
+2011-03-07  Bastien Roucariès  <roucaries.bastien@gmail.com>
+
+       passfd module, part 4.
+       * modules/passfd-tests: New file.
+       * tests/test-passfd.c: New file.
+
+2011-03-13  Jim Meyering  <meyering@redhat.com>
+
+       Makefile: rely on GNU make; derive syntax-check rule names
+       Rather than requiring that each sc_ rule be listed as a dependent
+       of "check", use features of GNU make to derive the list.
+       * Makefile (syntax-check-rules): Define.
+       (check): Depend on the new variable, not the hard-coded list.
+
+2011-03-13  Bastien Roucariès  <roucaries.bastien@gmail.com>
+            Bruno Haible  <bruno@clisp.org>
+
+       passfd module, part 3.
+       * lib/passfd.h (recvfd): Add a flags argument.
+       * lib/passfd.c: Include <fcntl.h>, cloexec.h.
+       (recvfd): Add a flags argument.
+       * m4/afunix.m4 (gl_SOCKET_AFUNIX): Test whether MSG_CMSG_CLOEXEC
+       exists.
+       * modules/passfd (Depends-on): Add cloexec.
+       Suggested by Eric Blake.
+
+2011-03-13  Bruno Haible  <bruno@clisp.org>
+
+       passfd module, part 2, tweaks.
+       * modules/passfd (Files): Reorder.
+       (Depends-on): Remove errno.
+       (Include): Remove <sys/socket.h>, <sys/un.h>.
+       * lib/passfd.h: Use a GPLv3+ header. Make C++ safe.
+       * lib/passfd.c: Untabify. Use a GPLv3+ header. Really include the
+       specification header. Include <sys/socket.h> always. Don't include
+       <winsock2.h>. Use "#if HAVE_..." instead of "#ifdef HAVE_...".
+       (sendfd): Clarify that it sets errno when it fails.
+       (recvfd): Fix specification.
+
+2011-03-07  Bastien Roucariès  <roucaries.bastien@gmail.com>
+
+       passfd module, part 2.
+       * modules/passfd: New file.
+       * lib/passfd.h: New file.
+       * lib/passfd.c: New file.
+
+2011-03-12  Bruno Haible  <bruno@clisp.org>
+
+       wcswidth, mbswidth: Avoid integer overflow.
+       * lib/wcswidth.c: Include <limits.h>.
+       * lib/wcswidth-impl.h (wcswidth): Avoid 'int' overflow.
+       * lib/mbswidth.c: Include <limits.h>.
+       (mbsnwidth): Avoid 'int' overflow.
+       Reported by Jim Meyering.
+
+2011-03-12  Bruno Haible  <bruno@clisp.org>
+
+       futimens, utimensat: Avoid endless recursion on Solaris 10.
+       * lib/sys_stat.in.h (futimens, utimensat): Define with rpl_ prefix on
+       Solaris.
+       Reported by Ben Walton <bwalton@artsci.utoronto.ca> via Eric Blake
+       in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8230>.
+
+2011-03-11  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: relax a regexp to accommodate other formatting styles
+       * top/maint.mk (sc_unmarked_diagnostics): Allow 0 or 1 space
+       between "ngettext" and the following "(".
+
+2011-03-11  Pádraig Brady <P@draigBrady.com>
+
+       maint.mk: suppress a false positive warning
+       * top/maint.mk ((sc_unmarked_diagnostics): Don't warn when
+       diagnostics are marked with ngettext.
+
+2011-03-10  Eric Blake  <eblake@redhat.com>
+
+       wchar: add explicit dependencies, for Tru64
+       * modules/mbmemcasecoll (Depends-on): Add wchar.
+       * modules/mbtowc (Depends-on): Likewise.
+       * modules/vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u-printf-args (Depends-on): Likewise.
+       * modules/wctomb (Depends-on): Likewise.
+       Reported by Peter O'Gorman.
+
+2011-03-08  Bruno Haible  <bruno@clisp.org>
+
+       passfd module, part 1, tweaks.
+       * m4/afunix.m4 (gl_SOCKET_AFUNIX): Update AC_REQUIRE invocation.
+       Improve indentation. Improve AC_MSG_CHECKING messages.
+       * m4/sockpfaf.m4 (gl_SOCKET_FAMILY_UNIX): New macro, extracted from
+       gl_SOCKET_FAMILIES.
+
+2011-03-07  Bastien Roucariès  <roucaries.bastien@gmail.com>
+
+       passfd module, part 1.
+       * m4/afunix.m4: New file.
+       * m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Also test for UNIX domain
+       sockets.
+
+2011-03-08  Bruno Haible  <bruno@clisp.org>
+
+       regex-quote: New API.
+       * lib/regex-quote.h: Include <stdbool.h>.
+       (struct regex_quote_spec): New type.
+       (regex_quote_spec_posix, regex_quote_spec_gnu, regex_quote_spec_pcre):
+       New declarations.
+       (regex_quote_length, regex_quote_copy, regex_quote): Take a
+       'const struct regex_quote_spec *' argument.
+       * lib/regex-quote.c (RE_*, PCRE_*): New macros.
+       (pcre_special): New constant.
+       (regex_quote_spec_posix, regex_quote_spec_gnu, regex_quote_spec_pcre):
+       New functions.
+       (regex_quote_length, regex_quote_copy, regex_quote): Take a
+       'const struct regex_quote_spec *' argument.
+       * modules/regex-quote (Depends-on): Add stdbool.
+       * tests/test-regex-quote.c (check): Update for new API. Add test for
+       anchored results.
+       * NEWS: Mention the API change.
+       Reported by Reuben Thomas and Eric Blake.
+
 2011-03-06  Bruno Haible  <bruno@clisp.org>
 
        regex-quote: Fix creation of POSIX extended regular expressions.