gnulib.git
14 years agoTests for module 'unistr/u16-prev'.
Bruno Haible [Sun, 10 Jan 2010 18:20:03 +0000 (19:20 +0100)]
Tests for module 'unistr/u16-prev'.

14 years agoTests for module 'unistr/u8-prev'.
Bruno Haible [Sun, 10 Jan 2010 18:19:34 +0000 (19:19 +0100)]
Tests for module 'unistr/u8-prev'.

14 years agoTests for module 'unistr/u32-next'.
Bruno Haible [Sun, 10 Jan 2010 17:00:04 +0000 (18:00 +0100)]
Tests for module 'unistr/u32-next'.

14 years agoTests for module 'unistr/u16-next'.
Bruno Haible [Sun, 10 Jan 2010 16:59:38 +0000 (17:59 +0100)]
Tests for module 'unistr/u16-next'.

14 years agoTests for module 'unistr/u8-next'.
Bruno Haible [Sun, 10 Jan 2010 16:59:08 +0000 (17:59 +0100)]
Tests for module 'unistr/u8-next'.

14 years agoTests for module 'unistr/u32-strmbtouc'.
Bruno Haible [Sun, 10 Jan 2010 16:41:46 +0000 (17:41 +0100)]
Tests for module 'unistr/u32-strmbtouc'.

14 years agoTests for module 'unistr/u16-strmbtouc'.
Bruno Haible [Sun, 10 Jan 2010 16:41:21 +0000 (17:41 +0100)]
Tests for module 'unistr/u16-strmbtouc'.

14 years agoTests for module 'unistr/u8-strmbtouc'.
Bruno Haible [Sun, 10 Jan 2010 16:40:55 +0000 (17:40 +0100)]
Tests for module 'unistr/u8-strmbtouc'.

14 years agoTests for module 'unistr/u32-strmblen'.
Bruno Haible [Sun, 10 Jan 2010 16:40:14 +0000 (17:40 +0100)]
Tests for module 'unistr/u32-strmblen'.

14 years agoTests for module 'unistr/u16-strmblen'.
Bruno Haible [Sun, 10 Jan 2010 16:39:44 +0000 (17:39 +0100)]
Tests for module 'unistr/u16-strmblen'.

14 years agoTests for module 'unistr/u8-strmblen'.
Bruno Haible [Sun, 10 Jan 2010 16:39:19 +0000 (17:39 +0100)]
Tests for module 'unistr/u8-strmblen'.

14 years agoTests for module 'unistr/u32-cpy-alloc'.
Bruno Haible [Sun, 10 Jan 2010 16:16:50 +0000 (17:16 +0100)]
Tests for module 'unistr/u32-cpy-alloc'.

14 years agoTests for module 'unistr/u16-cpy-alloc'.
Bruno Haible [Sun, 10 Jan 2010 16:16:21 +0000 (17:16 +0100)]
Tests for module 'unistr/u16-cpy-alloc'.

14 years agoTests for module 'unistr/u8-cpy-alloc'.
Bruno Haible [Sun, 10 Jan 2010 16:15:53 +0000 (17:15 +0100)]
Tests for module 'unistr/u8-cpy-alloc'.

14 years agoTests for module 'unistr/u32-mbsnlen'.
Bruno Haible [Sun, 10 Jan 2010 17:05:31 +0000 (18:05 +0100)]
Tests for module 'unistr/u32-mbsnlen'.

14 years agoTests for module 'unistr/u16-mbsnlen'.
Bruno Haible [Sun, 10 Jan 2010 17:04:57 +0000 (18:04 +0100)]
Tests for module 'unistr/u16-mbsnlen'.

14 years agoTests for module 'unistr/u8-mbsnlen'.
Bruno Haible [Sun, 10 Jan 2010 17:04:24 +0000 (18:04 +0100)]
Tests for module 'unistr/u8-mbsnlen'.

14 years agoTests for module 'unistr/u32-chr'.
Bruno Haible [Sun, 10 Jan 2010 14:39:11 +0000 (15:39 +0100)]
Tests for module 'unistr/u32-chr'.

