gnulib.git
15 years agoautoupdate
Karl Berry [Wed, 29 Apr 2009 17:03:37 +0000 (10:03 -0700)]
autoupdate

15 years agoComment tweaks.
Bruno Haible [Wed, 29 Apr 2009 01:02:27 +0000 (03:02 +0200)]
Comment tweaks.

15 years agoFix a compilation error.
Bruno Haible [Tue, 28 Apr 2009 22:46:58 +0000 (00:46 +0200)]
Fix a compilation error.

15 years agoautoupdate
Karl Berry [Tue, 28 Apr 2009 13:15:50 +0000 (06:15 -0700)]
autoupdate

15 years agoNew module 'libunistring'.
Bruno Haible [Mon, 27 Apr 2009 21:37:25 +0000 (23:37 +0200)]
New module 'libunistring'.

15 years agomaint.mk: allow package-specific header to provide <config.h>
Eric Blake [Mon, 27 Apr 2009 14:36:55 +0000 (08:36 -0600)]
maint.mk: allow package-specific header to provide <config.h>

* top/maint.mk (sc_require_config_h): New variable.
(sc_require_config_h, sc_require_config_h_first): Use it.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agotop/maint.mk (sc_avoid_if_before_free): Except useless-if-before-free script.
Simon Josefsson [Mon, 27 Apr 2009 13:25:50 +0000 (15:25 +0200)]
top/maint.mk (sc_avoid_if_before_free): Except useless-if-before-free script.

15 years agomaintainer-makefile: depend on all required helper scripts
Eric Blake [Mon, 27 Apr 2009 12:27:04 +0000 (06:27 -0600)]
maintainer-makefile: depend on all required helper scripts

* modules/maintainer-makefile (Depends-on): Add vc-list-files and
useless-if-before-free.
* top/maint.mk (VC_LIST, sc_avoid_if_before_free): Use local
version, rather than assuming gnulib checkout is available.
Reported by Simen Josefsson.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoMake the lib vs. lib64 recognition work on openSUSE 11 with "gcc -m32".
Bruno Haible [Sun, 26 Apr 2009 16:59:33 +0000 (18:59 +0200)]
Make the lib vs. lib64 recognition work on openSUSE 11 with "gcc -m32".

15 years agoSimplify gl_LIBSIGSEGV.
Bruno Haible [Sun, 26 Apr 2009 16:10:08 +0000 (18:10 +0200)]
Simplify gl_LIBSIGSEGV.

15 years agoCorrect last commits.
Bruno Haible [Sun, 26 Apr 2009 14:54:18 +0000 (16:54 +0200)]
Correct last commits.

15 years agoCorrect last commit.
Bruno Haible [Sun, 26 Apr 2009 14:49:15 +0000 (16:49 +0200)]
Correct last commit.

15 years agoCorrect last commit.
Bruno Haible [Sun, 26 Apr 2009 14:48:03 +0000 (16:48 +0200)]
Correct last commit.

15 years agoSimplify calling convention of u*_conv_from_encoding.
Bruno Haible [Sun, 26 Apr 2009 14:43:25 +0000 (16:43 +0200)]
Simplify calling convention of u*_conv_from_encoding.

15 years agoTrivial simplification of last commit.
Bruno Haible [Sun, 26 Apr 2009 13:48:57 +0000 (15:48 +0200)]
Trivial simplification of last commit.

15 years agoSimplify calling convention of u*_conv_to_encoding.
Bruno Haible [Sun, 26 Apr 2009 13:31:18 +0000 (15:31 +0200)]
Simplify calling convention of u*_conv_to_encoding.

15 years agoAvoid test failures on AIX and OSF/1.
Bruno Haible [Sun, 26 Apr 2009 10:24:08 +0000 (12:24 +0200)]
Avoid test failures on AIX and OSF/1.

15 years agoRequire a POSIX compliant malloc().
Bruno Haible [Sun, 26 Apr 2009 10:00:43 +0000 (12:00 +0200)]
Require a POSIX compliant malloc().

