gnulib.git
16 years agosha256: do not artificially restrict buffer length to be < 2^32
Jim Meyering [Mon, 26 May 2008 17:29:50 +0000 (19:29 +0200)]
sha256: do not artificially restrict buffer length to be < 2^32

* lib/sha256.h (struct sha256_ctx) [buflen]: Change type from
uint32_t to size_t.
* lib/sha256.c (sha256_conclude_ctx): Change type of a local
to match.

16 years agoavoid unaligned access errors, e.g., on sparc
Jim Meyering [Mon, 26 May 2008 14:25:28 +0000 (16:25 +0200)]
avoid unaligned access errors, e.g., on sparc

* lib/sha512.c (sha512_conclude_ctx): Use set_uint64 rather than
direct access through a possibly-unaligned uint64* pointer.
* lib/sha256.c (sha256_conclude_ctx): Use set_uint32 rather than
direct access through a possibly-unaligned uint32* pointer.
Prompted by this patch from Tom "spot" Callaway:
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13638

16 years agosha512.c: fix typo in comment
Jim Meyering [Mon, 26 May 2008 14:28:22 +0000 (16:28 +0200)]
sha512.c: fix typo in comment

* lib/sha512.c (sha512_conclude_ctx): Length is 128-bit, not 64-bit.

16 years agoRename acl.c to set-mode-acl.c.
Bruno Haible [Sun, 25 May 2008 11:44:20 +0000 (13:44 +0200)]
Rename acl.c to set-mode-acl.c.

16 years agoDrop LIB_ACL_TRIVIAL.
Bruno Haible [Sun, 25 May 2008 18:02:51 +0000 (20:02 +0200)]
Drop LIB_ACL_TRIVIAL.

16 years agouseless-if-before-free: freed expr may have white-space differences
Jim Meyering [Sun, 25 May 2008 17:37:11 +0000 (19:37 +0200)]
useless-if-before-free: freed expr may have white-space differences

* build-aux/useless-if-before-free: Recognize cases in which the
freed expression differs from the tested one in embedded white
space, e.g., if (p[i + 1]) free(p[i+1]).  Correct thinko in prev:
$1 was used, so we can't make any regexp shy.  Improved tests now
detect this.

16 years agouseless-if-before-free: accept white space in the expression.
Jim Meyering [Sun, 25 May 2008 17:02:51 +0000 (19:02 +0200)]
useless-if-before-free: accept white space in the expression.

* build-aux/useless-if-before-free: For now, any white space
in the expression must be identical in the free argument.

16 years agoMake the *outer* regexp shy, not the expr-matching one.
Jim Meyering [Sun, 25 May 2008 16:58:29 +0000 (18:58 +0200)]
Make the *outer* regexp shy, not the expr-matching one.

16 years agouseless-if-before-free: efficiency tweak
Jim Meyering [Sun, 25 May 2008 16:19:39 +0000 (18:19 +0200)]
useless-if-before-free: efficiency tweak

* build-aux/useless-if-before-free: Make the expression-matching
regexp "shy".

16 years agoupdate code-in-comment to accept cast of free arg
Jim Meyering [Sun, 25 May 2008 16:12:43 +0000 (18:12 +0200)]
update code-in-comment to accept cast of free arg

* build-aux/useless-if-before-free: Update regexp.

16 years agoUpdate after program was renamed.
Bruno Haible [Sun, 25 May 2008 12:24:45 +0000 (14:24 +0200)]
Update after program was renamed.

16 years agoRename tests/test-copy-file-sameacls.c to tests/test-sameacls.c.
Bruno Haible [Sun, 25 May 2008 11:51:56 +0000 (13:51 +0200)]
Rename tests/test-copy-file-sameacls.c to tests/test-sameacls.c.

16 years agoMake stdbool work on Haiku OS.
Andreas Färber [Sat, 24 May 2008 09:54:19 +0000 (11:54 +0200)]
Make stdbool work on Haiku OS.

