gnulib.git
15 years agoregex: do not depend on obsolete modules.
Paolo Bonzini [Tue, 20 Jan 2009 09:10:13 +0000 (10:10 +0100)]
regex: do not depend on obsolete modules.

* modules/regex: Remove memcmp and memmove.

15 years agoDon't use AC_REQUIRE([AC_C_BIGENDIAN]).
Bruno Haible [Tue, 20 Jan 2009 00:26:11 +0000 (01:26 +0100)]
Don't use AC_REQUIRE([AC_C_BIGENDIAN]).

15 years agoSkip test when a hard link cannot be created.
Bruno Haible [Tue, 20 Jan 2009 00:21:30 +0000 (01:21 +0100)]
Skip test when a hard link cannot be created.

15 years agoTests for module 'link'.
Martin Lambers [Tue, 20 Jan 2009 00:07:00 +0000 (01:07 +0100)]
Tests for module 'link'.

15 years agodoc: mention another function added in cygwin 1.7.0
Eric Blake [Mon, 19 Jan 2009 23:58:17 +0000 (16:58 -0700)]
doc: mention another function added in cygwin 1.7.0

* doc/glibc-functions/glob_pattern_p.texi (glob_pattern_p):
Another new function in cygwin 1.7.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoDon't use AC_REQUIRE([AC_C_BIGENDIAN]).
Bruno Haible [Mon, 19 Jan 2009 23:57:07 +0000 (00:57 +0100)]
Don't use AC_REQUIRE([AC_C_BIGENDIAN]).

15 years agoUse module 'progname' in some more tests.
Bruno Haible [Mon, 19 Jan 2009 23:14:31 +0000 (00:14 +0100)]
Use module 'progname' in some more tests.

15 years agoAdd a newline after the specification header.
Bruno Haible [Mon, 19 Jan 2009 21:04:04 +0000 (22:04 +0100)]
Add a newline after the specification header.

15 years agotest-unistd: test previous patch
Eric Blake [Mon, 19 Jan 2009 16:37:19 +0000 (09:37 -0700)]
test-unistd: test previous patch

* tests/test-unistd.c: Test *_FILENO macros.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agounistd: guarantee STDIN_FILENO here, for OS/2 EMX
Eric Blake [Mon, 19 Jan 2009 16:27:47 +0000 (09:27 -0700)]
unistd: guarantee STDIN_FILENO here, for OS/2 EMX

* lib/unistd.in.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
Guarantee a definition.
* doc/posix-headers/unistd.texi (unistd.h): Document the bug.
* modules/unistd-safer (Depends-on): Add dependency on unistd.
* lib/c-stack.c (STDERR_FILENO): Rely on <unistd.h>.
* lib/dup-safer.c (STDERR_FILENO): Likewise.
* lib/execute.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
Likewise.
* lib/fd-safer.c (STDIN_FILENO, STDERR_FILENO): Likewise.
* lib/fopen-safer.c (STDERR_FILENO): Likewise.
* lib/pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO):
Likewise.
* lib/tmpfile-safer.c (STDERR_FILENO): Likewise.
* tests/test-posix_spawn1.c (STDIN_FILENO, STDOUT_FILENO)
(STDERR_FILENO): Likewise.
* tests/test-posix_spawn2.c (STDIN_FILENO, STDOUT_FILENO)
(STDERR_FILENO): Likewise.
* tests/test-posix_spawn3.c (STDIN_FILENO, STDOUT_FILENO)
(STDERR_FILENO): Likewise.
Reported by Elbert Pol.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agodoc: mention more functions added in cygwin 1.7.0
Eric Blake [Mon, 19 Jan 2009 13:38:16 +0000 (06:38 -0700)]
doc: mention more functions added in cygwin 1.7.0