15 years agoAvoid link error when creating a namespace clean library.
Bruno Haible [Sat, 25 Apr 2009 15:22:50 +0000 (17:22 +0200)]
Avoid link error when creating a namespace clean library.

15 years agovc-list-files: fix another quoting bug
Jim Meyering [Sat, 25 Apr 2009 13:32:33 +0000 (15:32 +0200)]
vc-list-files: fix another quoting bug

* build-aux/vc-list-files: Avoid sed backslash expansion
of pathological directory names.

15 years agovc-list-files: fix shell quoting error
Eric Blake [Sat, 25 Apr 2009 13:15:12 +0000 (07:15 -0600)]
vc-list-files: fix shell quoting error

* build-aux/vc-list-files: Protect against $ in $dir.  Normalize
timestamp.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agovc-list-files: restore lost functionality with subdir argument
Jim Meyering [Sat, 25 Apr 2009 08:23:53 +0000 (10:23 +0200)]
vc-list-files: restore lost functionality with subdir argument

* build-aux/vc-list-files: When given a non-"." sub-directory
argument, substitute the $dir/ prefix back onto each resulting name.
Otherwise, coreutils' root_tests check would fail.

15 years agovc-list-files: ignore git symlinks
Eric Blake [Fri, 24 Apr 2009 20:58:02 +0000 (14:58 -0600)]
vc-list-files: ignore git symlinks

* build-aux/vc-list-files (.git): Use ls-tree and a filter, rather
than ls-files, to ignore git symlinks.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agomaint.mk: import improvements from m4
Eric Blake [Fri, 24 Apr 2009 20:57:01 +0000 (14:57 -0600)]
maint.mk: import improvements from m4

* top/maint.mk (VC-tag): Use signing key from cfg.mk.
(move_if_change): Delete unused macro.
(news-date-check, vc-diff-check): Support VPATH builds.
(announcement): Likewise.  Split --bootstrap-tools list...
(boostrap-tools): ...into separate list, which can be overridden
in cfg.mk.
(sc_avoid_if_before_free): Point to $(gnulib_dir), rather than
requiring dependency on useless-if-before-free module.
(VC_LIST, VC_LIST_EXCEPT): Likewise for vc-list-files module.
Support VPATH builds.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agomaint.mk: remove coreutils-specific rules and variables
Jim Meyering [Fri, 24 Apr 2009 18:45:37 +0000 (20:45 +0200)]
maint.mk: remove coreutils-specific rules and variables

* top/maint.mk (bin, taint-distcheck, coreutils-path-check, t): Remove.
(fake_home, install-transform-check, my-instcheck, pfx, TMPDIR): Remove.
(t_prefix, t_taint, tp, warn_cflags, write_loser, my-distcheck): Remove.

15 years agomaint.mk: remove obsolete rule
Jim Meyering [Fri, 24 Apr 2009 18:27:52 +0000 (20:27 +0200)]
maint.mk: remove obsolete rule

* top/maint.mk (rel-check): Remove rule.
(WGET, WGETFLAGS): Remove now-unused variables.

15 years agotop/maint.mk (makefile-check): Renamed to sc_makefile_check for consistency.
Simon Josefsson [Fri, 24 Apr 2009 07:57:11 +0000 (09:57 +0200)]
top/maint.mk (makefile-check): Renamed to sc_makefile_check for consistency.

15 years agovc-list-files-tests: Use $(PATH_SEPARATOR) instead of :.
Simon Josefsson [Fri, 24 Apr 2009 07:38:49 +0000 (09:38 +0200)]
vc-list-files-tests: Use $(PATH_SEPARATOR) instead of :.

15 years agogetopt: Use const for constant data.
Simon Josefsson [Fri, 24 Apr 2009 06:50:50 +0000 (08:50 +0200)]
getopt: Use const for constant data.

15 years agoSync maint.mk with coreutils.
Simon Josefsson [Thu, 23 Apr 2009 22:53:35 +0000 (00:53 +0200)]
Sync maint.mk with coreutils.

15 years agoautoupdate
Karl Berry [Thu, 23 Apr 2009 13:16:03 +0000 (06:16 -0700)]
autoupdate

