pspp
14 years agoAdd new module valgrind-tests.
Simon Josefsson [Thu, 20 May 2010 06:29:56 +0000 (08:29 +0200)]
Add new module valgrind-tests.

14 years agoClean up dead code in recent commit. 20100521040508/gnulib 20100521090628/gnulib 20100522040502/gnulib 20100523040502/gnulib 20100524040503/gnulib 20100525040507/gnulib 20100526040502/gnulib 20100527040507/gnulib 20100528040502/gnulib 20100529040502/gnulib 20100530040501/gnulib 20100531040501/gnulib 20100601040502/gnulib 20100602040502/gnulib 20100603040507/gnulib 20100605040507/gnulib 20100606040502/gnulib 20100607040503/gnulib 20100608040508/gnulib 20100609040502/gnulib
Bruno Haible [Wed, 19 May 2010 21:30:18 +0000 (23:30 +0200)]
Clean up dead code in recent commit.

14 years agoAvoid valgrind error reports from libunistring.
Bruno Haible [Wed, 19 May 2010 20:11:00 +0000 (22:11 +0200)]
Avoid valgrind error reports from libunistring.

14 years agoautoupdate
Karl Berry [Wed, 19 May 2010 14:11:42 +0000 (07:11 -0700)]
autoupdate

14 years agoNew module 'libunistring-optional'.
Bruno Haible [Tue, 18 May 2010 18:11:42 +0000 (20:11 +0200)]
New module 'libunistring-optional'.

14 years agodoc: users.txt: list hivex
Richard Jones [Tue, 18 May 2010 15:52:12 +0000 (17:52 +0200)]
doc: users.txt: list hivex

* users.txt: Add hivex.

2010-05-18  Richard Jones  <rjones@redhat.com>

14 years agodoc: users.txt: list febootstrap
Richard Jones [Tue, 18 May 2010 14:52:35 +0000 (16:52 +0200)]
doc: users.txt: list febootstrap

* users.txt: Add febootstrap.

14 years agoupdate from texinfo
Karl Berry [Tue, 18 May 2010 00:18:45 +0000 (17:18 -0700)]
update from texinfo

14 years agoFix typo in ChangeLog entry.
Bruno Haible [Mon, 17 May 2010 20:04:41 +0000 (22:04 +0200)]
Fix typo in ChangeLog entry.

14 years agobootstrap: fix an error when gnulib is not used as a git submodule
Giuseppe Scrivano [Mon, 17 May 2010 13:26:42 +0000 (15:26 +0200)]
bootstrap: fix an error when gnulib is not used as a git submodule

* build-aux/bootstrap (gnulib_path): If its length is zero then
assign "gnulib" to it.
* build-aux/bootstrap: Redirect "git clone -h" stderr to stdout.

14 years agoAvoid autoconf warnings about AM_ICONV.
Bruno Haible [Sun, 16 May 2010 21:49:00 +0000 (23:49 +0200)]
Avoid autoconf warnings about AM_ICONV.

14 years agoabsolute-header: Make the macro usable in more situations.
Bruno Haible [Sun, 16 May 2010 21:41:33 +0000 (23:41 +0200)]
absolute-header: Make the macro usable in more situations.

14 years agodoc: update users.txt
James Youngman [Sun, 16 May 2010 20:40:14 +0000 (22:40 +0200)]
doc: update users.txt

14 years agoinit.sh: fix an error in the previous change; add more comments
Jim Meyering [Sun, 16 May 2010 20:30:00 +0000 (22:30 +0200)]
init.sh: fix an error in the previous change; add more comments

* tests/init.sh: Compare exit code in loop against 9, not 2.
Patch by Bruno Haible.
Make the two tests more similar by adding an empty "then" clause.
Add comments.

14 years agoinit.sh: avoid unnecessary shell re-exec
Jim Meyering [Sun, 16 May 2010 16:34:08 +0000 (18:34 +0200)]
init.sh: avoid unnecessary shell re-exec

* tests/init.sh: Improve the re-exec-required check to first test the
current shell.  If it passes the test, do not search for a shell that
does pass, and do not re-exec.  This test is particularly contorted to
avoid triggering misbehavior in Solaris 10's /bin/sh whereby any use
of $(...) evokes a syntax error and causes immediate shell exit with
status 2.  Bruno Haible reported that the re-exec made it impossible
to single-step through any init.sh-using script.