16 years agoImprove support for ACLs on OSF/1.
Bruno Haible [Fri, 23 May 2008 11:29:46 +0000 (13:29 +0200)]
Improve support for ACLs on OSF/1.

16 years agoAdd support for ACLs on OSF/1.
Bruno Haible [Fri, 23 May 2008 01:48:39 +0000 (03:48 +0200)]
Add support for ACLs on OSF/1.

16 years agoMake copy_acl work on MacOS X 10.5.
Bruno Haible [Thu, 22 May 2008 23:13:51 +0000 (01:13 +0200)]
Make copy_acl work on MacOS X 10.5.

16 years agoFix two commands in OSF/1 specific part.
Bruno Haible [Fri, 23 May 2008 01:39:25 +0000 (03:39 +0200)]
Fix two commands in OSF/1 specific part.

16 years agoTweak Solaris section.
Bruno Haible [Thu, 22 May 2008 23:07:15 +0000 (01:07 +0200)]
Tweak Solaris section.

16 years agoFix two commands in MacOS X specific part.
Bruno Haible [Thu, 22 May 2008 23:02:56 +0000 (01:02 +0200)]
Fix two commands in MacOS X specific part.

16 years agoFix comments: Cygwin is like Solaris, not like POSIX.
Bruno Haible [Thu, 22 May 2008 23:01:55 +0000 (01:01 +0200)]
Fix comments: Cygwin is like Solaris, not like POSIX.

16 years agoMove some declarations from acl.h to acl-internal.h.
Bruno Haible [Thu, 22 May 2008 22:14:21 +0000 (00:14 +0200)]
Move some declarations from acl.h to acl-internal.h.

16 years agoSplit off copy_acl function to separate file.
Bruno Haible [Thu, 22 May 2008 22:13:07 +0000 (00:13 +0200)]
Split off copy_acl function to separate file.

16 years agoTests for the 'copy-file' module.
Bruno Haible [Thu, 22 May 2008 17:23:54 +0000 (19:23 +0200)]
Tests for the 'copy-file' module.

16 years agoAvoid gcc warning.
Eric Blake [Thu, 22 May 2008 13:57:37 +0000 (07:57 -0600)]
Avoid gcc warning.

* tests/test-memcmp.c (main): Pass NULL indirectly.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoReference documentation about ACLs.
Bruno Haible [Wed, 21 May 2008 23:22:30 +0000 (01:22 +0200)]
Reference documentation about ACLs.

16 years agoOops, fix syntax error introduced by last commit.
Bruno Haible [Wed, 21 May 2008 22:58:27 +0000 (00:58 +0200)]
Oops, fix syntax error introduced by last commit.

16 years agoOops, remove stray semicolon added in last commit.
Bruno Haible [Wed, 21 May 2008 22:54:26 +0000 (00:54 +0200)]
Oops, remove stray semicolon added in last commit.

16 years agoAvoid one more warning from gcc.
Bruno Haible [Wed, 21 May 2008 22:53:42 +0000 (00:53 +0200)]
Avoid one more warning from gcc.

16 years agoavoid another warning from gcc
Jim Meyering [Wed, 21 May 2008 21:09:59 +0000 (23:09 +0200)]
avoid another warning from gcc

* lib/vasnprintf.c (scale10_round_decimal_double):
Use IF_LINT to avoid another "may be used uninitialized" warning.

16 years agoavoid a warning from gcc
Jim Meyering [Wed, 21 May 2008 16:38:12 +0000 (18:38 +0200)]
avoid a warning from gcc

* lib/vasnprintf.c (IF_LINT): Define.
(scale10_round_decimal_long_double):
Use it to avoid a "may be used uninitialized" warning.

16 years agofix typos in ChangeLog entries
Jim Meyering [Tue, 20 May 2008 13:06:25 +0000 (15:06 +0200)]
fix typos in ChangeLog entries