14 years agoTests for module 'unistr/u16-chr'.
Bruno Haible [Sun, 10 Jan 2010 14:38:42 +0000 (15:38 +0100)]
Tests for module 'unistr/u16-chr'.

14 years agoTests for module 'unistr/u8-chr'.
Bruno Haible [Sun, 10 Jan 2010 14:38:15 +0000 (15:38 +0100)]
Tests for module 'unistr/u8-chr'.

14 years agoTests for module 'unistr/u32-cmp2'.
Bruno Haible [Sun, 10 Jan 2010 14:37:03 +0000 (15:37 +0100)]
Tests for module 'unistr/u32-cmp2'.

14 years agoTests for module 'unistr/u16-cmp2'.
Bruno Haible [Sun, 10 Jan 2010 14:36:34 +0000 (15:36 +0100)]
Tests for module 'unistr/u16-cmp2'.

14 years agoTests for module 'unistr/u8-cmp2'.
Bruno Haible [Sun, 10 Jan 2010 14:36:00 +0000 (15:36 +0100)]
Tests for module 'unistr/u8-cmp2'.

14 years agoTests for module 'unistr/u32-cmp'.
Bruno Haible [Sun, 10 Jan 2010 14:34:14 +0000 (15:34 +0100)]
Tests for module 'unistr/u32-cmp'.

14 years agoTests for module 'unistr/u16-cmp'.
Bruno Haible [Sun, 10 Jan 2010 14:33:43 +0000 (15:33 +0100)]
Tests for module 'unistr/u16-cmp'.

14 years agoTests for module 'unistr/u8-cmp'.
Bruno Haible [Sun, 10 Jan 2010 14:33:11 +0000 (15:33 +0100)]
Tests for module 'unistr/u8-cmp'.

14 years agoTests for module 'unistr/u32-set'.
Bruno Haible [Sun, 10 Jan 2010 14:31:41 +0000 (15:31 +0100)]
Tests for module 'unistr/u32-set'.

14 years agoTests for module 'unistr/u16-set'.
Bruno Haible [Sun, 10 Jan 2010 14:31:13 +0000 (15:31 +0100)]
Tests for module 'unistr/u16-set'.

14 years agoTests for module 'unistr/u8-set'.
Bruno Haible [Sun, 10 Jan 2010 14:30:46 +0000 (15:30 +0100)]
Tests for module 'unistr/u8-set'.

14 years agoTests for module 'unistr/u32-move'.
Bruno Haible [Sun, 10 Jan 2010 14:29:41 +0000 (15:29 +0100)]
Tests for module 'unistr/u32-move'.

14 years agoTests for module 'unistr/u16-move'.
Bruno Haible [Sun, 10 Jan 2010 14:29:02 +0000 (15:29 +0100)]
Tests for module 'unistr/u16-move'.

14 years agoTests for module 'unistr/u8-move'.
Bruno Haible [Sun, 10 Jan 2010 14:28:30 +0000 (15:28 +0100)]
Tests for module 'unistr/u8-move'.

14 years agoTests for module 'unistr/u32-cpy'.
Bruno Haible [Sun, 10 Jan 2010 14:27:20 +0000 (15:27 +0100)]
Tests for module 'unistr/u32-cpy'.

14 years agoTests for module 'unistr/u16-cpy'.
Bruno Haible [Sun, 10 Jan 2010 14:26:50 +0000 (15:26 +0100)]
Tests for module 'unistr/u16-cpy'.

14 years agoTests for module 'unistr/u8-cpy'.
Bruno Haible [Sun, 10 Jan 2010 14:26:11 +0000 (15:26 +0100)]
Tests for module 'unistr/u8-cpy'.

14 years agoTests for module 'unistr/u32-uctomb'.
Bruno Haible [Sun, 10 Jan 2010 01:42:12 +0000 (02:42 +0100)]
Tests for module 'unistr/u32-uctomb'.