14 years agoFix collision between gnulib's and libintl's printf replacements.
Bruno Haible [Sun, 16 May 2010 12:16:03 +0000 (14:16 +0200)]
Fix collision between gnulib's and libintl's printf replacements.

14 years agoverify: Avoid skipping the test on openSUSE 11.0.
Bruno Haible [Sun, 16 May 2010 11:59:42 +0000 (13:59 +0200)]
verify: Avoid skipping the test on openSUSE 11.0.

14 years agoupdate from texinfo
Karl Berry [Fri, 14 May 2010 17:27:58 +0000 (10:27 -0700)]
update from texinfo

14 years agoautoupdate
Karl Berry [Thu, 13 May 2010 23:47:49 +0000 (16:47 -0700)]
autoupdate

14 years agoAvoid useless warnings from G++.
Bruno Haible [Thu, 13 May 2010 17:22:39 +0000 (19:22 +0200)]
Avoid useless warnings from G++.

14 years agomaint.mk: tweak preceding change
Jim Meyering [Tue, 11 May 2010 16:49:29 +0000 (18:49 +0200)]
maint.mk: tweak preceding change

* top/maint.mk (gl_extract_significant_defines_): Make exclusion
regexps tighter by anchoring at EOL, and make the new group "shy"
for slightly decreased overhead.

14 years agomaint.mk: gnulib doesn't guarantee NSIG
Eric Blake [Tue, 11 May 2010 14:52:39 +0000 (08:52 -0600)]
maint.mk: gnulib doesn't guarantee NSIG

Gnulib conditionally defines NSIG to 32 for some platforms.  But since
NSIG is not mandated by standards, and there are platforms with 64
signals, we should not promise that NSIG is guaranteed.

* top/maint.mk (gl_extract_significant_defines_): Exclude NSIG.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agotest-pwrite.c: Remove unused variable declaration.
Peter O'Gorman [Mon, 10 May 2010 22:54:27 +0000 (00:54 +0200)]
test-pwrite.c: Remove unused variable declaration.

14 years agoRemove useless test-pwrite.sh file.
Peter O'Gorman [Mon, 10 May 2010 22:52:05 +0000 (00:52 +0200)]
Remove useless test-pwrite.sh file.

14 years agoinit.sh: fix a typo
Peter O'Gorman [Mon, 10 May 2010 15:23:08 +0000 (17:23 +0200)]
init.sh: fix a typo

* tests/init.sh: Correct typo in MALLOC_PERTURB_ initialization.

14 years agomaint.mk: avoid using a temporary file in the always-defined-macros check
Jim Meyering [Mon, 10 May 2010 07:29:09 +0000 (09:29 +0200)]
maint.mk: avoid using a temporary file in the always-defined-macros check

* top/maint.mk (.re-defmac): Remove rule.
(gl_trap_): Remove definition.
(sc_prohibit_always-defined_macros): Rewrite not to create and
depend on a temporary file.  Instead, depend on GNU grep's ability
to read a list of regular expressions from stdin when given "-f -".

14 years agoinit.sh: enable MALLOC_PERTURB_
Jim Meyering [Sun, 9 May 2010 20:39:34 +0000 (22:39 +0200)]
init.sh: enable MALLOC_PERTURB_

* tests/init.sh: Enable glibc's malloc-perturbing option.

14 years agomaint.mk: improve sc_cross_check_PATH_usage_in_tests
Jim Meyering [Sun, 9 May 2010 20:30:09 +0000 (22:30 +0200)]
maint.mk: improve sc_cross_check_PATH_usage_in_tests

With my recent change in init.sh from the two-line form:
    -#   : ${srcdir=.}
    -#   . "$srcdir/init.sh"; path_prepend_ .
    +#   . "${srcdir=.}/init.sh"; path_prepend_ .
I noticed that using the one-line form would cause this test
to fail with a false-positive, or to stop working altogether,
depending on whether help-version changed or all the tests did.
* top/maint.mk (_hv_regex): Remove this definition.
(_hv_regex_weak): Use a weak regex to select all init.sh-sourcing files.
(_hv_regex_strong): Use a stronger regex to check for conformance.
(sc_cross_check_PATH_usage_in_tests): Rewrite to use the above.
Give a separate diagnostic for lack of conforming use.