* doc/posix-functions/abort.texi (abort): Update wording related
to cygwin.
* doc/posix-functions/daylight.texi (daylight): Likewise.
* doc/posix-functions/optarg.texi (optarg): Likewise.
* doc/posix-functions/optarg.texi (opterr): Likewise.
* doc/posix-functions/optarg.texi (optind): Likewise.
* doc/posix-functions/optarg.texi (optopt): Likewise.
* doc/posix-functions/wprintf.texi (wprintf): Cygwin wprintf never
worked in 1.5.x, and was withdrawn in 1.7.
* doc/posix-functions/vwprintf.texi (vwprintf): Likewise.
* doc/posix-functions/fprintf.texi (fprintf): Tighten mention of
cygwin versions.
* doc/posix-functions/perror.texi (perror): Likewise.
* doc/posix-functions/printf.texi (printf): Likewise.
* doc/posix-functions/snprintf.texi (snprintf): Likewise.
* doc/posix-functions/sprintf.texi (sprintf): Likewise.
* doc/posix-functions/vfprintf.texi (vfprintf): Likewise.
* doc/posix-functions/vprintf.texi (vprintf): Likewise.
* doc/posix-functions/vsnprintf.texi (vsnprintf): Likewise.
* doc/posix-functions/vsprintf.texi (vsprintf): Likewise.
* doc/glibc-functions/obstack_printf.texi (obstack_printf):
Likewise.
* doc/glibc-functions/obstack_vprintf.texi (obstack_vprintf):
Likewise.
* doc/glibc-functions/cfmakeraw.texi (cfmakeraw): Cygwin 1.7 adds
this function.
* doc/glibc-functions/in6addr_any.texi (in6addr_any): Likewise.
* doc/glibc-functions/in6addr_loopback.texi (in6addr_loopback):
Likewise.
* doc/glibc-functions/updwtmpx.texi (updwtmpx): Likewise.
* doc/posix-functions/_Exit_C99.texi (_Exit): Likewise.
* doc/posix-functions/confstr.texi (confstr): Likewise.
* doc/posix-functions/dprintf.texi (dprintf): Likewise.
* doc/posix-functions/fgetwc.texi (fgetwc): Likewise.
* doc/posix-functions/fgetws.texi (fgetws): Likewise.
* doc/posix-functions/fputwc.texi (fputwc): Likewise.
* doc/posix-functions/fputws.texi (fputws): Likewise.
* doc/posix-functions/fwide.texi (fwide): Likewise.
* doc/posix-functions/getwc.texi (getwc): Likewise.
* doc/posix-functions/getwchar.texi (getwchar): Likewise.
* doc/posix-functions/putwc.texi (putwc): Likewise.
* doc/posix-functions/putwchar.texi (putwchar): Likewise.
* doc/posix-functions/sigignore.texi (sigignore): Likewise.
* doc/posix-functions/ungetwc.texi (ungetwc): Likewise.
* doc/posix-functions/vdprintf.texi (vdprintf): Likewise.
* doc/posix-functions/wcpcpy.texi (wcpcpy): Likewise.
* doc/posix-functions/wcpncpy.texi (wcpncpy): Likewise.
* doc/posix-functions/wcstol.texi (wcstol): Likewise.
* doc/posix-functions/wcstoll.texi (wcstoll): Likewise.
* doc/posix-functions/wcstoul.texi (wcstoul): Likewise.
* doc/posix-functions/wcstoull.texi (wcstoull): Likewise.
* doc/posix-functions/wcsxfrm.texi (wcsxfrm): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoioctl: avoid warning: no previous prototype for 'rpl_ioctl'
Daniel P. Berrange [Mon, 19 Jan 2009 07:04:27 +0000 (08:04 +0100)]
ioctl: avoid warning: no previous prototype for 'rpl_ioctl'

* lib/ioctl.c: Include <sys/ioctl.h>.

15 years agogetdate-test: Use progname module.
Simon Josefsson [Mon, 19 Jan 2009 10:36:05 +0000 (11:36 +0100)]
getdate-test: Use progname module.

15 years agofstrcmp-tests and filenamecat-tests: Use progname module.
Simon Josefsson [Mon, 19 Jan 2009 09:58:57 +0000 (10:58 +0100)]
fstrcmp-tests and filenamecat-tests: Use progname module.