14 years agoTests for module 'unistr/u16-uctomb'.
Bruno Haible [Sun, 10 Jan 2010 01:41:36 +0000 (02:41 +0100)]
Tests for module 'unistr/u16-uctomb'.

14 years agoTests for module 'unistr/u8-uctomb'.
Bruno Haible [Sun, 10 Jan 2010 01:41:06 +0000 (02:41 +0100)]
Tests for module 'unistr/u8-uctomb'.

14 years agoTests for module 'unistr/u32-mbtoucr'.
Bruno Haible [Sun, 10 Jan 2010 00:27:52 +0000 (01:27 +0100)]
Tests for module 'unistr/u32-mbtoucr'.

14 years agoTests for module 'unistr/u16-mbtoucr'.
Bruno Haible [Sun, 10 Jan 2010 00:27:27 +0000 (01:27 +0100)]
Tests for module 'unistr/u16-mbtoucr'.

14 years agoTests for module 'unistr/u8-mbtoucr'.
Bruno Haible [Sun, 10 Jan 2010 00:26:56 +0000 (01:26 +0100)]
Tests for module 'unistr/u8-mbtoucr'.

14 years agoTests for module 'unistr/u32-mbtouc'.
Bruno Haible [Sun, 10 Jan 2010 00:25:47 +0000 (01:25 +0100)]
Tests for module 'unistr/u32-mbtouc'.

14 years agoTests for module 'unistr/u16-mbtouc'.
Bruno Haible [Sun, 10 Jan 2010 00:25:22 +0000 (01:25 +0100)]
Tests for module 'unistr/u16-mbtouc'.

14 years agoTests for module 'unistr/u8-mbtouc'.
Bruno Haible [Sun, 10 Jan 2010 00:24:52 +0000 (01:24 +0100)]
Tests for module 'unistr/u8-mbtouc'.

14 years agoTests for module 'unistr/u32-mbtouc-unsafe'.
Bruno Haible [Sun, 10 Jan 2010 00:23:30 +0000 (01:23 +0100)]
Tests for module 'unistr/u32-mbtouc-unsafe'.

14 years agoTests for module 'unistr/u16-mbtouc-unsafe'.
Bruno Haible [Sun, 10 Jan 2010 00:22:56 +0000 (01:22 +0100)]
Tests for module 'unistr/u16-mbtouc-unsafe'.

14 years agoTests for module 'unistr/u8-mbtouc-unsafe'.
Bruno Haible [Sun, 10 Jan 2010 00:22:18 +0000 (01:22 +0100)]
Tests for module 'unistr/u8-mbtouc-unsafe'.

14 years agoTests for module 'unistr/u32-mblen'.
Bruno Haible [Sun, 10 Jan 2010 00:20:02 +0000 (01:20 +0100)]
Tests for module 'unistr/u32-mblen'.

14 years agoTests for module 'unistr/u16-mblen'.
Bruno Haible [Sun, 10 Jan 2010 00:19:34 +0000 (01:19 +0100)]
Tests for module 'unistr/u16-mblen'.

14 years agoTests for module 'unistr/u8-mblen'.
Bruno Haible [Sun, 10 Jan 2010 00:19:04 +0000 (01:19 +0100)]
Tests for module 'unistr/u8-mblen'.

14 years agoTests for module 'unistr/u32-to-u16'.
Bruno Haible [Sat, 9 Jan 2010 22:36:41 +0000 (23:36 +0100)]
Tests for module 'unistr/u32-to-u16'.

14 years agoTests for module 'unistr/u32-to-u8'.
Bruno Haible [Sat, 9 Jan 2010 22:36:11 +0000 (23:36 +0100)]
Tests for module 'unistr/u32-to-u8'.

14 years agoTests for module 'unistr/u16-to-u32'.
Bruno Haible [Sat, 9 Jan 2010 22:35:38 +0000 (23:35 +0100)]
Tests for module 'unistr/u16-to-u32'.

14 years agoTests for module 'unistr/u16-to-u8'.
Bruno Haible [Sat, 9 Jan 2010 22:35:04 +0000 (23:35 +0100)]
Tests for module 'unistr/u16-to-u8'.