14 years agoUpdate to GNU gettext 0.18.
Bruno Haible [Sun, 9 May 2010 18:43:44 +0000 (20:43 +0200)]
Update to GNU gettext 0.18.

14 years agomaint.mk: prohibit definition of symbols defined by gnulib
Jim Meyering [Sun, 9 May 2010 16:50:40 +0000 (18:50 +0200)]
maint.mk: prohibit definition of symbols defined by gnulib

* top/maint.mk (sc_prohibit_always-defined_macros): Reject the
definition of symbols defined by gnulib.

14 years agoacl: Avoid test failure on Cygwin-hosted mingw.
Bruno Haible [Sun, 9 May 2010 16:51:48 +0000 (18:51 +0200)]
acl: Avoid test failure on Cygwin-hosted mingw.

14 years agoautoupdate
Karl Berry [Sun, 9 May 2010 13:41:27 +0000 (06:41 -0700)]
autoupdate

14 years agoerror: Use system's fcntl function.
Bruno Haible [Sun, 9 May 2010 10:16:00 +0000 (12:16 +0200)]
error: Use system's fcntl function.

14 years agoverify: adjust formatting to be more consistent
Jim Meyering [Sun, 9 May 2010 10:02:14 +0000 (12:02 +0200)]
verify: adjust formatting to be more consistent

* lib/verify.h (_GL_GENSYM): Add a space before each of a few
argument-list '('s, and after one comma.

14 years agoerror: More reliable output on mingw.
Bruno Haible [Sun, 9 May 2010 10:00:55 +0000 (12:00 +0200)]
error: More reliable output on mingw.

14 years agovasnprintf: Fix syntax errors in libintl build on mingw.
Bruno Haible [Sun, 9 May 2010 09:14:46 +0000 (11:14 +0200)]
vasnprintf: Fix syntax errors in libintl build on mingw.

14 years agoUpdate for Cygwin 1.7.
Bruno Haible [Sun, 9 May 2010 00:53:40 +0000 (02:53 +0200)]
Update for Cygwin 1.7.

14 years agoinit.sh: improve comments
Jim Meyering [Fri, 7 May 2010 07:19:41 +0000 (09:19 +0200)]
init.sh: improve comments

* tests/init.sh: Recommend the one-line init.sh-sourcing idiom:
. "${srcdir=.}/init.sh"; path_prepend_ .
Add a note about path_prepend_ and the alternative of using
TESTS_ENVIRONMENT.

14 years agoexclude: Unescape hashed patterns in wildcard mode.
Sergey Poznyakoff [Thu, 6 May 2010 20:18:34 +0000 (23:18 +0300)]
exclude: Unescape hashed patterns in wildcard mode.

* lib/exclude.c (add_exclude): Unescape the pattern before adding it
to the hash list.
* tests/test-exclude8.sh: New test case.
* modules/exclude-tests: Add new test.

14 years agoverify: automate tests
Eric Blake [Wed, 5 May 2010 22:19:18 +0000 (16:19 -0600)]
verify: automate tests

Had we automated this sooner, we would have caught the issue
with gcc -Werror -Wredundant-decls sooner.

* modules/verify-tests: New module.
* tests/test-verify.sh: New file.
* tests/test-verify.c: Guard each negative test with a unique id.
Also avoid warning about unused left hand of comma expressions.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoFurther improvements to verify.h, suggested by Eric Blake.
Paul Eggert [Wed, 5 May 2010 20:57:26 +0000 (13:57 -0700)]
Further improvements to verify.h, suggested by Eric Blake.

* lib/verify.h (_GL_CONCAT, _GL_CONCAT0, _GL_GENSYM): Renamed from
the GL_* versions, to avoid collision with OpenGL.
(_GL_COUNTER): New macro, so that we can fall back on __LINE__ if
__COUNTER__ doesn't work.  Test that __COUNTER__ increments rather
than testing merely whether it's defined.

14 years agoModify verify.h to pacify gcc -Wredundant_decls.
Paul Eggert [Wed, 5 May 2010 19:50:00 +0000 (12:50 -0700)]
Modify verify.h to pacify gcc -Wredundant_decls.