15 years agogettimeofday: avoid warning: nested extern declaration of 'localtime'
Daniel P. Berrange [Mon, 19 Jan 2009 07:13:17 +0000 (08:13 +0100)]
gettimeofday: avoid warning: nested extern declaration of 'localtime'

* lib/gettimeofday.c: Move extern declaration out of function.

15 years agoRevisit the condition when to use multibyte parsing in strftime.
Bruno Haible [Sun, 18 Jan 2009 22:48:59 +0000 (23:48 +0100)]
Revisit the condition when to use multibyte parsing in strftime.

15 years agoRemove unused code for mempcpy.
Bruno Haible [Sun, 18 Jan 2009 20:46:46 +0000 (21:46 +0100)]
Remove unused code for mempcpy.

15 years agoNew module 'link'.
Martin Lambers [Sun, 18 Jan 2009 18:28:53 +0000 (19:28 +0100)]
New module 'link'.

15 years agoUse module progname correctly in the tests that need it.
Bruno Haible [Sun, 18 Jan 2009 17:35:25 +0000 (18:35 +0100)]
Use module progname correctly in the tests that need it.

15 years agoNew module 'alphasort'.
Bruno Haible [Sun, 18 Jan 2009 11:40:22 +0000 (12:40 +0100)]
New module 'alphasort'.

15 years agoNew module 'scandir'.
Bruno Haible [Sun, 18 Jan 2009 11:28:05 +0000 (12:28 +0100)]
New module 'scandir'.

15 years agoImprove func_remove_prefix, func_remove_suffix.
Bruno Haible [Sun, 18 Jan 2009 03:07:35 +0000 (04:07 +0100)]
Improve func_remove_prefix, func_remove_suffix.

15 years agoTests for module 'dprintf-posix'.
Bruno Haible [Sun, 18 Jan 2009 02:22:58 +0000 (03:22 +0100)]
Tests for module 'dprintf-posix'.

15 years agoNew modules 'dprintf', 'dprintf-posix'.
Bruno Haible [Sun, 18 Jan 2009 02:22:08 +0000 (03:22 +0100)]
New modules 'dprintf', 'dprintf-posix'.

15 years agoTests for module 'vdprintf-posix'.
Bruno Haible [Sun, 18 Jan 2009 01:50:29 +0000 (02:50 +0100)]
Tests for module 'vdprintf-posix'.

15 years agoNew modules 'vdprintf', 'vdprintf-posix'.
Bruno Haible [Sun, 18 Jan 2009 01:48:41 +0000 (02:48 +0100)]
New modules 'vdprintf', 'vdprintf-posix'.

15 years agoFix test-fopen failure on mingw.
Bruno Haible [Sat, 17 Jan 2009 16:39:50 +0000 (17:39 +0100)]
Fix test-fopen failure on mingw.

15 years agoFix compilation error on HP-UX 11.00.
Bruno Haible [Sat, 17 Jan 2009 16:12:42 +0000 (17:12 +0100)]
Fix compilation error on HP-UX 11.00.

15 years agoAvoid test-fflush2.sh failure on mingw.
Bruno Haible [Sat, 17 Jan 2009 15:39:41 +0000 (16:39 +0100)]
Avoid test-fflush2.sh failure on mingw.

15 years agoAttempt to avoid a recursive include of wchar.h on IRIX 6.5.
Bruno Haible [Sat, 17 Jan 2009 13:06:30 +0000 (14:06 +0100)]
Attempt to avoid a recursive include of wchar.h on IRIX 6.5.

15 years agoSupport for stripping executables in --enable-relocatable.
Bruno Haible [Sat, 17 Jan 2009 08:46:08 +0000 (09:46 +0100)]
Support for stripping executables in --enable-relocatable.

15 years agoOops, fix unintended commit.
Bruno Haible [Sat, 17 Jan 2009 08:30:17 +0000 (09:30 +0100)]
Oops, fix unintended commit.