14 years agoTests for module 'unistr/u8-to-u32'.
Bruno Haible [Sat, 9 Jan 2010 22:34:24 +0000 (23:34 +0100)]
Tests for module 'unistr/u8-to-u32'.

14 years agoTests for module 'unistr/u8-to-u16'.
Bruno Haible [Sat, 9 Jan 2010 22:33:46 +0000 (23:33 +0100)]
Tests for module 'unistr/u8-to-u16'.

14 years agoTests for module 'unistr/u32-check'.
Bruno Haible [Sat, 9 Jan 2010 18:41:40 +0000 (19:41 +0100)]
Tests for module 'unistr/u32-check'.

14 years agoTests for module 'unistr/u16-check'.
Bruno Haible [Sat, 9 Jan 2010 18:41:06 +0000 (19:41 +0100)]
Tests for module 'unistr/u16-check'.

14 years agoTests for module 'unistr/u8-check'.
Bruno Haible [Sat, 9 Jan 2010 18:40:38 +0000 (19:40 +0100)]
Tests for module 'unistr/u8-check'.

14 years agoAdd more tests.
Bruno Haible [Sat, 9 Jan 2010 16:50:38 +0000 (17:50 +0100)]
Add more tests.

14 years agoAdd more tests.
Bruno Haible [Sat, 9 Jan 2010 16:34:29 +0000 (17:34 +0100)]
Add more tests.

14 years agounistr/u*-strcoll: Try harder to distinguish different strings.
Bruno Haible [Sun, 10 Jan 2010 22:11:54 +0000 (23:11 +0100)]
unistr/u*-strcoll: Try harder to distinguish different strings.

14 years agounistr/u*-stpncpy: Fix the return value.
Bruno Haible [Sun, 10 Jan 2010 20:39:12 +0000 (21:39 +0100)]
unistr/u*-stpncpy: Fix the return value.

14 years agounistr/u*-next: Add missing dependencies.
Bruno Haible [Sun, 10 Jan 2010 16:55:30 +0000 (17:55 +0100)]
unistr/u*-next: Add missing dependencies.

14 years agounistr/u8-mbsnlen: Fix return value for incomplete character.
Bruno Haible [Sun, 10 Jan 2010 15:29:23 +0000 (16:29 +0100)]
unistr/u8-mbsnlen: Fix return value for incomplete character.

14 years agowchar: Fix compilation error when <wchar.h> is used from coreutils.
Bruno Haible [Sun, 10 Jan 2010 11:54:38 +0000 (12:54 +0100)]
wchar: Fix compilation error when <wchar.h> is used from coreutils.

14 years agoComplete recent ChangeLog entry.
Bruno Haible [Sun, 10 Jan 2010 09:30:12 +0000 (10:30 +0100)]
Complete recent ChangeLog entry.

14 years agounistr/u16-to-u32: Reject invalid input.
Bruno Haible [Sat, 9 Jan 2010 22:30:53 +0000 (23:30 +0100)]
unistr/u16-to-u32: Reject invalid input.

14 years agounistr/u16-to-u8: Reject invalid input.
Bruno Haible [Sat, 9 Jan 2010 22:30:20 +0000 (23:30 +0100)]
unistr/u16-to-u8: Reject invalid input.

14 years agounistr/u8-to-u32: Reject invalid input.
Bruno Haible [Sat, 9 Jan 2010 22:29:05 +0000 (23:29 +0100)]
unistr/u8-to-u32: Reject invalid input.

14 years agounistr/u8-to-u16: Reject invalid input.
Bruno Haible [Sat, 9 Jan 2010 22:28:33 +0000 (23:28 +0100)]
unistr/u8-to-u16: Reject invalid input.

14 years agoTests for module 'getlogin'.
Bruno Haible [Sat, 9 Jan 2010 15:18:53 +0000 (16:18 +0100)]
Tests for module 'getlogin'.

14 years agoNew module 'getlogin'.
Bruno Haible [Sat, 9 Jan 2010 15:17:50 +0000 (16:17 +0100)]
New module 'getlogin'.