* lib/verify.h (GL_CONCAT, GL_CONCAT0, GL_GENSYM): New macros.
These use the prefix "GL_" since they're likely to be useful elsewhere.
We may need to break them out into a different .h file.
(__COUNTER__): Define to 0 if the compiler doesn't support it.
(verify) [!defined __cplusplus]: Use them to avoid duplicate decls
of verify_function__.

14 years agoTests for module pwrite.
Peter O'Gorman [Wed, 5 May 2010 19:35:50 +0000 (21:35 +0200)]
Tests for module pwrite.

14 years agoTests for module pwrite.
Peter O'Gorman [Wed, 5 May 2010 19:14:11 +0000 (21:14 +0200)]
Tests for module pwrite.

14 years agoNew module pwrite.
Peter O'Gorman [Wed, 5 May 2010 19:09:38 +0000 (21:09 +0200)]
New module pwrite.

14 years agopread: Update documentation.
Peter O'Gorman [Wed, 5 May 2010 18:53:05 +0000 (20:53 +0200)]
pread: Update documentation.

14 years agodocs: update cygwin progress
Eric Blake [Tue, 4 May 2010 14:18:30 +0000 (08:18 -0600)]
docs: update cygwin progress

* doc/posix-functions/wctob.texi (wctob): Cygwin 1.7.6 will fix
this bug.
* doc/glibc-functions/get_nprocs_conf.texi (get_nprocs_conf):
Added in cygwin 1.7.2.
* doc/glibc-functions/get_phys_pages.texi (get_phys_pages):
Likewise.
* doc/glibc-functions/get_avphys_pages.texi (get_avphys_pages):
Likewise.
* doc/glibc-functions/dup3.texi (dup3): Likewise.
* doc/glibc-functions/pipe2.texi (pipe2): Likewise.
* doc/glibc-functions/accept4.texi (accept4): Likewise.
* doc/posix-functions/strfmon.texi (strfmon): Likewise.
* doc/glibc-functions/get_nprocs.texi (get_nprocs): Likewise.
Mention nproc module.
* doc/glibc-functions/xdr_uint16_t.texi (xdr_uint16_t): Mention
bug in cygwin 1.7.5 addition.
* doc/glibc-functions/xdr_uint32_t.texi (xdr_uint32_t): Likewise.
* doc/glibc-functions/xdr_uint64_t.texi (xdr_uint64_t): Likewise.
* doc/glibc-functions/xdr_uint8_t.texi (xdr_uint8_t): Likewise.
* doc/glibc-functions/xdr_array.texi (xdr_array): Added in cygwin
1.7.5.
* doc/glibc-functions/xdr_bool.texi (xdr_bool): Likewise.
* doc/glibc-functions/xdr_bytes.texi (xdr_bytes): Likewise.
* doc/glibc-functions/xdr_char.texi (xdr_char): Likewise.
* doc/glibc-functions/xdr_double.texi (xdr_double): Likewise.
* doc/glibc-functions/xdr_enum.texi (xdr_enum): Likewise.
* doc/glibc-functions/xdr_float.texi (xdr_float): Likewise.
* doc/glibc-functions/xdr_free.texi (xdr_free): Likewise.
* doc/glibc-functions/xdr_hyper.texi (xdr_hyper): Likewise.
* doc/glibc-functions/xdr_int.texi (xdr_int): Likewise.
* doc/glibc-functions/xdr_int16_t.texi (xdr_int16_t): Likewise.
* doc/glibc-functions/xdr_int32_t.texi (xdr_int32_t): Likewise.
* doc/glibc-functions/xdr_int64_t.texi (xdr_int64_t): Likewise.
* doc/glibc-functions/xdr_int8_t.texi (xdr_int8_t): Likewise.
* doc/glibc-functions/xdr_long.texi (xdr_long): Likewise.
* doc/glibc-functions/xdr_longlong_t.texi (xdr_longlong_t):
Likewise.
* doc/glibc-functions/xdr_netobj.texi (xdr_netobj): Likewise.
* doc/glibc-functions/xdr_opaque.texi (xdr_opaque): Likewise.
* doc/glibc-functions/xdr_pointer.texi (xdr_pointer): Likewise.
* doc/glibc-functions/xdr_reference.texi (xdr_reference):
Likewise.
* doc/glibc-functions/xdr_short.texi (xdr_short): Likewise.
* doc/glibc-functions/xdr_sizeof.texi (xdr_sizeof): Likewise.
* doc/glibc-functions/xdr_string.texi (xdr_string): Likewise.
* doc/glibc-functions/xdr_u_char.texi (xdr_u_char): Likewise.
* doc/glibc-functions/xdr_u_hyper.texi (xdr_u_hyper): Likewise.
* doc/glibc-functions/xdr_u_int.texi (xdr_u_int): Likewise.
* doc/glibc-functions/xdr_u_long.texi (xdr_u_long): Likewise.
* doc/glibc-functions/xdr_u_longlong_t.texi (xdr_u_longlong_t):
Likewise.
* doc/glibc-functions/xdr_u_short.texi (xdr_u_short): Likewise.
* doc/glibc-functions/xdr_union.texi (xdr_union): Likewise.
* doc/glibc-functions/xdr_vector.texi (xdr_vector): Likewise.
* doc/glibc-functions/xdr_void.texi (xdr_void): Likewise.
* doc/glibc-functions/xdr_wrapstring.texi (xdr_wrapstring):
Likewise.
* doc/glibc-functions/xdrmem_create.texi (xdrmem_create):
Likewise.
* doc/glibc-functions/xdrrec_create.texi (xdrrec_create):
Likewise.
* doc/glibc-functions/xdrrec_endofrecord.texi
(xdrrec_endofrecord): Likewise.
* doc/glibc-functions/xdrrec_eof.texi (xdrrec_eof): Likewise.
* doc/glibc-functions/xdrrec_skiprecord.texi (xdrrec_skiprecord):
Likewise.
* doc/glibc-functions/xdrstdio_create.texi (xdrstdio_create):
Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agogendocs.sh: make its "-s FILE" option more useful
Jim Meyering [Tue, 4 May 2010 07:43:05 +0000 (09:43 +0200)]
gendocs.sh: make its "-s FILE" option more useful