15 years agoRemove debugging information left over by C compiler on MacOS X.
Bruno Haible [Sat, 17 Jan 2009 08:29:19 +0000 (09:29 +0100)]
Remove debugging information left over by C compiler on MacOS X.

15 years agoUpdate use of API that has changed in MacOS X 10.4.
Bruno Haible [Sat, 17 Jan 2009 08:24:00 +0000 (09:24 +0100)]
Update use of API that has changed in MacOS X 10.4.

15 years agostrerror: avoid warnings about discarding "const"
Jim Meyering [Fri, 16 Jan 2009 11:09:48 +0000 (12:09 +0100)]
strerror: avoid warnings about discarding "const"

* lib/strerror.c (rpl_strerror): Instead of returning a const
string from each and every "case", use a variable, and add a single
cast after the switch.

15 years agoAdd ChangeLog entry.
Simon Josefsson [Fri, 16 Jan 2009 12:08:48 +0000 (13:08 +0100)]
Add ChangeLog entry.

15 years agolib/arpa_inet.in.h: Add extern "C" block for C++.
Albert Chin-A-Young [Thu, 15 Jan 2009 18:38:28 +0000 (12:38 -0600)]
lib/arpa_inet.in.h: Add extern "C" block for C++.

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

15 years agoUse an array initializer syntax that also works in C++ mode.
Bruno Haible [Fri, 16 Jan 2009 11:21:48 +0000 (12:21 +0100)]
Use an array initializer syntax that also works in C++ mode.

15 years agopoll: suppress a warning
Jim Meyering [Fri, 16 Jan 2009 08:36:21 +0000 (09:36 +0100)]
poll: suppress a warning

* lib/poll.c: Use #pragma GCC diagnostic ignored "-Wtype-limits"
to ignore "...unsigned expression < 0 is always false" warnings.

15 years agopoll: remove declarations of unused variables
Daniel P. Berrange [Thu, 15 Jan 2009 21:29:34 +0000 (22:29 +0100)]
poll: remove declarations of unused variables

* lib/poll.c (poll) [WIN32_NATIVE]: Remove declarations of unused
sockbuf and optlen.

15 years agoMake fflush-after-ungetc POSIX compliant on BSD systems.
Bruno Haible [Fri, 16 Jan 2009 01:07:53 +0000 (02:07 +0100)]
Make fflush-after-ungetc POSIX compliant on BSD systems.

15 years agoMake fflush-after-ungetc POSIX compliant on glibc systems.
Bruno Haible [Thu, 15 Jan 2009 23:24:35 +0000 (00:24 +0100)]
Make fflush-after-ungetc POSIX compliant on glibc systems.

15 years agoopenmp.m4: revert quote-adding change, for portability to older autoconf
Jim Meyering [Thu, 15 Jan 2009 12:08:05 +0000 (13:08 +0100)]
openmp.m4: revert quote-adding change, for portability to older autoconf

* m4/openmp.m4: Remove the quotes added on 2009-01-14.
This reverts part of 42d1eda5dcce2d68deab7a642e7f29bcd7144a0d.
Simon Josefsson noticed the problem when using autoconf-2.61.

15 years agoEnable tests for fflush after ungetc.
Bruno Haible [Thu, 15 Jan 2009 11:24:04 +0000 (12:24 +0100)]
Enable tests for fflush after ungetc.

15 years agomktime.m4: remove K&R-style function prototypes
Albert Chin-A-Young [Wed, 14 Jan 2009 18:56:51 +0000 (12:56 -0600)]
mktime.m4: remove K&R-style function prototypes

* m4/mktime.m4 (AC_FUNC_MKTIME): Remove K&R-style function prototypes
for the Sun C++ compiler.

15 years agoFix a syntax error due to recursive inclusion of wchar.h on HP-UX 11.00.
Bruno Haible [Wed, 14 Jan 2009 23:27:45 +0000 (00:27 +0100)]
Fix a syntax error due to recursive inclusion of wchar.h on HP-UX 11.00.