14 years agogetlogin_r: Support for native Windows.
Bruno Haible [Sat, 9 Jan 2010 15:06:42 +0000 (16:06 +0100)]
getlogin_r: Support for native Windows.

14 years agogetlogin_r: Small fixes.
Bruno Haible [Sat, 9 Jan 2010 14:14:41 +0000 (15:14 +0100)]
getlogin_r: Small fixes.

14 years agogetlogin_r: Add comment.
Bruno Haible [Sat, 9 Jan 2010 13:16:57 +0000 (14:16 +0100)]
getlogin_r: Add comment.

14 years agoTests for module 'getlogin_r'.
Bruno Haible [Sat, 9 Jan 2010 13:15:37 +0000 (14:15 +0100)]
Tests for module 'getlogin_r'.

14 years agomaint.mk: extend proper_name_utf8-vs-LIBICONV-checking rule
Jim Meyering [Sat, 9 Jan 2010 10:41:00 +0000 (11:41 +0100)]
maint.mk: extend proper_name_utf8-vs-LIBICONV-checking rule

* top/maint.mk (sc_proper_name_utf8_requires_ICONV): Adapt to work
also when $(LIBICONV) is part of LDADD, rather than ${prog}_LDADD.

14 years agolib/dup2.c (rpl_dup2): Improve comment.
Simon Josefsson [Fri, 8 Jan 2010 22:29:17 +0000 (23:29 +0100)]
lib/dup2.c (rpl_dup2): Improve comment.

14 years agomaint.mk: allow packages to add makefile @@ exceptions
Eric Blake [Thu, 7 Jan 2010 23:25:45 +0000 (16:25 -0700)]
maint.mk: allow packages to add makefile @@ exceptions

Rather than hard-coding a coreutils-specific exception, this
allows a package to specify its own exceptions in cfg.mk.

* top/maint.mk (_makefile_at_at_check_exceptions): New hook.
(sc_makefile_check): Rename...
(sc_makefile_at_at_check): ...to this, and use hook.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agodup2: work around mingw bug
Eric Blake [Fri, 8 Jan 2010 15:17:00 +0000 (08:17 -0700)]
dup2: work around mingw bug

dup2 (fd, -2) returned -2 instead of the proper -1.

* lib/dup2.c (rpl_dup2): Sanitize return value on mingw.
Reported by Simon Josefsson.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agoglob: Fix C++ compilation.
John W. Eaton [Fri, 8 Jan 2010 09:11:07 +0000 (10:11 +0100)]
glob: Fix C++ compilation.

14 years agoFix indentation of wctype.in.h, broken since 2007-01-06.
Bruno Haible [Thu, 7 Jan 2010 22:57:15 +0000 (23:57 +0100)]
Fix indentation of wctype.in.h, broken since 2007-01-06.

14 years agombslen: Avoid collision with system function.
Bruno Haible [Thu, 7 Jan 2010 22:42:03 +0000 (23:42 +0100)]
mbslen: Avoid collision with system function.

14 years agodirent: Document the last fix.
Bruno Haible [Thu, 7 Jan 2010 22:19:38 +0000 (23:19 +0100)]
dirent: Document the last fix.

14 years agostdio: Ensure <stdio.h> defines off_t, ssize_t, va_list.
Bruno Haible [Thu, 7 Jan 2010 22:12:26 +0000 (23:12 +0100)]
stdio: Ensure <stdio.h> defines off_t, ssize_t, va_list.

14 years agoxlist, xoset: Fix missing dependency bug, introduced on 2009-12-13.
Bruno Haible [Thu, 7 Jan 2010 20:44:46 +0000 (21:44 +0100)]
xlist, xoset: Fix missing dependency bug, introduced on 2009-12-13.

14 years agodoc: Clarify the platforms.
Bruno Haible [Thu, 7 Jan 2010 20:33:02 +0000 (21:33 +0100)]
doc: Clarify the platforms.

14 years agonl_langinfo: Simplify logic.
Bruno Haible [Thu, 7 Jan 2010 20:25:30 +0000 (21:25 +0100)]
nl_langinfo: Simplify logic.