16 years agoWhen cross-compiling, assume memcmp works if it is declared.
Simon Josefsson [Wed, 21 May 2008 09:07:36 +0000 (11:07 +0200)]
When cross-compiling, assume memcmp works if it is declared.

16 years agoMore memcmp tests.
Bruno Haible [Tue, 20 May 2008 10:55:35 +0000 (12:55 +0200)]
More memcmp tests.

16 years agoAdd memcmp-tests module.
Simon Josefsson [Tue, 20 May 2008 07:22:45 +0000 (09:22 +0200)]
Add memcmp-tests module.

16 years agoremove trailing blanks
Jim Meyering [Tue, 20 May 2008 06:45:49 +0000 (08:45 +0200)]
remove trailing blanks

16 years agoFix syntax of --keyword option.
Bruno Haible [Tue, 20 May 2008 00:26:36 +0000 (02:26 +0200)]
Fix syntax of --keyword option.

16 years agoKeep getpass-gnu in sync with getpass.
Martin Lambers [Mon, 19 May 2008 22:25:16 +0000 (00:25 +0200)]
Keep getpass-gnu in sync with getpass.

16 years agoRemove trailing spaces.
Bruno Haible [Mon, 19 May 2008 22:16:32 +0000 (00:16 +0200)]
Remove trailing spaces.

16 years agomodules/base64-tests: New file.
Simon Josefsson [Mon, 19 May 2008 17:35:00 +0000 (19:35 +0200)]
modules/base64-tests: New file.

16 years agoSync gnulib base64 with coreutils base64.
Simon Josefsson [Mon, 19 May 2008 17:32:00 +0000 (19:32 +0200)]
Sync gnulib base64 with coreutils base64.
* lib/base64.c (base64_decode_ctx): If a decode context structure
was passed in use it to ignore newlines.  If a context structure
was _not_ passed in, continue to treat newlines as garbage (this
is the historical behavior).  Formerly base64_decode.
(base64_decode_alloc_ctx): Formerly base64_decode_alloc.  Now
takes a decode context structure.
* lib/base64.h (base64_decode): Macro for four-argument calls.
(base64_decode_alloc): Likewise.
* lib/base64.c (base64_decode_ctx): If a decode context structure
was passed in use it to ignore newlines.  If a context structure
was _not_ passed in, continue to treat newlines as garbage (this
is the historical behavior).  Formerly base64_decode.
(base64_decode_alloc_ctx): Formerly base64_decode_alloc.  Now
takes a decode context structure.
* lib/base64.h (base64_decode): Macro for four-argument calls.
(base64_decode_alloc): Likewise.

16 years agoavoid a warning from gcc
Jim Meyering [Mon, 19 May 2008 16:10:38 +0000 (18:10 +0200)]
avoid a warning from gcc

* lib/trim.c (IF_LINT): Define.
(trim2): Use it to void a "may be used uninitialized" warning.

16 years agoFix doc typo.
Jim Meyering [Mon, 19 May 2008 12:02:23 +0000 (14:02 +0200)]
Fix doc typo.

* doc/glibc-functions/getpass.texi (getpass): s/PATH_MAX/PASS_MAX/.

16 years agoDocument limits of other implementations.
Bruno Haible [Mon, 19 May 2008 11:15:59 +0000 (13:15 +0200)]
Document limits of other implementations.

16 years agodoc/glibc-functions/getpass.texi: Document gnulib implementation.
Simon Josefsson [Mon, 19 May 2008 07:40:59 +0000 (09:40 +0200)]
doc/glibc-functions/getpass.texi: Document gnulib implementation.

16 years agoNew module 'propername', moved here from GNU gettext.
Bruno Haible [Sun, 18 May 2008 13:38:15 +0000 (15:38 +0200)]
New module 'propername', moved here from GNU gettext.