15 years agoUpdate or remove references to gettext release.
Bruno Haible [Wed, 14 Jan 2009 22:06:50 +0000 (23:06 +0100)]
Update or remove references to gettext release.

15 years agoAdd more comments.
Bruno Haible [Wed, 14 Jan 2009 21:51:53 +0000 (22:51 +0100)]
Add more comments.

15 years agoMention every modified file in the ChangeLog entry.
Bruno Haible [Wed, 14 Jan 2009 21:48:52 +0000 (22:48 +0100)]
Mention every modified file in the ChangeLog entry.

15 years agosys_stat: Include sys/types.h for nlink_t.
Simon Josefsson [Wed, 14 Jan 2009 15:41:22 +0000 (16:41 +0100)]
sys_stat: Include sys/types.h for nlink_t.

15 years agoadd ChangeLog for "many *.m4 files: improve m4 quoting"
Jim Meyering [Wed, 14 Jan 2009 10:30:26 +0000 (11:30 +0100)]
add ChangeLog for "many *.m4 files: improve m4 quoting"

15 years agomany *.m4 files: improve m4 quoting
Jim Meyering [Tue, 13 Jan 2009 07:48:48 +0000 (08:48 +0100)]
many *.m4 files: improve m4 quoting

99% of this change was performed by running the following commands:
git ls-files | grep '\.m4$' | xargs perl -pi \
  -e 's/(AC_\w+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \
  -e 's/(AC_\w+\((?:\[[^,]+?\], ){1})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
  -e 's/(AC_\w+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
  -e 's/(AC_\w+\((?:\[[^,]+?\], ){3})([^,[()]+?)([,)])/$1\[$2]$3/g'
perl -pi -e 's/\[\.\.\.\]/.../' m4/onceonly.m4

The remainder were to add Copyright dates, increment serial numbers,
undo some changes in comments, exclude m4/intl.m4, and add quotes
around the "1" in ",1" where the unusual spacing prohibited the
above regexps from doing the job.  For more details, see
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16175>.

15 years agoAvoid test-copy-file.sh failures when ACL support insufficient.
Bruno Haible [Tue, 13 Jan 2009 23:12:56 +0000 (00:12 +0100)]
Avoid test-copy-file.sh failures when ACL support insufficient.

15 years agoAdd m4/stdint_h.m4 and m4/inttypes_h.m4 to file list.
Bruno Haible [Tue, 13 Jan 2009 21:36:45 +0000 (22:36 +0100)]
Add m4/stdint_h.m4 and m4/inttypes_h.m4 to file list.

15 years agou16-printf-parse (Files): Add m4/stdint_h.m4 and m4/inttypes_h.m4 too.
Simon Josefsson [Tue, 13 Jan 2009 16:03:25 +0000 (17:03 +0100)]
u16-printf-parse (Files): Add m4/stdint_h.m4 and m4/inttypes_h.m4 too.

15 years agointtostr.c: suppress a warning
Jim Meyering [Sun, 30 Nov 2008 16:36:15 +0000 (17:36 +0100)]
inttostr.c: suppress a warning

* lib/inttostr.c: Use #pragma GCC diagnostic ignored "-Wtype-limits"
to ignore "...unsigned expression < 0 is always false" warnings.

15 years agotests: IRIX 6.2 cc can't compile -0.0 into .data
Eric Blake [Mon, 12 Jan 2009 13:52:18 +0000 (06:52 -0700)]
tests: IRIX 6.2 cc can't compile -0.0 into .data

* tests/test-ceill.c (minus_zero): Compute -0.0L at runtime,
rather than at compile-time.
* tests/test-floorl.c (minus_zero): Likewise.
* tests/test-frexpl.c (minus_zero): Likewise.
* tests/test-isnan.c (minus_zerol): Likewise.
* tests/test-isnanl.h (minus_zero): Likewise.
* tests/test-ldexpl.c (minus_zero): Likewise.
* tests/test-roundl.c (minus_zero): Likewise.
* tests/test-signbit.c (minus_zerol): Likewise.
* tests/test-snprintf-posix.h (minus_zerol): Likewise.
* tests/test-sprintf-posix.h (minus_zerol): Likewise.
* tests/test-truncl.c (minus_zero): Likewise.
* tests/test-vasnprintf-posix.c (minus_zerol): Likewise.
* tests/test-vasprintf-posix.c (minus_zerol): Likewise.
Reported by Tom G. Christensen and Nelson H. F. Beebe.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoupdate from texinfo
Karl Berry [Sun, 11 Jan 2009 14:00:26 +0000 (06:00 -0800)]
update from texinfo

15 years agoregex: fix glibc bug 9697
Paolo Bonzini [Fri, 9 Jan 2009 08:10:36 +0000 (09:10 +0100)]
regex: fix glibc bug 9697

2009-01-09  Paolo Bonzini  <bonzini@gnu.org>

* lib/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
handling.

15 years agoregex: fix glibc bug 697
Paolo Bonzini [Fri, 9 Jan 2009 08:04:55 +0000 (09:04 +0100)]
regex: fix glibc bug 697

2009-01-09  Paolo Bonzini  <bonzini@gnu.org>

* lib/regexec.c (prune_impossible_nodes): Handle sifted_states[0]
being NULL also if there are no backreferences.

15 years agoregex: replace mbrtowc with __mbrtowc.
Paolo Bonzini [Fri, 9 Jan 2009 08:00:58 +0000 (09:00 +0100)]
regex: replace mbrtowc with __mbrtowc.

2009-01-09  Paolo Bonzini  <bonzini@gnu.org>

* lib/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.
* lib/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer,
re_string_skip_chars, re_string_reconstruct): Likewise.
* lib/regex_internal.h [!_LIBC] (__mbrtowc): New #define.

