2007-01-03 Paolo Bonzini <bonzini@gnu.org>
[gnulib.git] / ChangeLog
index fe3b8ad..87ccd6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,219 @@
+2007-01-03  Paolo Bonzini  <bonzini@gnu.org>
+           Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+
+       * lib/poll.c (poll): Use recv on Mac OS X to distinguish connected
+       sockets, server sockets, and other file descriptors.  Count errors
+       to compute the return value.  Reorder the code a bit to be easier
+       to follow.  Don't set event bits that were not requested (except
+       POLLERR and POLLHUP).
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lchmod (Include): Require lchmod.h, not lchown.h.
+
+2007-01-03  Jim Meyering  <jim@meyering.net>
+
+       * modules/fts-lgpl (Depends-on): Add i-ring.  Reported by Bruno Haible.
+
+2007-01-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/settime (Include): Require timespec.h.
+       * modules/nanosleep (Include): Likewise.
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       Improve support for OpenBSD.
+       * build-aux/config.rpath (libname_spec): Export.
+       (library_names_spec): New variable. Export.
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Extract libname_spec and
+       library_names_spec from the config.rpath output. Locate shared library
+       through the name pattern in library_names_spec.
+
+2007-01-01  Eric Blake  <ebb9@byu.net>
+
+       * lib/version-etc.c (COPYRIGHT_YEAR): Bump for new year.
+
+2006-12-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (SORT): Remove, since we no longer assume GNU sort.
+       Rewrite so as not to assume GNU sort or "tail -1".  Also, don't
+       assume the C locale, and avoid an "eval" that could cause trouble.
+       Problem with SORT reported by Bob Proulx.
+
+       * lib/getpagesize.h (getpagesize) [defined __amigaos4__]:
+       Define.  Trivial patch from Henning Nielsen Lund, originally
+       sent to bug-grep@gnu.org today.
+
+2006-12-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/acl.h: Include sys/types.h and sys/stat.h, for mode_t and
+       struct stat.  Problem reported by Henning Nielsen Lund.
+       * lib/acl.c: Include acl.h first, to check interface.  Don't
+       bother to include sys/types.h and sys/stat.h again.
+
+2006-12-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Import the following change from libc; problem reported by
+       Sven Verdoolaege.
+
+       2005-10-13  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #1373]
+       * lib/argp.h: Remove __NTH for __argp_usage inline function.
+
+2006-12-28  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/announce-gen: Do not assume that the package
+       builds any of tar.gz, tar.bz2, and .xdelta files.
+       Suggestion from Simon Josefsson.
+
+2006-12-28  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/announce-gen: New file.
+
+2006-12-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/mbchar.h: Just include <wctype.h>; the wctype module
+       handles its gotchas now.
+       * lib/mbswidth.c: Likewise.
+       * lib/wcwidth.h: Likewise.
+       * m4/mbchar.m4 (gl_MBCHAR): Don't bother checking for wctype.h
+       and iswcntrl; the wctype module does this stuff now.
+       * m4/mbswidth.m4 (gl_MBSWIDTH): Likewise.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
+       * modules/mbchar (Depends-on): Add wctype.
+       * modules/mbswidth (Depends-on): Likewise.
+       * modules/wcwidth (Depends-on): Likewise.
+
+2006-12-27  Eric Blake  <ebb9@byu.net>
+
+       * lib/fnmatch.c: Reinstate inclusion of <wchar.h>, since this
+       module uses more than what <wctype.h> is required to provide.
+
+2006-12-26  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool (sed_extract_prog): Avoid space-tab.
+
+2006-12-26  Eric Blake  <ebb9@byu.net>
+
+       * modules/absolute-header: New module.
+       * modules/fcntl (Depends-on): Depend on it.
+       * modules/inttypes (Depends-on): Likewise.
+       * modules/stdint (Depends-on): Likewise.
+       * modules/sys_stat (Depends-on): Likewise.
+       * modules/wctype (Depends-on): Likewise.
+       * MODULES.html.sh (Support for building libraries and
+       executables): Document it.
+
+2006-12-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (SED): Remove, undoing previous change.
+       The problem was that it broke coreutils on Solaris, because
+       "sed --posix" leaked into a makefile.
+       (sed): New alias, if 'alias' and GNU sed.
+
+2006-12-24  Jim Meyering  <jim@meyering.net>
+
+       Work around an fchownat bug in glibc-2.4:
+       http://lists.ubuntu.com/archives/ubuntu-users/2006-September/093218.html
+       This bug would cause "chown -RP ... DIR" to follow symlinks in DIR,
+       in spite of the -P option.
+       * m4/openat.m4 (gl_FUNC_FCHOWNAT, gl_FUNC_FCHOWNAT_DEREF_BUG):
+       New macros.
+       (gl_PREREQ_OPENAT): Require gl_FUNC_FCHOWNAT.
+       * modules/openat (Files): Add lib/fchownat.c.
+       * lib/openat.c (fchownat): Don't define here.  Move to...
+       * lib/fchownat.c: ...this new file.
+
+2006-12-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix bug reported by Bruno Haible in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00228.html>
+       where quotearg.c didn't compile on Mac OS X 10.2 because it
+       lacks <wchar.h> and wint_t.
+       * lib/wctype_.h (__wctype_wint_t): New type.
+       Include <stdio.h>, <time.h>, <wchar.h> only if HAVE_WINT_T.
+       (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph):
+       (iswlower, iswprint, iswpunct, iswspace, iswupper, ixwxdigit):
+       Arg is now of type __wctype_wint_t, not wint_t.
+       * m4/wctype.m4 (gl_WCTYPE_H): Require gt_TYPE_WINT_T, and
+       substitute HAVE_WINT_T.
+       * modules/wctype (Files): Add m4/wint_t.m4.
+       (wctype.h): Substitute HAVE_WINT_T.
+
+2006-12-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/safe-read.h [C++]: Wrap declarations in extern "C".
+
+2006-12-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/canonicalize-lgpl.c (__realpath): Test HAVE_READLINK instead of
+       S_ISLNK.
+       Needed because gnulib's sys/stat.h replacement defines S_ISLNK on
+       mingw.
+
+2006-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/copy-file.c: Include acl.h.
+       (copy_file_preserving) [USE_ACL]: Use copy_acl instead of chmod.
+       Close the file descriptors only after being done with copy_acl.
+       * modules/copy-file (Depends-on): Add acl.
+
+2006-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (SED): New variable.
+       Use $SED instead of sed everywhere.
+
+2006-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/no-c++: New file.
+       * m4/no-c++.m4: New file.
+       * MODULES.html.sh (Support for building libraries and executables):
+       Add no-c++.
+
+2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf.
+       Include <limits.h>, and use its INT_MAX to rewrite the
+       j loop so that it does not overflow 'int'.  Problem reported by
+       Ralf Wildenhues in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
+       Play it safe by shifting left by 1 rather than multiplying by 2,
+       as GCC is less likely to optimize this away when the value
+       is signed (when it assumes overflow leads to undefined behavior).
+       Also, don't assume time_t uses two's complement.
+
+2006-12-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh: New module wctype.
+       * lib/wctype_.h, m4/wctype.m4, modules/wctype: New files.
+       * lib/fnmatch.c: Don't bother to include <wchar.h> before
+       <wctype.h>, since the new wctype module should fix this.
+       * lib/quotearg.c: Include <wctype.h> unconditionally, since
+       the wctype module should arrange for it.
+       * lib/regex_internal.h: Likewise.
+       * m4/quotearg.m4 (gl_QUOTEARG): Don't check for wctype.h or iswprint,
+       since the wctype module should handle this now.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Don't check for wctype.h.
+       * modules/fnmatch (Depends-on): Add wctype.
+       * modules/quotearg (Depends-on): Likewise.
+       * modules/regex (Depends-on): Likewise.
+
+2006-12-19  Bruno Haible  <bruno@clisp.org>
+
+       * lib/strdup.h [C++]: Wrap definitions in extern "C".
+       Suggested by Lorenzo Bettini <bettini@dsi.unifi.it>.
+
+2006-12-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/savewd (Depends-on): Fix dependency on fcntl.
+
+2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/stdint.m4 (gl_STDINT_H): Set STDINT_H to empty if stdint.h
+       conforms to C99, rather than relying on the user's environment
+       setting of STDINT_H.
+
 2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
        and Eric Blake  <ebb9@byu.net>
 
        * m4/uintmax_t.m4: New file.
        * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
 
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   Free Software Foundation, Inc.
 Copying and distribution of this file, with or without modification,
 are permitted provided the copyright notice and this notice are preserved.