* build-aux/gendocs.sh: When honoring the -s FILE option, update
$PACKAGE to reflect the probably-different basename of "FILE".

14 years agobootstrap: don't ignore download_po_files failure
Giuseppe Scrivano [Mon, 3 May 2010 20:05:41 +0000 (22:05 +0200)]
bootstrap: don't ignore download_po_files failure

* build-aux/bootstrap (update_po_files): Don't ignore download_po_files
failure.

14 years agomaint.mk: allow to pass options to gendocs.sh
Jim Meyering [Mon, 3 May 2010 21:23:09 +0000 (23:23 +0200)]
maint.mk: allow to pass options to gendocs.sh

* top/maint.mk (web-manual): Pass gendocs_options_ to gendocs.sh.
(gendocs_options_): New overridable variable.

14 years agognu-web-doc-update: don't ignore configure or build failure
Jim Meyering [Mon, 3 May 2010 21:18:40 +0000 (23:18 +0200)]
gnu-web-doc-update: don't ignore configure or build failure

* build-aux/gnu-web-doc-update: Exit nonzero upon internal failure.

14 years agoannounce-gen: backslash-escape '@'s in --help output
Jim Meyering [Mon, 3 May 2010 20:19:34 +0000 (22:19 +0200)]
announce-gen: backslash-escape '@'s in --help output

* build-aux/announce-gen: Fix syntax errors.

14 years agomaint.mk, announce-gen: allow project-specific announcement mail headers
Jim Meyering [Mon, 3 May 2010 19:58:13 +0000 (21:58 +0200)]
maint.mk, announce-gen: allow project-specific announcement mail headers

* top/maint.mk (translation_project_): Define default.
(announcement_Cc_, announcement_mail_headers_): Likewise.
(announcement): Invoke announce-gen with new --mail-headers option.
* build-aux/announce-gen: New option: --mail-headers=HEADERS.

14 years agotest-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11
Jim Meyering [Mon, 3 May 2010 16:30:38 +0000 (18:30 +0200)]
test-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11

* tests/test-xalloc-die.sh: Redirect stdout before stderr, (i.e.,
"> out 2> err", rather than "2> err > out").  Otherwise, with /bin/sh
on OpenSolaris 5.11 snv_134, we would end up with a stray "1> out"
line in the "err2" output file when running "make check" in verbose
mode (i.e., with set -x enabled).