15 years agopoll: filter through cppi
Jim Meyering [Wed, 7 Jan 2009 20:02:12 +0000 (21:02 +0100)]
poll: filter through cppi

* lib/poll.c: Indent cpp directives to reflect nesting.

15 years agopoll: don't return uninitialized
Daniel P. Berrange [Wed, 7 Jan 2009 19:43:01 +0000 (20:43 +0100)]
poll: don't return uninitialized

* lib/poll.c (poll) [WIN32_NATIVE]: Initialize "rc".

15 years agogetloadavg: avoid compile failure on AIX 6.1
Jeremy Olexa [Tue, 6 Jan 2009 20:25:54 +0000 (21:25 +0100)]
getloadavg: avoid compile failure on AIX 6.1

* lib/getloadavg.c [HAVE_LIBPERFSTAT]: Include <sys/protosw.h>.
Details in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/15465

15 years agoremove duplicate inclusion of <stdio.h>
Jim Meyering [Sun, 4 Jan 2009 19:59:12 +0000 (20:59 +0100)]
remove duplicate inclusion of <stdio.h>

* tests/test-fprintf-posix.c: Likewise.
* tests/test-printf-posix.c: Likewise.
* tests/test-snprintf-posix.c: Likewise.
* tests/test-sprintf-posix.c: Likewise.
* tests/test-vasprintf-posix.c: Likewise.
* tests/test-vfprintf-posix.c: Likewise.
* tests/test-vprintf-posix.c: Likewise.
* tests/test-vsnprintf-posix.c: Likewise.
* tests/test-vsprintf-posix.c: Likewise.

15 years agognulib-tool: fix sed-based filtering
Jim Meyering [Fri, 2 Jan 2009 18:29:30 +0000 (19:29 +0100)]
gnulib-tool: fix sed-based filtering

* gnulib-tool (func_filter_filelist): Remove extra backslash
in sed_fff_filter definition.

15 years agoautoupdate (for gendocs.sh accepting --email)
Karl Berry [Fri, 2 Jan 2009 16:11:41 +0000 (08:11 -0800)]
autoupdate (for gendocs.sh accepting --email)