14 years agoChangeLog: Correct a recent entry.
Bruno Haible [Thu, 7 Jan 2010 19:52:03 +0000 (20:52 +0100)]
ChangeLog: Correct a recent entry.

14 years agoautoupdate
Karl Berry [Thu, 7 Jan 2010 18:33:44 +0000 (10:33 -0800)]
autoupdate

14 years agowctype: allow C++ use
John W. Eaton [Thu, 7 Jan 2010 13:16:09 +0000 (06:16 -0700)]
wctype: allow C++ use

* lib/wctype.in.h: Add extern "C" block for C++.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agomaint.mk: detect incorrect GFDL usage
Eric Blake [Thu, 7 Jan 2010 03:47:08 +0000 (20:47 -0700)]
maint.mk: detect incorrect GFDL usage

Similar to the existing sc_GPL_version.  Fortunately, the two licenses
have enough distinction in wording so that neither regexp is a false
positive for the other license.  This won't catch files that line wrap
differently than expected; as it was, the GFDL needed two regexp to
handle the use of GFDL in the m4 project.

* top/maint.mk (_GFDL_regexp, sc_GFDL_version): New rule.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agomaint.mk: ignore multi-line copyright in NEWS
Eric Blake [Wed, 6 Jan 2010 17:03:34 +0000 (10:03 -0700)]
maint.mk: ignore multi-line copyright in NEWS

The old algorithm did not work for projects like m4 that used
long-hand copyright years that wrapped lines.  Meanwhile, this
change has no impact to single-line copyrights, like coreutils.

Changing the rest of the footer, such as bumping from GFDL 1.2
to GFDL 1.3, will still require the developer to rerun
'make update-NEWS-hash' to get the hash back in sync, but that
is probably less frequent.

* top/maint.mk (NEWS_hash): Add immunity to multi-line copyright.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agoselect: add missing dependency
Eric Blake [Thu, 7 Jan 2010 02:44:15 +0000 (19:44 -0700)]
select: add missing dependency

* modules/select-tests (Depends-on): Move sockets dependency...
* modules/select (Depends-on): ...here.
Reported by Ian Beckwith.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agodoc: regenerate INSTALL
Eric Blake [Wed, 21 Oct 2009 02:27:20 +0000 (20:27 -0600)]
doc: regenerate INSTALL

* doc/INSTALL: Reflect recent autoconf update.
* doc/INSTALL.ISO: Likewise.
* doc/INSTALL.UTF-8: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agopread: fix compilation on glibc
Eric Blake [Wed, 6 Jan 2010 21:12:45 +0000 (14:12 -0700)]
pread: fix compilation on glibc

pread was not mandatory until POSIX 2008, so glibc does not
expose it by default.

* m4/pread.m4 (gl_FUNC_PREAD): Request all interfaces.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agodirent: fix test failure
Eric Blake [Wed, 6 Jan 2010 21:08:15 +0000 (14:08 -0700)]
dirent: fix test failure

POSIX 2008 XSI requires ino_t.  But it is easier if gnulib
guarantees it always, rather than just on XSI systems.

* lib/dirent.in.h (includes): Guarantee ino_t.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agolinkat, renameat: avoid bad free
Petr Salinger [Thu, 7 Jan 2010 01:59:29 +0000 (18:59 -0700)]
linkat, renameat: avoid bad free

* lib/at-func2.c (at_func2): Fix typo.
Reported via Ian Beckwith, from http://bugs.debian.org/561117.

Signed-off-by: Eric Blake <ebb9@byu.net>
14 years agocleanup after gl_FUNC_READLINK, for gl_FUNC_SYMLINK test
Ralf Wildenhues [Wed, 6 Jan 2010 18:21:57 +0000 (19:21 +0100)]
cleanup after gl_FUNC_READLINK, for gl_FUNC_SYMLINK test

* m4/readlink.m4 (gl_FUNC_READLINK): Remove conftest.lnk2,
to avoid failure of symlink test later.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>