15 years agoFix cross-compilation results.
Bruno Haible [Thu, 23 Apr 2009 01:35:20 +0000 (03:35 +0200)]
Fix cross-compilation results.

15 years agoautoupdate
Karl Berry [Wed, 22 Apr 2009 14:34:46 +0000 (07:34 -0700)]
autoupdate

15 years agoAvoid test failure on mingw.
Bruno Haible [Tue, 21 Apr 2009 01:43:01 +0000 (03:43 +0200)]
Avoid test failure on mingw.

15 years agoAvoid compilation error on mingw.
Bruno Haible [Tue, 21 Apr 2009 01:02:15 +0000 (03:02 +0200)]
Avoid compilation error on mingw.

15 years agoSupport for building a shared library on Windows platforms.
Bruno Haible [Mon, 20 Apr 2009 02:27:37 +0000 (04:27 +0200)]
Support for building a shared library on Windows platforms.

15 years agoAvoid a compiler warning.
Bruno Haible [Sun, 19 Apr 2009 22:06:17 +0000 (00:06 +0200)]
Avoid a compiler warning.

15 years agoDon't touch configmake.h if it has not actually changed.
Bruno Haible [Sun, 19 Apr 2009 20:09:56 +0000 (22:09 +0200)]
Don't touch configmake.h if it has not actually changed.

15 years agoautoupdate
Karl Berry [Sat, 18 Apr 2009 13:12:25 +0000 (06:12 -0700)]
autoupdate

15 years agoautoupdate
Karl Berry [Fri, 17 Apr 2009 13:29:57 +0000 (06:29 -0700)]
autoupdate

15 years agomaintainer-makefile: (PO_DOMAIN): New variable, allows overriding of gettext domain.
Simon Josefsson [Fri, 17 Apr 2009 06:51:35 +0000 (08:51 +0200)]
maintainer-makefile: (PO_DOMAIN): New variable, allows overriding of gettext domain.

15 years agouseless-if-before-free: improve conversion code
Jim Meyering [Thu, 16 Apr 2009 16:08:04 +0000 (18:08 +0200)]
useless-if-before-free: improve conversion code

* build-aux/useless-if-before-free: Adjust code-in-comment to match
"...!= 0" as well as "...!= NULL".  emacs has one of the former.

15 years agoTweak last commit.
Bruno Haible [Tue, 14 Apr 2009 19:31:30 +0000 (21:31 +0200)]
Tweak last commit.

15 years ago* build-aux/gendocs.sh: Restore lost x bit.
Eric Blake [Mon, 13 Apr 2009 23:22:25 +0000 (17:22 -0600)]
* build-aux/gendocs.sh: Restore lost x bit.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoremove trailing whitespace to placate Jim, more license syncs
Karl Berry [Mon, 13 Apr 2009 17:04:12 +0000 (10:04 -0700)]
remove trailing whitespace to placate Jim, more license syncs

15 years agoMake fcntl module detect O_NOATIME, O_NOFOLLOW on GNU/Linux.
Ben Pfaff [Sun, 12 Apr 2009 23:31:16 +0000 (16:31 -0700)]
Make fcntl module detect O_NOATIME, O_NOFOLLOW on GNU/Linux.

15 years agoMake rename replace existing destinations on Windows.
Ben Pfaff [Wed, 8 Apr 2009 03:41:15 +0000 (20:41 -0700)]
Make rename replace existing destinations on Windows.

15 years agoAdd include that is no longer done by striconveha.h.
Bruno Haible [Fri, 10 Apr 2009 22:36:47 +0000 (00:36 +0200)]
Add include that is no longer done by striconveha.h.

15 years agoNew include file "iconveh.h".
Bruno Haible [Fri, 10 Apr 2009 22:01:31 +0000 (00:01 +0200)]
New include file "iconveh.h".

15 years agoFix comment.
Bruno Haible [Fri, 10 Apr 2009 21:24:25 +0000 (23:24 +0200)]
Fix comment.