15 years agoautoupdate (for gendocs.sh accepting --email)
Karl Berry [Fri, 2 Jan 2009 16:11:07 +0000 (08:11 -0800)]
autoupdate (for gendocs.sh accepting --email)

15 years agostrftime: avoid compilation failure on Solaris 2.6
Jim Meyering [Fri, 2 Jan 2009 08:58:09 +0000 (09:58 +0100)]
strftime: avoid compilation failure on Solaris 2.6

* modules/strftime (Depends-on): Add mbrlen and mbsinit.
* lib/strftime.c [DO_MULTIBYTE]: Include <wchar.h> unconditionally.
Don't #define mbrlen or mbsinit, since now they're guaranteed to
be available.  Reported by Tom G. Christensen.  Details in
<http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16180>.

15 years agoSpeed up gnulib-tool by doing more string processing through shell built-ins.
Bruno Haible [Fri, 2 Jan 2009 01:26:22 +0000 (02:26 +0100)]
Speed up gnulib-tool by doing more string processing through shell built-ins.

15 years agoupdate from texinfo
Karl Berry [Thu, 1 Jan 2009 22:47:33 +0000 (14:47 -0800)]
update from texinfo

15 years agoFix a security bug.
Bruno Haible [Thu, 1 Jan 2009 20:56:20 +0000 (21:56 +0100)]
Fix a security bug.

15 years agoAdd comments.
Bruno Haible [Thu, 1 Jan 2009 19:47:11 +0000 (20:47 +0100)]
Add comments.

15 years agoTerminate loops early when possible.
Bruno Haible [Thu, 1 Jan 2009 19:35:40 +0000 (20:35 +0100)]
Terminate loops early when possible.

15 years ago* lib/version-etc.c (version_etc_va): Update copyright year.
Jim Meyering [Thu, 1 Jan 2009 01:06:35 +0000 (02:06 +0100)]
* lib/version-etc.c (version_etc_va): Update copyright year.

SCALAR(0x831a154)
Copyright (C) 1997-2009 Free Software Foundation, Inc.

15 years agoFix a bug in the determination of LIB${NAME}_PREFIX.
Bruno Haible [Tue, 30 Dec 2008 23:28:09 +0000 (00:28 +0100)]
Fix a bug in the determination of LIB${NAME}_PREFIX.

15 years agomultiarch: avoid autoconf AC_REQUIRE bug
Eric Blake [Tue, 30 Dec 2008 03:06:44 +0000 (20:06 -0700)]
multiarch: avoid autoconf AC_REQUIRE bug

* m4/multiarch.m4 (gl_MULTIARCH): Split body...
(gl_MULTIARCH_BODY): ...into new macro, to work around bug in Autoconf
2.63 and older.
Reported by Bruno Haible, and analyzed in
http://lists.gnu.org/archive/html/bug-autoconf/2008-12/msg00039.html

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoFix small bug in update of .cvsignore or .gitignore.
Bruno Haible [Mon, 29 Dec 2008 22:10:55 +0000 (23:10 +0100)]
Fix small bug in update of .cvsignore or .gitignore.

15 years agowork around Solaris 8 'join' bug
Ralf Wildenhues [Mon, 29 Dec 2008 21:41:01 +0000 (22:41 +0100)]
work around Solaris 8 'join' bug

* gnulib-tool (func_update_ignorelist): Use 'join - FILE'
rather than 'join FILE -', for Solaris join.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agoMore systematic m4 argument quoting.
Bruno Haible [Mon, 29 Dec 2008 21:26:20 +0000 (22:26 +0100)]
More systematic m4 argument quoting.

15 years agoparse-duration: small doc tweak and coding aesthetics issue.
Bruce Korb [Mon, 29 Dec 2008 21:00:19 +0000 (22:00 +0100)]
parse-duration: small doc tweak and coding aesthetics issue.

