gnulib.git
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.

16 years agovc-list-files: make the stand-alone gnulib test work
Jim Meyering [Thu, 1 May 2008 19:01:36 +0000 (21:01 +0200)]
vc-list-files: make the stand-alone gnulib test work

* modules/vc-list-files-tests (configure.ac):
Define and AC_SUBST abs_aux_dir.
(Makefile.am) [TESTS_ENVIRONMENT]: Rather than passing
$(abs_top_srcdir) to each script and having each of them
duplicate the work of setting PATH, set PATH here, using
the new variable, abs_aux_dir instead.
* tests/test-vc-list-files-cvs.sh: Don't set PATH here.
* tests/test-vc-list-files-git.sh: Likewise.
Reported by Bruno Haible.

16 years agoFix computation of newsize during reallocation.
Bruno Haible [Thu, 1 May 2008 14:49:21 +0000 (16:49 +0200)]
Fix computation of newsize during reallocation.

16 years agoAdd comments.
Bruno Haible [Thu, 1 May 2008 14:43:43 +0000 (16:43 +0200)]
Add comments.

16 years agovc-list-files: accommodate /bin/sh like the one from Solaris 10
Jim Meyering [Thu, 1 May 2008 08:17:19 +0000 (10:17 +0200)]
vc-list-files: accommodate /bin/sh like the one from Solaris 10

* build-aux/vc-list-files: Use `...`, not $(...).

16 years agoadd tests for vc-list-files
Jim Meyering [Wed, 30 Apr 2008 13:01:23 +0000 (15:01 +0200)]
add tests for vc-list-files

* modules/vc-list-files-tests: New module.
* tests/test-vc-list-files-cvs.sh: New file.
* tests/test-vc-list-files-git.sh: New file.

16 years agoavoid a warning from gcc
Jim Meyering [Wed, 30 Apr 2008 15:39:54 +0000 (17:39 +0200)]
avoid a warning from gcc

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

Signed-off-by: Jim Meyering <meyering@redhat.com>
16 years ago* ChangeLog: Mention Soren Hansen and add thread URL.
Jim Meyering [Wed, 30 Apr 2008 15:09:04 +0000 (17:09 +0200)]
* ChangeLog: Mention Soren Hansen and add thread URL.

16 years agovc-list-files: work properly with build-aux/cvsu, too
Jim Meyering [Wed, 30 Apr 2008 10:17:13 +0000 (12:17 +0200)]
vc-list-files: work properly with build-aux/cvsu, too

* build-aux/vc-list-files: Hoist the "./"-removing code to apply
to all cvs-based clauses.

16 years agovc-list-files: work properly in the CVS+awk case, too
Jim Meyering [Wed, 30 Apr 2008 10:10:09 +0000 (12:10 +0200)]
vc-list-files: work properly in the CVS+awk case, too

* build-aux/vc-list-files: In the CVS+awk case, remove "./" prefix.

16 years agovc-list-files: avoid use of ${*-*} that fails when /bin/sh is dash
Jim Meyering [Wed, 30 Apr 2008 09:36:06 +0000 (11:36 +0200)]
vc-list-files: avoid use of ${*-*} that fails when /bin/sh is dash

* build-aux/vc-list-files: Simplify ${*-*} to $dir, since we no longer
take more than one file argument, so .  Add quotes, just in case $dir
ever contains a shell meta-character.

16 years agoOptimize getndelim2 to use block operations when possible.
Eric Blake [Tue, 29 Apr 2008 17:59:35 +0000 (11:59 -0600)]
Optimize getndelim2 to use block operations when possible.

* modules/getndelim2 (Depends-on): Add stdbool, freadptr,
freadseek, and memchr2.
* lib/getndelim2.c (getndelim2): Use them for block reads.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoEnsure the system declares inet_ntop, inet_pton when possible.
Bruno Haible [Tue, 29 Apr 2008 23:27:49 +0000 (01:27 +0200)]
Ensure the system declares inet_ntop, inet_pton when possible.

16 years agoWhen the is more than one match in a block, match all of them.
Jim Meyering [Tue, 29 Apr 2008 20:04:47 +0000 (22:04 +0200)]
When the is more than one match in a block, match all of them.

* build-aux/useless-if-before-free: Iterate through each block
until there are no more matches.

16 years agoFix broken useless-if-before-free script.
Jim Meyering [Tue, 29 Apr 2008 18:02:22 +0000 (20:02 +0200)]
Fix broken useless-if-before-free script.

* build-aux/useless-if-before-free: Fix typo: missing "?" after
the expression to match cast of argument to free-like function.

16 years agoMention Simon's recent changes.
Bruno Haible [Tue, 29 Apr 2008 17:47:39 +0000 (19:47 +0200)]
Mention Simon's recent changes.

16 years agoUse new header.
Eric Blake [Tue, 29 Apr 2008 17:00:46 +0000 (11:00 -0600)]
Use new header.