14 years agomaint.mk: prohibit unwarranted use of <strings.h>
Jim Meyering [Mon, 3 May 2010 08:08:20 +0000 (10:08 +0200)]
maint.mk: prohibit unwarranted use of <strings.h>

* top/maint.mk (sc_prohibit_strings_without_use): Reject inclusion of
strings.h in a file that does not also use strcasecmp, strncasecmp,
ffs or ffsll.

14 years agowctob: Fix for weird platforms.
Bruno Haible [Mon, 3 May 2010 08:07:34 +0000 (10:07 +0200)]
wctob: Fix for weird platforms.

14 years agomaint.mk: remove obsolete comments
Jim Meyering [Mon, 3 May 2010 07:49:58 +0000 (09:49 +0200)]
maint.mk: remove obsolete comments

* top/maint.mk: Remove stale, commented-out rules.

14 years agowcwidth: Declare also when it's aliased.
Bruno Haible [Sun, 2 May 2010 21:03:16 +0000 (23:03 +0200)]
wcwidth: Declare also when it's aliased.

14 years agoautoupdate
Karl Berry [Sun, 2 May 2010 15:58:31 +0000 (08:58 -0700)]
autoupdate

14 years agoFix regression from 2010-04-25.
Bruno Haible [Sun, 2 May 2010 12:49:23 +0000 (14:49 +0200)]
Fix regression from 2010-04-25.

14 years agowctob: Work around nasty Cygwin 1.7.2 bug.
Bruno Haible [Sun, 2 May 2010 11:15:21 +0000 (13:15 +0200)]
wctob: Work around nasty Cygwin 1.7.2 bug.

14 years agofpurge: Sharper test.
Bruno Haible [Sat, 1 May 2010 18:42:16 +0000 (20:42 +0200)]
fpurge: Sharper test.

14 years agoftello: Another test.
Bruno Haible [Sat, 1 May 2010 18:35:37 +0000 (20:35 +0200)]
ftello: Another test.

14 years agoftell: Another test.
Bruno Haible [Sat, 1 May 2010 18:34:59 +0000 (20:34 +0200)]
ftell: Another test.

14 years agoftell, ftello: Work around Solaris bug.
Bruno Haible [Sat, 1 May 2010 18:32:26 +0000 (20:32 +0200)]
ftell, ftello: Work around Solaris bug.

14 years agofreading: Adapt to special meaning of _IOREAD flag on Solaris.
Bruno Haible [Sat, 1 May 2010 18:23:22 +0000 (20:23 +0200)]
freading: Adapt to special meaning of _IOREAD flag on Solaris.

14 years agoFix doc about a HP-UX stdio bug.
Bruno Haible [Sat, 1 May 2010 17:20:12 +0000 (19:20 +0200)]
Fix doc about a HP-UX stdio bug.

14 years agolseek test: Fix failure on Solaris.
Bruno Haible [Sat, 1 May 2010 11:59:40 +0000 (13:59 +0200)]
lseek test: Fix failure on Solaris.

14 years agobootstrap: don't ignore failure to generate po*/Makevars
Jim Meyering [Fri, 30 Apr 2010 16:17:36 +0000 (18:17 +0200)]
bootstrap: don't ignore failure to generate po*/Makevars

* build-aux/bootstrap (with_gettext): Don't ignore failure
to create po/Makevars or runtime-po/Makevars.

14 years agoautoupdate
Karl Berry [Fri, 30 Apr 2010 13:46:10 +0000 (06:46 -0700)]
autoupdate

14 years agoheaders: relax license to LGPLv2+
Eric Blake [Thu, 29 Apr 2010 19:40:19 +0000 (13:40 -0600)]
headers: relax license to LGPLv2+

The replacement headers deserve relaxed licenses, even if the
functions they declare cannot be accessed without a tighter license.

See the list archives for consensus on this action.

* modules/fcntl-h (License): Relax license.
* modules/getopt-posix (License): Likewise.
* modules/locale (License): Likewise.
* modules/math (License): Likewise.
* modules/pty (License): Likewise.
* modules/sched (License): Likewise.
* modules/search (License): Likewise.
* modules/spawn (License): Likewise.
* modules/stdarg (License): Likewise.
* modules/sysexits (License): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agointtypes: relax license to LGPLv2+
Jim Meyering [Thu, 29 Apr 2010 08:56:13 +0000 (10:56 +0200)]
inttypes: relax license to LGPLv2+