* lib/parse-duration.h: non-iso form accepts years, months weeks, too
* lib/parse-duration.c: use a switch instead of cascading if's.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
15 years agowchar.h: supply WEOF on Irix 5.3
Eric Blake [Mon, 29 Dec 2008 16:09:58 +0000 (09:09 -0700)]
wchar.h: supply WEOF on Irix 5.3

* lib/wchar.in.h (wint_t): Also supply WEOF.
* lib/wctype.in.h (wint_t): Likewise.
* doc/posix-headers/wchar.texi (wchar.h): Document the bug.
* doc/posix-headers/wctype.texi (wctype.h): Likewise.
Reported by Tom G. Christensen.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoRecognize more architecture names.
Bruno Haible [Fri, 26 Dec 2008 11:39:39 +0000 (12:39 +0100)]
Recognize more architecture names.

15 years agoFix indentation of comments.
Bruno Haible [Fri, 26 Dec 2008 10:05:42 +0000 (11:05 +0100)]
Fix indentation of comments.

15 years agoInclude <wchar.h> after defining the types, not before.
Bruno Haible [Fri, 26 Dec 2008 10:00:05 +0000 (11:00 +0100)]
Include <wchar.h> after defining the types, not before.

15 years agoAdd support for universal builds to vasnprintf.
Bruno Haible [Thu, 25 Dec 2008 19:18:10 +0000 (20:18 +0100)]
Add support for universal builds to vasnprintf.

15 years agoAdd support for universal builds to <inttypes.h>.
Bruno Haible [Thu, 25 Dec 2008 18:40:14 +0000 (19:40 +0100)]
Add support for universal builds to <inttypes.h>.

15 years agoAdd support for universal builds to <stdint.h>.
Bruno Haible [Thu, 25 Dec 2008 18:31:28 +0000 (19:31 +0100)]
Add support for universal builds to <stdint.h>.

15 years agoNew module 'multiarch'.
Bruno Haible [Thu, 25 Dec 2008 18:25:38 +0000 (19:25 +0100)]
New module 'multiarch'.

15 years agoFix a gnulib-tool failure.
Bruno Haible [Thu, 25 Dec 2008 15:07:35 +0000 (16:07 +0100)]
Fix a gnulib-tool failure.

15 years agoRelicense regex dependencies under LGPLv2+.
Bruno Haible [Thu, 25 Dec 2008 11:56:40 +0000 (12:56 +0100)]
Relicense regex dependencies under LGPLv2+.

15 years agoautoregenerate
Karl Berry [Wed, 24 Dec 2008 22:47:16 +0000 (14:47 -0800)]
autoregenerate

15 years agoautoupdate
Karl Berry [Wed, 24 Dec 2008 21:54:30 +0000 (13:54 -0800)]
autoupdate

15 years agoFix conditional and comment.
Bruno Haible [Tue, 23 Dec 2008 22:33:22 +0000 (23:33 +0100)]
Fix conditional and comment.

15 years agoautoupdate
Karl Berry [Tue, 23 Dec 2008 13:26:01 +0000 (05:26 -0800)]
autoupdate

15 years agoModule getaddrinfo requires linking with $(GETADDRINFO_LIB).
Bruno Haible [Tue, 23 Dec 2008 12:09:27 +0000 (13:09 +0100)]
Module getaddrinfo requires linking with $(GETADDRINFO_LIB).

15 years agoOops, typo in comment.
Bruno Haible [Tue, 23 Dec 2008 01:46:58 +0000 (02:46 +0100)]
Oops, typo in comment.

15 years agoMention platform-dependent limitations of wchar_t.
Bruno Haible [Tue, 23 Dec 2008 01:16:48 +0000 (02:16 +0100)]
Mention platform-dependent limitations of wchar_t.

15 years agoMake c-stack work on Haiku.
Ingo Weinhold [Mon, 22 Dec 2008 23:58:15 +0000 (00:58 +0100)]
Make c-stack work on Haiku.

15 years agoTreat Haiku like BeOS.
Bruno Haible [Mon, 22 Dec 2008 23:48:38 +0000 (00:48 +0100)]
Treat Haiku like BeOS.