15 years agoInside libunistring, define the function always.
Bruno Haible [Fri, 10 Apr 2009 17:50:44 +0000 (19:50 +0200)]
Inside libunistring, define the function always.

15 years agoMark the 'utime' module obsolete.
Bruno Haible [Fri, 10 Apr 2009 17:43:13 +0000 (19:43 +0200)]
Mark the 'utime' module obsolete.

15 years agoFix cross-compile guess for utime test.
Bruno Haible [Fri, 10 Apr 2009 17:36:32 +0000 (19:36 +0200)]
Fix cross-compile guess for utime test.

15 years agofilevercmp: correct today's change
Kamil Dudka [Thu, 9 Apr 2009 16:07:15 +0000 (18:07 +0200)]
filevercmp: correct today's change

* lib/filevercmp.c: Also handle coreutils' test inputs.
* tests/test-filevercmp.c: Add inputs from one of coreutils' test scripts.

15 years agofilevercmp: fix regression
Kamil Dudka [Thu, 9 Apr 2009 11:22:23 +0000 (13:22 +0200)]
filevercmp: fix regression

15 years agouseless-if-before-free: show how to remove braced useless free, too
Jim Meyering [Tue, 7 Apr 2009 08:38:35 +0000 (10:38 +0200)]
useless-if-before-free: show how to remove braced useless free, too

* build-aux/useless-if-before-free: still only in a comment, though.

15 years agomaint.mk: import changes to syntax-check macros from coreutils
Reuben Thomas [Tue, 7 Apr 2009 08:05:47 +0000 (09:05 +0100)]
maint.mk: import changes to syntax-check macros from coreutils

* top/maint.mk (_prohibit_regexp, _header_without_use): Define.
Use them in the relevant macros.

15 years agoFix unportable use of bit-fields.
Bruno Haible [Tue, 7 Apr 2009 02:07:30 +0000 (04:07 +0200)]
Fix unportable use of bit-fields.

15 years agoAvoid test failures on AIX and OSF/1.
Bruno Haible [Tue, 7 Apr 2009 00:59:43 +0000 (02:59 +0200)]
Avoid test failures on AIX and OSF/1.

15 years agoWork around an autoconf limitation on line lengths.
Bruno Haible [Mon, 6 Apr 2009 01:05:17 +0000 (03:05 +0200)]
Work around an autoconf limitation on line lengths.

15 years agoAvoid test failure with libiconv-1.13.
Bruno Haible [Sun, 5 Apr 2009 23:32:32 +0000 (01:32 +0200)]
Avoid test failure with libiconv-1.13.

15 years agoMake it easier to distribute gnulib-built libraries.
Bruno Haible [Sun, 5 Apr 2009 20:42:13 +0000 (22:42 +0200)]
Make it easier to distribute gnulib-built libraries.

15 years agoComment.
Bruno Haible [Sun, 5 Apr 2009 19:48:52 +0000 (21:48 +0200)]
Comment.

15 years agoNew gnulib-tool option --copy-file.
Bruno Haible [Sun, 5 Apr 2009 19:48:01 +0000 (21:48 +0200)]
New gnulib-tool option --copy-file.

15 years agoprominently mention gnulib-tool; rearrange sections
Karl Berry [Sun, 5 Apr 2009 18:16:12 +0000 (11:16 -0700)]
prominently mention gnulib-tool; rearrange sections

15 years agoprominently mention gnulib-tool; rearrange sections
Karl Berry [Sun, 5 Apr 2009 18:09:28 +0000 (11:09 -0700)]
prominently mention gnulib-tool; rearrange sections

15 years agoUse the new u*_cmp2 functions.
Bruno Haible [Sun, 5 Apr 2009 11:03:09 +0000 (13:03 +0200)]
Use the new u*_cmp2 functions.

15 years agoUse the u*_cmp functions.
Bruno Haible [Sun, 5 Apr 2009 11:02:10 +0000 (13:02 +0200)]
Use the u*_cmp functions.