* modules/inttypes (License): Relax license.

14 years agotop/maint.mk (indent): Run twice to produce idempotent results.
Simon Josefsson [Thu, 29 Apr 2010 06:46:14 +0000 (08:46 +0200)]
top/maint.mk (indent): Run twice to produce idempotent results.

14 years agogetdate: Generate getdate.c in the source directory.
Bruno Haible [Wed, 28 Apr 2010 17:17:54 +0000 (19:17 +0200)]
getdate: Generate getdate.c in the source directory.

14 years agoutimens: avoid compiler warning
Andreas Gruenbacher [Wed, 28 Apr 2010 16:32:46 +0000 (10:32 -0600)]
utimens: avoid compiler warning

* lib/utimens.c: On Tru64, the timestamp parameter of utimens(2)
is not declared as a const *; avoid warnings in that case.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agocanonicalize-lgpl: avoid compiler warning
Eric Blake [Wed, 28 Apr 2010 16:13:24 +0000 (10:13 -0600)]
canonicalize-lgpl: avoid compiler warning

* lib/canonicalize-lgpl.c (versioned_symbol): Avoid an 'empty
declaration' / 'extraneous semicolon' warning with some compilers.
Reported by Andreas Gruenbacher.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agoinit.sh: ensure a more reliable exit status when exiting via trap
Jim Meyering [Wed, 28 Apr 2010 07:51:15 +0000 (09:51 +0200)]
init.sh: ensure a more reliable exit status when exiting via trap

* tests/init.sh (setup_): Don't rely on $? in signal handler.
Inspired by patches from Dmitry V. Levin.
Also trap on signal 3 (SIGQUIT).

14 years agoUpdate doc about utimes().
Bruno Haible [Wed, 28 Apr 2010 00:35:24 +0000 (02:35 +0200)]
Update doc about utimes().

14 years agofull-read, full-write: relax license
Eric Blake [Tue, 27 Apr 2010 18:14:04 +0000 (12:14 -0600)]
full-read, full-write: relax license

Jim Meyering gave consent to this action:
http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00446.html

* modules/full-read (License): Drop to LGPLv2+.
* modules/full-write (License): Likewise.
* modules/safe-read (License): Likewise.
* modules/safe-write (License): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agopthread: mention library for linking
Eric Blake [Tue, 27 Apr 2010 17:38:51 +0000 (11:38 -0600)]
pthread: mention library for linking

* modules/pthread (Link): Mention $(LIB_PTHREAD).

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agomaint.mk: fix a bug introduced in last change
Jim Meyering [Tue, 27 Apr 2010 15:29:03 +0000 (17:29 +0200)]
maint.mk: fix a bug introduced in last change

* top/maint.mk (gl_assured_headers_): Now that all names are on
one line, use sed's "g" modifier.  Note that while the \.in\.h LHS
is not anchored to end of word, it should be adequate.

14 years agomaint.mk: avoid side-effect in latest syntax-check
Jim Meyering [Tue, 27 Apr 2010 14:32:40 +0000 (16:32 +0200)]
maint.mk: avoid side-effect in latest syntax-check

* top/maint.mk (sc_prohibit_always_true_header_tests): Rework not
to run commands via $(shell...), and hence to incur cost only when
the new rule is actually run.

14 years agoautoupdate
Karl Berry [Tue, 27 Apr 2010 14:17:44 +0000 (07:17 -0700)]
autoupdate

14 years agomaint.mk: syntax-check: prohibit HAVE_<header>_H that are always true
Jim Meyering [Fri, 9 Apr 2010 17:07:57 +0000 (19:07 +0200)]
maint.mk: syntax-check: prohibit HAVE_<header>_H that are always true