16 years agoAvoid some warnings from "gcc -Wshadow".
Bruno Haible [Sat, 17 May 2008 00:35:22 +0000 (02:35 +0200)]
Avoid some warnings from "gcc -Wshadow".

16 years agofix typo in ChangeLog
Jim Meyering [Fri, 16 May 2008 08:38:02 +0000 (10:38 +0200)]
fix typo in ChangeLog

16 years agoExtend previous patch to cygwin 1.7.0.
Eric Blake [Fri, 16 May 2008 01:55:56 +0000 (19:55 -0600)]
Extend previous patch to cygwin 1.7.0.

* m4/memmem.m4 (gl_FUNC_MEMMEM): When cross-compiling, assume a
fast implementation in cygwin >= 1.7.0.
* m4/strstr.m4 (gl_FUNC_STRSTR): Likewise.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUpdate cross-compiling guess now that glibc 2.9 will have fast implementations.
Bruno Haible [Thu, 15 May 2008 21:29:37 +0000 (23:29 +0200)]
Update cross-compiling guess now that glibc 2.9 will have fast implementations.

16 years agoUpdate after linebreak module was split.
Bruno Haible [Thu, 15 May 2008 21:04:58 +0000 (23:04 +0200)]
Update after linebreak module was split.

16 years agoFix violation of <stdbool.h> replacement in regex.
Eric Blake [Thu, 15 May 2008 20:51:43 +0000 (14:51 -0600)]
Fix violation of <stdbool.h> replacement in regex.

* lib/regexec.c (re_search_internal): Avoid implicit cast to bool.
Reported by Heinrich Mislik <Heinrich.Mislik@univie.ac.at>.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix violation of <stdbool.h> replacement in regex.
Eric Blake [Thu, 15 May 2008 20:37:29 +0000 (14:37 -0600)]
Fix violation of <stdbool.h> replacement in regex.

* lib/regcomp.c (re_compile_internal): Avoid implicit cast to bool.
Reported by Heinrich Mislik <Heinrich.Mislik@univie.ac.at>.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoavoid distracting test output when git or cvs is not fount
Jim Meyering [Thu, 15 May 2008 12:52:01 +0000 (14:52 +0200)]
avoid distracting test output when git or cvs is not fount

* tests/test-vc-list-files-cvs.sh: Suppress 'init' error output.
* tests/test-vc-list-files-git.sh: Likewise.

16 years agoGlibc finally accepted the memmem speedup code, bugzilla #5514.
Eric Blake [Thu, 15 May 2008 12:16:11 +0000 (06:16 -0600)]
Glibc finally accepted the memmem speedup code, bugzilla #5514.

* doc/glibc-functions/memmem.texi (memmem): Mention last broken
glibc version.
* doc/glibc-functions/strcasestr.texi (strcasestr): Likewise.
* doc/posix-functions/strstr.texi (strstr): Likewise.
* lib/str-two-way.h (MAX): Sychronize with glibc.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agooptimize double anchors such as ^$
Paolo Bonzini [Thu, 15 May 2008 06:50:06 +0000 (08:50 +0200)]
optimize double anchors such as ^$

2008-05-15  Paolo Bonzini  <bonzini@gnu.org>

* lib/regcomp.c (optimize_utf8): Add a note on why we test
opr.ctx_type.
(calc_first): Initialize constraint field.
(duplicate_node_closure): Use it instead of special casing ANCHORS.
Fix grammar.
(duplicate_node): Merge constraint field for all node types.
(calc_eclosure_iter): Look at constraint field for all node types.
* lib/regex_internal.c (create_cd_newstate): Don't look at
opr.ctx_type.

16 years agoHelp GCC to do better code generation.
Bruno Haible [Thu, 15 May 2008 00:01:46 +0000 (02:01 +0200)]
Help GCC to do better code generation.

16 years agoFix typo in ChangeLog entry.
Bruno Haible [Wed, 14 May 2008 21:05:26 +0000 (23:05 +0200)]
Fix typo in ChangeLog entry.