15 years agoNew module 'unistr/u32-cmp2'.
Bruno Haible [Sun, 5 Apr 2009 10:35:40 +0000 (12:35 +0200)]
New module 'unistr/u32-cmp2'.

15 years agoNew module 'unistr/u16-cmp2'.
Bruno Haible [Sun, 5 Apr 2009 10:35:04 +0000 (12:35 +0200)]
New module 'unistr/u16-cmp2'.

15 years agoNew module 'unistr/u8-cmp2'.
Bruno Haible [Sun, 5 Apr 2009 10:34:14 +0000 (12:34 +0200)]
New module 'unistr/u8-cmp2'.

15 years agoNew macro uc_property_is_valid.
Bruno Haible [Sun, 5 Apr 2009 10:16:37 +0000 (12:16 +0200)]
New macro uc_property_is_valid.

15 years agoDoc fixes.
Bruno Haible [Sun, 5 Apr 2009 10:14:45 +0000 (12:14 +0200)]
Doc fixes.

15 years agoFix ChangeLog typo in my previous commit.
Paul Eggert [Fri, 3 Apr 2009 20:31:23 +0000 (13:31 -0700)]
Fix ChangeLog typo in my previous commit.

15 years agoPort inet_ntop to Solaris 8 (problem found in coreutils 7.2).
Paul Eggert [Fri, 3 Apr 2009 20:24:11 +0000 (13:24 -0700)]
Port inet_ntop to Solaris 8 (problem found in coreutils 7.2).

* modules/arpa_inet (arpa/inet.h): Depend on arpa_inet.in.h.
* m4/inet_ntop.m4 (gl_INET_NTOP): Search for inet_ntop in -lnsl,
for Solaris 8.  This is a bit of a hack, as it means it's the
caller's responsibility to add -lnsl if needed, but most likely it
won't be needed since only getaddrinfo uses this and getaddrinfo
isn't needed on Solaris 8.

15 years agofnmatch depends on mbsrtowcs and mbsinit.
Paul Eggert [Fri, 3 Apr 2009 17:46:35 +0000 (10:46 -0700)]
fnmatch depends on mbsrtowcs and mbsinit.

15 years agolib-symbol-versions: Add comment about false positive on mingw.
Simon Josefsson [Fri, 3 Apr 2009 12:22:06 +0000 (14:22 +0200)]
lib-symbol-versions: Add comment about false positive on mingw.

15 years agold-output-def.texi: Use DLL_VERSION.
Simon Josefsson [Thu, 2 Apr 2009 15:17:11 +0000 (17:17 +0200)]
ld-output-def.texi: Use DLL_VERSION.

15 years agoCombine 4 Makefile rules.
Bruno Haible [Thu, 2 Apr 2009 10:40:42 +0000 (12:40 +0200)]
Combine 4 Makefile rules.

15 years agoAdd targets for the documentation.
Bruno Haible [Thu, 2 Apr 2009 01:10:16 +0000 (03:10 +0200)]
Add targets for the documentation.

15 years agoDocument how gnulib-tool can be put into PATH.
Bruno Haible [Thu, 2 Apr 2009 00:20:00 +0000 (02:20 +0200)]
Document how gnulib-tool can be put into PATH.

15 years agoFollow texinfo style conventions.
Bruno Haible [Wed, 1 Apr 2009 22:31:54 +0000 (00:31 +0200)]
Follow texinfo style conventions.

15 years agoRename module 'visibility'.
Bruno Haible [Wed, 1 Apr 2009 22:27:06 +0000 (00:27 +0200)]
Rename module 'visibility'.

15 years agoAdd lib-msvc-compat module.
Simon Josefsson [Wed, 1 Apr 2009 14:49:57 +0000 (16:49 +0200)]
Add lib-msvc-compat module.

15 years agoRename ld-version-script to lib-symbol-versions.
Simon Josefsson [Wed, 1 Apr 2009 05:04:49 +0000 (07:04 +0200)]
Rename ld-version-script to lib-symbol-versions.

15 years agoAdd u64-tests module.
Simon Josefsson [Tue, 31 Mar 2009 14:44:32 +0000 (16:44 +0200)]
Add u64-tests module.