Derive the list of guaranteed header names from gnulib/lib/*.in.h,
and use that to create a regexp used to detect all #if HAVE_..._H uses.
* top/maint.mk (sc_prohibit_always_true_header_tests): New rule.
(gl_assured_headers_, az_, AZ_): Define.
(gl_header_upper_case_or_, gl_have_header_regex_): Define.

14 years agognulib-common.m4: make glibc write diagnostics to stderr, not /dev/tty
Jim Meyering [Tue, 27 Apr 2010 06:57:31 +0000 (08:57 +0200)]
gnulib-common.m4: make glibc write diagnostics to stderr, not /dev/tty

* m4/gnulib-common.m4 (gl_COMMON_BODY): Set LIBC_FATAL_STDERR_.
Prompted by an exchange with Gilles Espinasse.

14 years agogit-version-gen: aesthetic tweak
Jim Meyering [Mon, 26 Apr 2010 16:59:46 +0000 (18:59 +0200)]
git-version-gen: aesthetic tweak

* build-aux/git-version-gen: Use "$nl" rather than a literal,
so that the command remains on a single line.

14 years agogit-version-gen: allow use on EBCDIC hosts
Eric Blake [Mon, 26 Apr 2010 15:44:42 +0000 (09:44 -0600)]
git-version-gen: allow use on EBCDIC hosts

* build-aux/git-version-gen (dirty): Use literal rather than tying
ourselves to ascii.
Reported by Steve Goetze.

Signed-off-by: Eric Blake <eblake@redhat.com>
14 years agonetdb: Add support for GNULIB_POSIXCHECK.
Bruno Haible [Mon, 26 Apr 2010 08:25:56 +0000 (10:25 +0200)]
netdb: Add support for GNULIB_POSIXCHECK.

14 years agobuild: avoid "make check" failure without .git/ directory
Ian Beckwith [Mon, 26 Apr 2010 07:26:35 +0000 (09:26 +0200)]
build: avoid "make check" failure without .git/ directory

* Makefile (sc_prefer_ac_check_funcs_once): Skip this test when
there is no .git/ directory.

14 years agoptsname: Fix misuse of ttyname_r.
Bruno Haible [Sun, 25 Apr 2010 20:18:48 +0000 (22:18 +0200)]
ptsname: Fix misuse of ttyname_r.

14 years agottyname_r: Make it work on Solaris 10.
Bruno Haible [Sun, 25 Apr 2010 22:18:10 +0000 (00:18 +0200)]
ttyname_r: Make it work on Solaris 10.

14 years agoUse the 'extensions' module for some more functions on Solaris.
Bruno Haible [Sun, 25 Apr 2010 21:08:38 +0000 (23:08 +0200)]
Use the 'extensions' module for some more functions on Solaris.

14 years agottyname_r: Make it work on MacOS X 10.4 and Solaris 10.
Bruno Haible [Sun, 25 Apr 2010 18:57:52 +0000 (20:57 +0200)]
ttyname_r: Make it work on MacOS X 10.4 and Solaris 10.

14 years agoMention effects of _POSIX_PTHREAD_SEMANTICS on Solaris.
Bruno Haible [Sun, 25 Apr 2010 17:50:16 +0000 (19:50 +0200)]
Mention effects of _POSIX_PTHREAD_SEMANTICS on Solaris.

14 years agognulib-tool: Don't include hairy tests of dependencies in testdirs.
Bruno Haible [Sun, 25 Apr 2010 16:26:49 +0000 (18:26 +0200)]
gnulib-tool: Don't include hairy tests of dependencies in testdirs.

14 years agognulib-tool: Add --without-*-tests options.
Bruno Haible [Sun, 25 Apr 2010 11:35:31 +0000 (13:35 +0200)]
gnulib-tool: Add --without-*-tests options.

14 years agoWork around a MacOS X 10.4 bug with openpty.
Simon Josefsson [Sun, 25 Apr 2010 10:59:22 +0000 (12:59 +0200)]
Work around a MacOS X 10.4 bug with openpty.

14 years agostrnlen: Fix a C++ test error on MacOS X and Solaris.
Bruno Haible [Sun, 25 Apr 2010 10:27:21 +0000 (12:27 +0200)]
strnlen: Fix a C++ test error on MacOS X and Solaris.

14 years agoAvoid a gcc warning.
Bruno Haible [Sat, 24 Apr 2010 16:02:56 +0000 (18:02 +0200)]
Avoid a gcc warning.

14 years agovasnprintf: Correct errno value in case of out-of-memory.
Bruno Haible [Sat, 24 Apr 2010 15:18:48 +0000 (17:18 +0200)]
vasnprintf: Correct errno value in case of out-of-memory.