* lib/getaddrinfo.c (includes): s/"inet_ntop.h"/<arpa/inet.h>/.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAvoid test segfault on x86_64 due to lack of inet_ntop declaration.
Jim Meyering [Tue, 29 Apr 2008 16:48:40 +0000 (18:48 +0200)]
Avoid test segfault on x86_64 due to lack of inet_ntop declaration.

* tests/test-getaddrinfo.c: Include <arpa/inet.h>, now guaranteed
by gnulib to exist and to declare e.g., inet_ntop.
Don't include "inet_ntop.h", now removed.

16 years ago* m4/arpa_inet_h.m4: Remove trailing blanks.
Jim Meyering [Tue, 29 Apr 2008 16:00:32 +0000 (18:00 +0200)]
* m4/arpa_inet_h.m4: Remove trailing blanks.

16 years agoSilence valgrind on safe reads beyond potential array bounds.
Eric Blake [Tue, 29 Apr 2008 12:08:44 +0000 (06:08 -0600)]
Silence valgrind on safe reads beyond potential array bounds.

* lib/rawmemchr.valgrind: New file.
* lib/strchrnul.valgrind: Likewise.
* modules/rawmemchr (Files): Distribute new file.
* modules/strchrnul (Files): Likewise.
Suggested by Bruno Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoEnable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to...
Bruno Haible [Tue, 29 Apr 2008 11:37:51 +0000 (13:37 +0200)]
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.

16 years ago* modules/mkdir (License): Re-license as LGPLv2+.
Jim Meyering [Tue, 29 Apr 2008 11:15:02 +0000 (13:15 +0200)]
* modules/mkdir (License): Re-license as LGPLv2+.

16 years agoSet the module maintainer.
Bruno Haible [Tue, 29 Apr 2008 10:24:35 +0000 (12:24 +0200)]
Set the module maintainer.

16 years agoMake arpa/inet module build under MinGW.
Simon Josefsson [Tue, 29 Apr 2008 09:26:41 +0000 (11:26 +0200)]
Make arpa/inet module build under MinGW.

16 years agoTest getndelim2.
Eric Blake [Tue, 29 Apr 2008 03:36:17 +0000 (21:36 -0600)]
Test getndelim2.

* modules/getndelim2-tests: New file.
* tests/test-getndelim2.c: Likewise.
* lib/getndelim2.c (getndelim2): Never return 0.  Lock the
stream.
* m4/getndelim2.m4 (gl_GETNDELIM2): Check for lock functions.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoDocument rawmemchr.
Eric Blake [Tue, 29 Apr 2008 02:16:06 +0000 (20:16 -0600)]
Document rawmemchr.

* MODULES.html.sh: Document new module.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoEnsure sane coding of ChangeLog.
Eric Blake [Tue, 29 Apr 2008 02:08:36 +0000 (20:08 -0600)]
Ensure sane coding of ChangeLog.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUse 'raise'.
Bruno Haible [Tue, 29 Apr 2008 01:04:35 +0000 (03:04 +0200)]
Use 'raise'.

16 years agoExpect rpmatch to be declared.
Bruno Haible [Tue, 29 Apr 2008 01:00:57 +0000 (03:00 +0200)]
Expect rpmatch to be declared.

16 years agoDeclare rpmatch.
Bruno Haible [Tue, 29 Apr 2008 00:55:59 +0000 (02:55 +0200)]
Declare rpmatch.

16 years agoChange rpmatch to use nl_langinfo when appropriate.
Bruno Haible [Tue, 29 Apr 2008 00:37:52 +0000 (02:37 +0200)]
Change rpmatch to use nl_langinfo when appropriate.

16 years agoAdd rawmemchr module, matching glibc.
Eric Blake [Mon, 28 Apr 2008 23:08:43 +0000 (17:08 -0600)]
Add rawmemchr module, matching glibc.

* modules/string (Makefile.am): New indicator.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it.
* lib/string.in.h (rawmemchr): Declare when appropriate.
* modules/rawmemchr: New file.
* m4/rawmemchr.m4: Likewise.
* lib/rawmemchr.c: Likewise.
* modules/rawmemchr-tests: Likewise.
* tests/test-rawmemchr.c: Likewise.
* doc/glibc-functions/rawmemchr.texi (rawmemchr): Document
module.
* modules/strchrnul (Depends-on): Add rawmemchr.
* lib/strchrnul.c (strchrnul): Optimize a corner case.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoWhitespace cleanup.
Eric Blake [Mon, 28 Apr 2008 23:02:16 +0000 (17:02 -0600)]
Whitespace cleanup.

* tests/test-strchrnul.c: Reindent.
* lib/strchrnul.c: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoOptimize and test strchrnul.
Eric Blake [Mon, 28 Apr 2008 21:43:04 +0000 (15:43 -0600)]
Optimize and test strchrnul.