16 years agouse "echo STR|wc -c" rather than unportable "expr length STR"
Lasse Collin [Wed, 14 May 2008 16:50:53 +0000 (18:50 +0200)]
use "echo STR|wc -c" rather than unportable "expr length STR"

* build-aux/mktempd (mktempd): Vendor-supplied expr from at least
OpenBSD 4.3 and Solaris 10 do not honor expr's "length" function.

16 years agouse dd ifs=$n count=1 ... rather than less-portable head -c$n
Jim Meyering [Wed, 14 May 2008 15:20:42 +0000 (17:20 +0200)]
use dd ifs=$n count=1 ... rather than less-portable head -c$n

* build-aux/mktempd (rand_bytes): head's -cN option is not accepted
by Solaris 10's /bin/head or by the one from HP-UX 11.x.
Reported in http://sourceforge.net/forum/message.php?msg_id=4960334
via Collin Lasse.

16 years agoAvoid quadratic growth in gl_LIBSOURCES.
Eric Blake [Wed, 14 May 2008 12:42:55 +0000 (06:42 -0600)]
Avoid quadratic growth in gl_LIBSOURCES.

* gnulib-tool (func_emit_initmacro_done): s/\(m4_append\)_uniq/\1/.
Suggested by Bruno Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoTest xmemdup0.
Eric Blake [Wed, 14 May 2008 12:12:16 +0000 (06:12 -0600)]
Test xmemdup0.

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

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoSplit xmemdup0 into its own module.
Eric Blake [Wed, 14 May 2008 03:28:43 +0000 (21:28 -0600)]
Split xmemdup0 into its own module.

* modules/xmemdup0: New file.
* lib/xmemdup0.h: Likewise.
* lib/xmemdup0.c: Likewise.
* MODULES.html.sh (Memory management functions): Add xmemdup0.
* lib/xalloc.h (xmemdup0): Remove.
* lib/xmalloc.c (xmemdup0): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoOops, fix small mistake in last commit.
Bruno Haible [Wed, 14 May 2008 02:09:49 +0000 (04:09 +0200)]
Oops, fix small mistake in last commit.

16 years agoReduce number of forks required during autoconf.
Eric Blake [Wed, 14 May 2008 00:07:46 +0000 (02:07 +0200)]
Reduce number of forks required during autoconf.

16 years ago* gnulib-tool: Fix various comment typos.
Eric Blake [Tue, 13 May 2008 20:14:33 +0000 (14:14 -0600)]
* gnulib-tool: Fix various comment typos.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoTailor the linebreaking algorithm.
Bruno Haible [Mon, 12 May 2008 17:22:07 +0000 (19:22 +0200)]
Tailor the linebreaking algorithm.

16 years agoUpdate to Unicode 5.0.0.
Bruno Haible [Mon, 12 May 2008 12:07:28 +0000 (14:07 +0200)]
Update to Unicode 5.0.0.

16 years agoFix whitespace.
Bruno Haible [Sun, 11 May 2008 14:43:47 +0000 (16:43 +0200)]
Fix whitespace.

16 years agoMove gen-lbrkprop from GNU gettext to here.
Bruno Haible [Sun, 11 May 2008 14:42:12 +0000 (16:42 +0200)]
Move gen-lbrkprop from GNU gettext to here.

16 years agoUpdate license to GPLv3+.
Bruno Haible [Sun, 11 May 2008 13:22:35 +0000 (15:22 +0200)]
Update license to GPLv3+.

16 years agoAdd prerequisites for using 'inline'.
Bruno Haible [Sun, 11 May 2008 10:42:47 +0000 (12:42 +0200)]
Add prerequisites for using 'inline'.

16 years agoNew modules: crypto/sha256, crypto/sha512 (from coreutils)
Jim Meyering [Sun, 11 May 2008 07:05:36 +0000 (09:05 +0200)]
New modules: crypto/sha256, crypto/sha512 (from coreutils)