15 years agoAdd missing file to last commit.
Simon Josefsson [Tue, 31 Mar 2009 14:29:04 +0000 (16:29 +0200)]
Add missing file to last commit.

15 years agoNew module u64. Make crypto/sha512 use it.
Simon Josefsson [Tue, 31 Mar 2009 14:27:55 +0000 (16:27 +0200)]
New module u64.  Make crypto/sha512 use it.

15 years agoupdate from texinfo
Karl Berry [Sun, 29 Mar 2009 16:35:44 +0000 (09:35 -0700)]
update from texinfo

15 years agotest-getaddrinfo: whitespace cleanup
Eric Blake [Fri, 27 Mar 2009 19:28:27 +0000 (13:28 -0600)]
test-getaddrinfo: whitespace cleanup

* tests/test-getaddrinfo.c: Fix whitespace.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agotest-strerror: make debugging EAI_SYSTEM easier
Eric Blake [Fri, 27 Mar 2009 14:16:39 +0000 (08:16 -0600)]
test-strerror: make debugging EAI_SYSTEM easier

* modules/getaddrinfo-tests (Depends-on): Add strerror.
* test-getaddrinfo.c (simple) [ENABLE_DEBUGGING]: Report errno if
failure was EAI_SYSTEM.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoFix a problem with --enable-relocatable on Solaris 7.
Bruno Haible [Thu, 26 Mar 2009 04:11:07 +0000 (05:11 +0100)]
Fix a problem with --enable-relocatable on Solaris 7.

15 years agotest-sockets: avoid gcc warning
Eric Blake [Wed, 25 Mar 2009 15:35:18 +0000 (09:35 -0600)]
test-sockets: avoid gcc warning

* tests/test-sockets.c (main): Silence compiler warning.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoNew modules nproc, pthread.
Paul Eggert [Wed, 25 Mar 2009 20:01:24 +0000 (13:01 -0700)]
New modules nproc, pthread.

* MODULES.html.sh: Add pthread, nproc.
* lib/nproc.c: New file.
* lib/nproc.h: New file.
* lib/pthread.in.h: New file.
* m4/pthread.m4: New file.
* modules/nproc: New file.
* modules/pthread: New file.

15 years agoFix a link error on MacOS X 10.5.
Simon Josefsson [Tue, 24 Mar 2009 22:54:00 +0000 (23:54 +0100)]
Fix a link error on MacOS X 10.5.

15 years agofilevercmp: handle simple~ and numbered.~3~ backup suffixes
Kamil Dudka [Fri, 20 Mar 2009 10:20:12 +0000 (11:20 +0100)]
filevercmp: handle simple~ and numbered.~3~ backup suffixes

* lib/filevercmp.c: Handle simple~ and numbered.~3~ backup suffixes.
* tests/test-filevercmp.c: Add tests for backup suffixes.
Reported by Sven Joachim.

15 years agomodules/stdlib (Depends-on): Add stdint.
Simon Josefsson [Tue, 24 Mar 2009 19:53:51 +0000 (20:53 +0100)]
modules/stdlib (Depends-on): Add stdint.
Needed when defining struct random_data on, for example, HP-UX 10.20.
Reported by Albert Chin <bug-gnulib@mlists.thewrittenword.com>.

15 years agolib/readline.c (readline): Call fflush on stdout after printing prompt.
Simon Josefsson [Tue, 24 Mar 2009 07:11:31 +0000 (08:11 +0100)]
lib/readline.c (readline): Call fflush on stdout after printing prompt.

15 years agoRemove dependency from 'close' module to -lws2_32 on native Windows.
Bruno Haible [Mon, 23 Mar 2009 22:52:01 +0000 (23:52 +0100)]
Remove dependency from 'close' module to -lws2_32 on native Windows.

15 years agosignal-tests: test previous patch
Eric Blake [Sun, 22 Mar 2009 00:26:52 +0000 (18:26 -0600)]
signal-tests: test previous patch

* tests/test-signal.c: New file.
* modules/signal-tests: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>