* lib/strchrnul.c (strchrnul): Rewrite to do parallel search.
* modules/strchrnul-tests: New file.
* tests/test-strchrnul.c: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years ago* .gitignore: Ignore bad patch applications.
Eric Blake [Mon, 28 Apr 2008 21:18:09 +0000 (15:18 -0600)]
* .gitignore: Ignore bad patch applications.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoRemove intprops dependency.
Eric Blake [Mon, 28 Apr 2008 16:24:14 +0000 (10:24 -0600)]
Remove intprops dependency.

* modules/memchr (Depends-on): Remove intprops.
* modules/memrchr (Depends-on): Likewise.
* modules/memchr2 (Depends-on): Likewise.
* lib/memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check.
* lib/memrchr.c (__memrchr): Likewise.
* lib/memrchr2.c (memchr2): Likewise.
Reported by Simon Josefsson.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMove AC_REQUIRE([AC_C_INLINE]) to top.
Simon Josefsson [Mon, 28 Apr 2008 18:08:35 +0000 (20:08 +0200)]
Move AC_REQUIRE([AC_C_INLINE]) to top.
Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.

16 years agoMove inet_ntop and inet_pton declarations to arpa/inet.h.
Simon Josefsson [Mon, 28 Apr 2008 15:40:25 +0000 (17:40 +0200)]
Move inet_ntop and inet_pton declarations to arpa/inet.h.

16 years agoFix proper win32 checks and use of inline for setsockopt.
Simon Josefsson [Mon, 28 Apr 2008 14:38:34 +0000 (16:38 +0200)]
Fix proper win32 checks and use of inline for setsockopt.
Reported by Bruno Haible  <bruno@clisp.org>.

16 years agoMention a problem on mingw.
Bruno Haible [Mon, 28 Apr 2008 09:24:51 +0000 (11:24 +0200)]
Mention a problem on mingw.

16 years agoMake test-stat-time pass on mingw.
Bruno Haible [Sun, 27 Apr 2008 22:12:56 +0000 (00:12 +0200)]
Make test-stat-time pass on mingw.

16 years agoAdd some comments.
Bruno Haible [Sun, 27 Apr 2008 21:30:18 +0000 (23:30 +0200)]
Add some comments.

16 years agoStricter test whether isnanl works.
Bruno Haible [Sun, 27 Apr 2008 20:51:28 +0000 (22:51 +0200)]
Stricter test whether isnanl works.

16 years agoMake test-yesno.sh work on mingw.
Bruno Haible [Sun, 27 Apr 2008 14:22:30 +0000 (16:22 +0200)]
Make test-yesno.sh work on mingw.

16 years agoFix 'isfinite' on x86, x86_64, ia64 platforms.
Bruno Haible [Sun, 27 Apr 2008 12:07:20 +0000 (14:07 +0200)]
Fix 'isfinite' on x86, x86_64, ia64 platforms.

16 years agoAllow local renaming in config.h.
Bruno Haible [Sun, 27 Apr 2008 10:41:21 +0000 (12:41 +0200)]
Allow local renaming in config.h.

16 years agoAvoid gcc warnings.
Bruno Haible [Sun, 27 Apr 2008 10:37:28 +0000 (12:37 +0200)]
Avoid gcc warnings.

16 years agoOptimize and test memrchr.
Eric Blake [Sun, 27 Apr 2008 03:26:10 +0000 (21:26 -0600)]
Optimize and test memrchr.

* modules/memrchr (Depends-on): Add intprops.
* lib/memrchr.c (__memrchr): Avoid false positives in loop.
* modules/memrchr-tests: New file.
* tests/test-memrchr.c: New file.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoOops, fix mistake in third-to-last commit.
Bruno Haible [Sat, 26 Apr 2008 17:42:00 +0000 (19:42 +0200)]
Oops, fix mistake in third-to-last commit.

16 years agoAdd tentative support for DragonFly BSD.
Bruno Haible [Sat, 26 Apr 2008 16:58:00 +0000 (18:58 +0200)]
Add tentative support for DragonFly BSD.

16 years agoNew private include file lib/stdio-impl.h.
Bruno Haible [Sat, 26 Apr 2008 16:12:05 +0000 (18:12 +0200)]
New private include file lib/stdio-impl.h.

16 years agoNew private include file lib/stdio-impl.h.
Bruno Haible [Sat, 26 Apr 2008 16:10:54 +0000 (18:10 +0200)]
New private include file lib/stdio-impl.h.

16 years agoFix indentation.
Bruno Haible [Sat, 26 Apr 2008 14:48:23 +0000 (16:48 +0200)]
Fix indentation.

16 years agoPut system dependent routines into inline functions.
Bruno Haible [Sat, 26 Apr 2008 14:47:30 +0000 (16:47 +0200)]
Put system dependent routines into inline functions.

16 years agoPut system dependent routines into inline functions.
Bruno Haible [Sat, 26 Apr 2008 14:42:17 +0000 (16:42 +0200)]
Put system dependent routines into inline functions.