Bruno Haible [Tue, 9 Jan 2007 14:09:32 +0000 (14:09 +0000)]
New modules 'unistr/u8-strcat', 'unistr/u16-strcat', 'unistr/u32-strcat'.
Bruno Haible [Tue, 9 Jan 2007 14:09:29 +0000 (14:09 +0000)]
New modules 'unistr/u8-stpncpy', 'unistr/u16-stpncpy', 'unistr/u32-stpncpy'.
Bruno Haible [Tue, 9 Jan 2007 14:09:25 +0000 (14:09 +0000)]
New modules 'unistr/u8-stpcpy', 'unistr/u16-stpcpy', 'unistr/u32-stpcpy'.
Bruno Haible [Tue, 9 Jan 2007 14:09:22 +0000 (14:09 +0000)]
New modules 'unistr/u8-startswith', 'unistr/u16-startswith', 'unistr/u32-startswith'.
Bruno Haible [Tue, 9 Jan 2007 14:09:18 +0000 (14:09 +0000)]
New modules 'unistr/u8-set', 'unistr/u16-set', 'unistr/u32-set'.
Bruno Haible [Tue, 9 Jan 2007 14:09:15 +0000 (14:09 +0000)]
New modules 'unistr/u8-prev', 'unistr/u16-prev', 'unistr/u32-prev'.
Bruno Haible [Tue, 9 Jan 2007 14:09:11 +0000 (14:09 +0000)]
New modules 'unistr/u8-next', 'unistr/u16-next', 'unistr/u32-next'.
Bruno Haible [Tue, 9 Jan 2007 14:09:08 +0000 (14:09 +0000)]
New modules 'unistr/u8-move', 'unistr/u16-move', 'unistr/u32-move'.
Bruno Haible [Tue, 9 Jan 2007 14:09:04 +0000 (14:09 +0000)]
New modules 'unistr/u8-mbtouc-safe', 'unistr/u16-mbtouc-safe', 'unistr/u32-mbtouc-safe'.
Bruno Haible [Tue, 9 Jan 2007 14:09:01 +0000 (14:09 +0000)]
New modules 'unistr/u8-mbtouc', 'unistr/u16-mbtouc', 'unistr/u32-mbtouc'.
Bruno Haible [Tue, 9 Jan 2007 14:08:57 +0000 (14:08 +0000)]
New modules 'unistr/u8-mblen', 'unistr/u16-mblen', 'unistr/u32-mblen'.
Bruno Haible [Tue, 9 Jan 2007 14:08:54 +0000 (14:08 +0000)]
New modules 'unistr/u8-endswith', 'unistr/u16-endswith', 'unistr/u32-endswith'.
Bruno Haible [Tue, 9 Jan 2007 14:08:50 +0000 (14:08 +0000)]
New modules 'unistr/u8-cpy-alloc', 'unistr/u16-cpy-alloc', 'unistr/u32-cpy-alloc'.
Bruno Haible [Tue, 9 Jan 2007 14:08:47 +0000 (14:08 +0000)]
New modules 'unistr/u8-cpy', 'unistr/u16-cpy', 'unistr/u32-cpy'.
Bruno Haible [Tue, 9 Jan 2007 14:08:43 +0000 (14:08 +0000)]
New modules 'unistr/u8-cmp', 'unistr/u16-cmp', 'unistr/u32-cmp'.
Bruno Haible [Tue, 9 Jan 2007 14:08:40 +0000 (14:08 +0000)]
New modules 'unistr/u8-chr', 'unistr/u16-chr', 'unistr/u32-chr'.
Bruno Haible [Tue, 9 Jan 2007 14:06:19 +0000 (14:06 +0000)]
New modules 'unistr/u8-check', 'unistr/u16-check', 'unistr/u32-check'.
Bruno Haible [Tue, 9 Jan 2007 14:04:09 +0000 (14:04 +0000)]
New module 'unistr/u32-to-u16'.
Bruno Haible [Tue, 9 Jan 2007 14:03:41 +0000 (14:03 +0000)]
New module 'unistr/u32-to-u8'.
Bruno Haible [Tue, 9 Jan 2007 14:03:21 +0000 (14:03 +0000)]
New module 'unistr/u16-to-u32'.
Bruno Haible [Tue, 9 Jan 2007 14:02:57 +0000 (14:02 +0000)]
New module 'unistr/u16-to-u8'.
Bruno Haible [Tue, 9 Jan 2007 14:02:33 +0000 (14:02 +0000)]
New module 'unistr/u8-to-u32'.
Bruno Haible [Tue, 9 Jan 2007 14:02:07 +0000 (14:02 +0000)]
New module 'unistr/u8-to-u16'.
Bruno Haible [Tue, 9 Jan 2007 14:01:45 +0000 (14:01 +0000)]
New module 'unistr/base'.
Bruno Haible [Tue, 9 Jan 2007 13:44:33 +0000 (13:44 +0000)]
Add support for subdirectories of the 'modules/' directory.
Bruno Haible [Tue, 9 Jan 2007 13:12:27 +0000 (13:12 +0000)]
Add the new modules utf8-ucs4-safe, utf16-ucs4-safe.
Bruno Haible [Tue, 9 Jan 2007 13:10:19 +0000 (13:10 +0000)]
Remove double-quotes around email addresses.
Bruno Haible [Tue, 9 Jan 2007 13:09:02 +0000 (13:09 +0000)]
Add a forgotten ChangeLog entry.
Karl Berry [Tue, 9 Jan 2007 08:40:23 +0000 (08:40 +0000)]
.
Karl Berry [Mon, 8 Jan 2007 23:26:49 +0000 (23:26 +0000)]
main must set program_name
Paul Eggert [Mon, 8 Jan 2007 22:55:35 +0000 (22:55 +0000)]
* m4/wctype.m4 (gl_WCTYPE_H): Compute ABSOLUTE_WCTYPE_H even if
WCTYPE_H is empty, for the benefit of builds from non-distclean
directories. Problem reported by Eric Blake in
<http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00157.html>.
Bruno Haible [Mon, 8 Jan 2007 21:31:56 +0000 (21:31 +0000)]
2007-01-08 Bruno Haible <bruno@clisp.org>
* m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Remove
PROVIDE_CANONICALIZE_FILENAME_MODE macro definition.
* lib/canonicalize.h: Test GNULIB_CANONICALIZE instead of
PROVIDE_CANONICALIZE_FILENAME_MODE.
* modules/canonicalize (configure.ac): Use gl_MODULE_INDICATOR.
Bruno Haible [Mon, 8 Jan 2007 21:28:13 +0000 (21:28 +0000)]
2007-01-08 Bruno Haible <bruno@clisp.org>
* m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove _LGPL_PACKAGE macro definition.
* lib/fts_.h (_LGPL_PACKAGE): Remove macro.
Use !GNULIB_FTS instead of _LGPL_PACKAGE.
* lib/fts.c: Likewise.
* modules/fts (configure.ac): Use gl_MODULE_INDICATOR.
Bruno Haible [Mon, 8 Jan 2007 20:48:03 +0000 (20:48 +0000)]
Move module indicator macros from *.m4 files to the module descriptions.
Bruno Haible [Mon, 8 Jan 2007 20:46:57 +0000 (20:46 +0000)]
Depend on unitypes.
Bruno Haible [Mon, 8 Jan 2007 20:38:06 +0000 (20:38 +0000)]
New module 'utf16-ucs4-safe'.
Bruno Haible [Mon, 8 Jan 2007 20:37:38 +0000 (20:37 +0000)]
New module 'utf8-ucs4-safe'.
Bruno Haible [Mon, 8 Jan 2007 20:35:06 +0000 (20:35 +0000)]
Move out the body of the conversion function to a compilation unit of its own.
Use unitypes.h.
Bruno Haible [Mon, 8 Jan 2007 20:29:19 +0000 (20:29 +0000)]
Basic types for Unicode strings.
Bruno Haible [Mon, 8 Jan 2007 20:16:33 +0000 (20:16 +0000)]
Avoid side effects on libtool variables.
Bruno Haible [Mon, 8 Jan 2007 19:38:27 +0000 (19:38 +0000)]
Move the module indicator macros to the module description.
Bruno Haible [Mon, 8 Jan 2007 19:20:07 +0000 (19:20 +0000)]
Back from an automatic module-indicator macro to a module-indicator macro
that needs to be invoked explicitly.
Bruno Haible [Mon, 8 Jan 2007 18:53:15 +0000 (18:53 +0000)]
Simplify the sorting command from the last patch.
Jim Meyering [Mon, 8 Jan 2007 10:32:58 +0000 (10:32 +0000)]
Use a more robust test for a "can't happen" condition.
* lib/fts.c (fts_read): Revert the change of 2006-11-22, since it
narrowed the st_size value. Presuming the "can't happen" condition
is true, that narrowing could conceivably convert an invalid st_size
value into a valid one. Instead, use a change based on Matthew
Woehlke's original patch.
Jim Meyering [Mon, 8 Jan 2007 10:30:47 +0000 (10:30 +0000)]
Slight readability improvement: use an assert-like macro
in place of literal "abort ()" uses.
* lib/fts.c (fts_assert): Define.
(fts_set_stat_required, cwd_advance_fd, fts_read, fd_ring_check):
Use this macro instead of a bare 'abort'.
Paul Eggert [Sat, 6 Jan 2007 00:27:48 +0000 (00:27 +0000)]
Don't worry about using IRIX 5.3's wctype.h broken definitions;
simply work around them.
* lib/wctype_.h: Remove test for HAVE_WCTYPE_CTMP_BUG.
(iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower):
(iswprint, iswpunct, iswspace, iswupper, iswxdigit): Undef before declaring.
Don't bother to define as macros, since the standard doesn't require it.
* m4/wctype.m4 (WCTYPE_H, ABSOLUTE_WCTYPE_H): Simplify, since we no
longer worry about IRIX 5.3.
(HAVE_WCTYPE_CTMP_BUG): Remove.
Karl Berry [Fri, 5 Jan 2007 16:45:33 +0000 (16:45 +0000)]
autoupdate
Paul Eggert [Thu, 4 Jan 2007 19:21:42 +0000 (19:21 +0000)]
* lib/wctype_.h (_ctmp_) [HAVE_WCTYPE_CTMP_BUG]: Now of type wchar_t,
not wint_t. Also, include <ctype.h>, to fix another IRIX bug.
* m4/wctype.m4 (gl_WCTYPE_H): Likewise.
Problems reported by Georg Schwarz for IRIX 5.3.
Paul Eggert [Thu, 4 Jan 2007 18:10:42 +0000 (18:10 +0000)]
* gnulib-tool (autoconf_minversion): Take the maximum version number
found, not the minimum. Problem reported by James Youngman.
Simon Josefsson [Thu, 4 Jan 2007 15:41:18 +0000 (15:41 +0000)]
Add libgcrypt.
Karl Berry [Thu, 4 Jan 2007 08:42:41 +0000 (08:42 +0000)]
.
Karl Berry [Wed, 3 Jan 2007 18:51:20 +0000 (18:51 +0000)]
document error/progname interaction
Simon Josefsson [Wed, 3 Jan 2007 12:19:04 +0000 (12:19 +0000)]
2007-01-03 Simon Josefsson <simon@josefsson.org>
* gnulib-tool (func_create_testdir): Run AC_CANONICAL_BUILD and
AC_CANONICAL_HOST, to improve autobuild outputs.
Paolo Bonzini [Wed, 3 Jan 2007 10:51:18 +0000 (10:51 +0000)]
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).
Jim Meyering [Wed, 3 Jan 2007 09:19:44 +0000 (09:19 +0000)]
* modules/lchmod (Include): Require lchmod.h, not lchown.h.
Jim Meyering [Wed, 3 Jan 2007 08:46:13 +0000 (08:46 +0000)]
* modules/fts-lgpl (Depends-on): Add i-ring. Reported by Bruno Haible.
Karl Berry [Wed, 3 Jan 2007 08:40:18 +0000 (08:40 +0000)]
.
Paul Eggert [Tue, 2 Jan 2007 23:50:44 +0000 (23:50 +0000)]
* modules/settime (Include): Require timespec.h.
* modules/nanosleep (Include): Likewise.
2007-01-01 Bruno Haible <bruno@clisp.org>
SCALAR(0x82833d4)
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Bruno Haible [Tue, 2 Jan 2007 20:59:11 +0000 (20:59 +0000)]
Indicate the presence of gnulib modules through C macros.
Bruno Haible [Tue, 2 Jan 2007 20:53:28 +0000 (20:53 +0000)]
Improve support for OpenBSD.
Eric Blake [Mon, 1 Jan 2007 15:08:01 +0000 (15:08 +0000)]
* lib/version-etc.c (COPYRIGHT_YEAR): Bump for new year.
Paul Eggert [Sun, 31 Dec 2006 06:32:37 +0000 (06:32 +0000)]
Fix typos in changelog entry.
Paul Eggert [Sun, 31 Dec 2006 06:29:50 +0000 (06:29 +0000)]
* gnulib-tool (SORT): Remove, since we no longer assume GNU sort.
Rewrite so as not to assume GNU sort. Also, don't assume
the C locale, and avoid an "eval" that could cause trouble.
Paul Eggert [Sat, 30 Dec 2006 23:27:20 +0000 (23:27 +0000)]
* lib/getpagesize.h (getpagesize) [defined __amigaos4__]:
Define. Trivial patch from Henning Nielsen Lund, originally
sent to bug-grep@gnu.org today.
Karl Berry [Sat, 30 Dec 2006 18:31:23 +0000 (18:31 +0000)]
update from texinfo
Paul Eggert [Fri, 29 Dec 2006 19:33:46 +0000 (19:33 +0000)]
* 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.
Karl Berry [Fri, 29 Dec 2006 09:11:41 +0000 (09:11 +0000)]
.
Paul Eggert [Thu, 28 Dec 2006 23:36:43 +0000 (23:36 +0000)]
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.
Jim Meyering [Thu, 28 Dec 2006 19:28:49 +0000 (19:28 +0000)]
* build-aux/announce-gen: Do not assume that the package
builds any of tar.gz, tar.bz2, and .xdelta files.
Suggestion from Simon Josefsson.
Simon Josefsson [Thu, 28 Dec 2006 18:27:21 +0000 (18:27 +0000)]
Add announce-gen module file.
Karl Berry [Thu, 28 Dec 2006 09:11:27 +0000 (09:11 +0000)]
.
Paul Eggert [Wed, 27 Dec 2006 19:54:25 +0000 (19:54 +0000)]
* 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.
Eric Blake [Wed, 27 Dec 2006 13:19:04 +0000 (13:19 +0000)]
* lib/fnmatch.c: Reinstate inclusion of <wchar.h>, since this
module uses more than what <wctype.h> is required to provide.
Karl Berry [Wed, 27 Dec 2006 09:36:02 +0000 (09:36 +0000)]
.
Eric Blake [Tue, 26 Dec 2006 18:46:10 +0000 (18:46 +0000)]
* gnulib-tool (sed_extract_prog): Avoid space-tab.
Eric Blake [Tue, 26 Dec 2006 18:42:09 +0000 (18:42 +0000)]
* 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.
Karl Berry [Tue, 26 Dec 2006 14:55:51 +0000 (14:55 +0000)]
autoupdate
Paul Eggert [Tue, 26 Dec 2006 01:51:36 +0000 (01:51 +0000)]
* 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.
Karl Berry [Mon, 25 Dec 2006 14:25:35 +0000 (14:25 +0000)]
autoupdate
Karl Berry [Mon, 25 Dec 2006 09:08:05 +0000 (09:08 +0000)]
.
Jim Meyering [Sun, 24 Dec 2006 17:08:04 +0000 (17:08 +0000)]
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.
Karl Berry [Sun, 24 Dec 2006 09:10:58 +0000 (09:10 +0000)]
.
Paul Eggert [Sun, 24 Dec 2006 07:55:08 +0000 (07:55 +0000)]
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.
Jim Meyering [Sat, 23 Dec 2006 21:31:59 +0000 (21:31 +0000)]
* lib/safe-read.h [C++]: Wrap declarations in extern "C".
From Bruno Haible.
Karl Berry [Sat, 23 Dec 2006 21:28:00 +0000 (21:28 +0000)]
update from texinfo
Bruno Haible [Sat, 23 Dec 2006 15:43:03 +0000 (15:43 +0000)]
Test HAVE_READLINK instead of S_ISLNK.
Karl Berry [Sat, 23 Dec 2006 09:10:04 +0000 (09:10 +0000)]
.
Bruno Haible [Fri, 22 Dec 2006 18:56:01 +0000 (18:56 +0000)]
Preserve ACLs while copying.
Karl Berry [Fri, 22 Dec 2006 18:03:23 +0000 (18:03 +0000)]
autoupdate
Karl Berry [Fri, 22 Dec 2006 17:25:43 +0000 (17:25 +0000)]
update from texinfo
Bruno Haible [Fri, 22 Dec 2006 16:27:26 +0000 (16:27 +0000)]
Add comments.
Bruno Haible [Fri, 22 Dec 2006 13:03:25 +0000 (13:03 +0000)]
Change order of sections.
Bruno Haible [Fri, 22 Dec 2006 12:49:38 +0000 (12:49 +0000)]
Use "sed --posix" instead of "sed" when possible.
Bruno Haible [Fri, 22 Dec 2006 12:46:48 +0000 (12:46 +0000)]
New module 'no-c++'.
Karl Berry [Fri, 22 Dec 2006 09:24:17 +0000 (09:24 +0000)]
.
Paul Eggert [Fri, 22 Dec 2006 08:53:57 +0000 (08:53 +0000)]
* 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.
Paul Eggert [Fri, 22 Dec 2006 00:21:54 +0000 (00:21 +0000)]
* 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.
Bruno Haible [Wed, 20 Dec 2006 21:01:57 +0000 (21:01 +0000)]
gzip uses gnulib now as well.
Bruno Haible [Tue, 19 Dec 2006 17:17:04 +0000 (17:17 +0000)]
Make it usable in C++ mode.
Karl Berry [Tue, 19 Dec 2006 09:04:08 +0000 (09:04 +0000)]
.