* modules/crypto/sha256: New file.
* modules/crypto/sha512: Likewise.
* lib/sha256.c: Likewise.
* lib/sha256.h: Likewise.
* lib/sha512.c: Likewise.
* lib/sha512.h: Likewise.
* lib/u64.h: Likewise.
* m4/sha256.m4: Likewise.
* m4/sha512.m4: Likewise.
* MODULES.html.sh (Cryptographic computations (low-level)): List them.

16 years agoUpdate modules list.
Bruno Haible [Sun, 11 May 2008 01:49:32 +0000 (03:49 +0200)]
Update modules list.

16 years agoNew module 'unictype/gen-ctype'.
Bruno Haible [Sun, 11 May 2008 01:07:18 +0000 (03:07 +0200)]
New module 'unictype/gen-ctype'.

16 years agoUpdate comments.
Bruno Haible [Sun, 11 May 2008 00:33:36 +0000 (02:33 +0200)]
Update comments.

16 years agoMake chdir-safer.c more efficient on a system with no symlinks.
Jim Meyering [Sat, 10 May 2008 13:19:43 +0000 (15:19 +0200)]
Make chdir-safer.c more efficient on a system with no symlinks.

* lib/chdir-safer.c (chdir_no_follow): Skip lstat and fstat calls
also if ELOOP is zero.  Suggested by Bruno Haible.

16 years agoMake chdir-safer.c slightly safer.
Jim Meyering [Sat, 10 May 2008 13:15:11 +0000 (15:15 +0200)]
Make chdir-safer.c slightly safer.

* lib/chdir-safer.c (chdir_no_follow): Test HAVE_WORKING_O_NOFOLLOW,
not O_NOFOLLOW, in case the latter is nonzero and open ignores it.

16 years agoAvoid compile failure on systems without ELOOP (like mingw).
Jim Meyering [Sat, 10 May 2008 12:50:12 +0000 (14:50 +0200)]
Avoid compile failure on systems without ELOOP (like mingw).

* lib/chdir-safer.c (ELOOP): Define if not already defined.
Reported by Bruno Haible.

16 years agoUse case-insensitive comparison.
Bruno Haible [Sat, 10 May 2008 13:40:48 +0000 (15:40 +0200)]
Use case-insensitive comparison.

16 years agoUse u8_conv_from_encoding instead of using special code for the conversion.
Bruno Haible [Sat, 10 May 2008 13:23:28 +0000 (15:23 +0200)]
Use u8_conv_from_encoding instead of using special code for the conversion.

16 years agoTests for module unilbrk/ulc-width-linebreaks.
Bruno Haible [Sat, 10 May 2008 12:32:53 +0000 (14:32 +0200)]
Tests for module unilbrk/ulc-width-linebreaks.

16 years agoTests for module 'unilbrk/u32-width-linebreaks'.
Bruno Haible [Sat, 10 May 2008 12:32:19 +0000 (14:32 +0200)]
Tests for module 'unilbrk/u32-width-linebreaks'.

16 years agoTests for module unilbrk/u16-width-linebreaks.
Bruno Haible [Sat, 10 May 2008 12:31:55 +0000 (14:31 +0200)]
Tests for module unilbrk/u16-width-linebreaks.

16 years agoTests for module unilbrk/u8-width-linebreaks.
Bruno Haible [Sat, 10 May 2008 12:31:27 +0000 (14:31 +0200)]
Tests for module unilbrk/u8-width-linebreaks.

16 years agoTests for module unilbrk/ulc-possible-linebreaks
Bruno Haible [Sat, 10 May 2008 12:30:49 +0000 (14:30 +0200)]
Tests for module unilbrk/ulc-possible-linebreaks

16 years agoTests for module unilbrk/u32-possible-linebreaks.
Bruno Haible [Sat, 10 May 2008 12:30:18 +0000 (14:30 +0200)]
Tests for module unilbrk/u32-possible-linebreaks.

16 years agoTests for module unilbrk/u16-possible-linebreaks.
Bruno Haible [Sat, 10 May 2008 12:29:49 +0000 (14:29 +0200)]
Tests for module unilbrk/u16-possible-linebreaks.

16 years agoTests for module unilbrk/u8-possible-linebreaks.
Bruno Haible [Sat, 10 May 2008 12:29:02 +0000 (14:29 +0200)]
Tests for module unilbrk/u8-possible-linebreaks.

16 years agoSplit up the 'linebreak' module.
Bruno Haible [Sat, 10 May 2008 12:24:14 +0000 (14:24 +0200)]
Split up the 'linebreak' module.

16 years agoAdd xmemdup0.
Eric Blake [Fri, 9 May 2008 19:54:18 +0000 (13:54 -0600)]
Add xmemdup0.

* lib/xalloc.h (xmemdup0): New prototype and C++ typesafe
implementation.
* lib/xmalloc.c (xmemdup0): New C implementation.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoCorrect indentation.
Bruno Haible [Thu, 8 May 2008 12:10:43 +0000 (14:10 +0200)]
Correct indentation.

16 years agoSupport cross-compilation of <wctype.h>.
Eric Blake [Thu, 8 May 2008 02:53:19 +0000 (20:53 -0600)]
Support cross-compilation of <wctype.h>.

* m4/wctype.m4 (gl_WCTYPE_H): Fix improper nesting in
AC_CACHE_CHECK.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoautoupdate
Karl Berry [Wed, 7 May 2008 13:07:42 +0000 (06:07 -0700)]
autoupdate

16 years agobuild-aux/vc-list-files: Add support for bzr.
Soren Hansen [Tue, 6 May 2008 21:12:55 +0000 (23:12 +0200)]
build-aux/vc-list-files: Add support for bzr.

16 years agotest-getaddrinfo.c: include <netinet/in.h>
Jim Meyering [Sat, 3 May 2008 09:50:31 +0000 (11:50 +0200)]
test-getaddrinfo.c: include <netinet/in.h>

* tests/test-getaddrinfo.c: This is required for the new use
of "struct sockaddr_in", at least on FreeBSD 6.

16 years agogetaddrinfo.h: handle undefined EAI_NODATA
Jim Meyering [Sat, 3 May 2008 09:46:58 +0000 (11:46 +0200)]
getaddrinfo.h: handle undefined EAI_NODATA

* lib/getaddrinfo.h [!defined EAI_NODATA && defined EAI_NONAME]
(EAI_NODATA): Define.
* tests/test-getaddrinfo.c (EAI_NODATA): Don't define here.
This also reverts c9a6a9bb007294bb8878d685f3e9336b3a5be1ed.

16 years agoavoid failed assertion with tight malloc
Jim Meyering [Sat, 3 May 2008 10:51:08 +0000 (12:51 +0200)]
avoid failed assertion with tight malloc

* tests/test-getndelim2.c: Correct an off-by-one assertion.

16 years agoMake sure inet_ntop/inet_pton is declared when needed.
Simon Josefsson [Sat, 3 May 2008 04:22:26 +0000 (06:22 +0200)]
Make sure inet_ntop/inet_pton is declared when needed.

16 years agoavoid compilation error on FreeBSD 6
Jim Meyering [Thu, 1 May 2008 21:34:53 +0000 (23:34 +0200)]
avoid compilation error on FreeBSD 6

* tests/test-getaddrinfo.c [!defined EAI_NODATA] (EAI_NODATA): Define.

16 years agouseless-if-before-free: correct --help's exit status description
Jim Meyering [Thu, 1 May 2008 19:12:30 +0000 (21:12 +0200)]
useless-if-before-free: correct --help's exit status description

* build-aux/useless-if-before-free (usage): Like grep, exit 0
for one or more matches, etc.  Reported by Bruno Haible.