Bruno Haible [Thu, 15 Jan 2009 23:24:35 +0000 (00:24 +0100)]
Make fflush-after-ungetc POSIX compliant on glibc systems.
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.
Bruno Haible [Thu, 15 Jan 2009 11:24:04 +0000 (12:24 +0100)]
Enable tests for fflush after ungetc.
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.
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.
Bruno Haible [Wed, 14 Jan 2009 22:06:50 +0000 (23:06 +0100)]
Update or remove references to gettext release.
Bruno Haible [Wed, 14 Jan 2009 21:51:53 +0000 (22:51 +0100)]
Add more comments.
Bruno Haible [Wed, 14 Jan 2009 21:48:52 +0000 (22:48 +0100)]
Mention every modified file in the ChangeLog entry.
Simon Josefsson [Wed, 14 Jan 2009 15:41:22 +0000 (16:41 +0100)]
sys_stat: Include sys/types.h for nlink_t.
Jim Meyering [Wed, 14 Jan 2009 10:30:26 +0000 (11:30 +0100)]
add ChangeLog for "many *.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>.
Bruno Haible [Tue, 13 Jan 2009 23:12:56 +0000 (00:12 +0100)]
Avoid test-copy-file.sh failures when ACL support insufficient.
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.
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.
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.
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>
Karl Berry [Sun, 11 Jan 2009 14:00:26 +0000 (06:00 -0800)]
update from texinfo
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.
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.
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.
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.
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".
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
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.
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.
Karl Berry [Fri, 2 Jan 2009 16:11:41 +0000 (08:11 -0800)]
autoupdate (for gendocs.sh accepting --email)
Karl Berry [Fri, 2 Jan 2009 16:11:07 +0000 (08:11 -0800)]
autoupdate (for gendocs.sh accepting --email)
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>.
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.
Karl Berry [Thu, 1 Jan 2009 22:47:33 +0000 (14:47 -0800)]
update from texinfo
Bruno Haible [Thu, 1 Jan 2009 20:56:20 +0000 (21:56 +0100)]
Fix a security bug.
Bruno Haible [Thu, 1 Jan 2009 19:47:11 +0000 (20:47 +0100)]
Add comments.
Bruno Haible [Thu, 1 Jan 2009 19:35:40 +0000 (20:35 +0100)]
Terminate loops early when possible.
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.
Bruno Haible [Tue, 30 Dec 2008 23:28:09 +0000 (00:28 +0100)]
Fix a bug in the determination of LIB${NAME}_PREFIX.
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>
Bruno Haible [Mon, 29 Dec 2008 22:10:55 +0000 (23:10 +0100)]
Fix small bug in update of .cvsignore or .gitignore.
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>
Bruno Haible [Mon, 29 Dec 2008 21:26:20 +0000 (22:26 +0100)]
More systematic m4 argument quoting.
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>
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>
Bruno Haible [Fri, 26 Dec 2008 11:39:39 +0000 (12:39 +0100)]
Recognize more architecture names.
Bruno Haible [Fri, 26 Dec 2008 10:05:42 +0000 (11:05 +0100)]
Fix indentation of comments.
Bruno Haible [Fri, 26 Dec 2008 10:00:05 +0000 (11:00 +0100)]
Include <wchar.h> after defining the types, not before.
Bruno Haible [Thu, 25 Dec 2008 19:18:10 +0000 (20:18 +0100)]
Add support for universal builds to vasnprintf.
Bruno Haible [Thu, 25 Dec 2008 18:40:14 +0000 (19:40 +0100)]
Add support for universal builds to <inttypes.h>.
Bruno Haible [Thu, 25 Dec 2008 18:31:28 +0000 (19:31 +0100)]
Add support for universal builds to <stdint.h>.
Bruno Haible [Thu, 25 Dec 2008 18:25:38 +0000 (19:25 +0100)]
New module 'multiarch'.
Bruno Haible [Thu, 25 Dec 2008 15:07:35 +0000 (16:07 +0100)]
Fix a gnulib-tool failure.
Bruno Haible [Thu, 25 Dec 2008 11:56:40 +0000 (12:56 +0100)]
Relicense regex dependencies under LGPLv2+.
Karl Berry [Wed, 24 Dec 2008 22:47:16 +0000 (14:47 -0800)]
autoregenerate
Karl Berry [Wed, 24 Dec 2008 21:54:30 +0000 (13:54 -0800)]
autoupdate
Bruno Haible [Tue, 23 Dec 2008 22:33:22 +0000 (23:33 +0100)]
Fix conditional and comment.
Karl Berry [Tue, 23 Dec 2008 13:26:01 +0000 (05:26 -0800)]
autoupdate
Bruno Haible [Tue, 23 Dec 2008 12:09:27 +0000 (13:09 +0100)]
Module getaddrinfo requires linking with $(GETADDRINFO_LIB).
Bruno Haible [Tue, 23 Dec 2008 01:46:58 +0000 (02:46 +0100)]
Oops, typo in comment.
Bruno Haible [Tue, 23 Dec 2008 01:16:48 +0000 (02:16 +0100)]
Mention platform-dependent limitations of wchar_t.
Ingo Weinhold [Mon, 22 Dec 2008 23:58:15 +0000 (00:58 +0100)]
Make c-stack work on Haiku.
Bruno Haible [Mon, 22 Dec 2008 23:48:38 +0000 (00:48 +0100)]
Treat Haiku like BeOS.
Bruno Haible [Mon, 22 Dec 2008 23:33:10 +0000 (00:33 +0100)]
Work around mbrlen() bugs on various platforms.
Bruno Haible [Mon, 22 Dec 2008 23:27:11 +0000 (00:27 +0100)]
Remove an unused variable.
Karl Berry [Mon, 22 Dec 2008 20:53:51 +0000 (12:53 -0800)]
autoupdate
Eric Blake [Mon, 22 Dec 2008 13:11:32 +0000 (06:11 -0700)]
Avoid gcc warnings on cygwin.
* lib/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
Avoid unused variable.
* lib/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible [Mon, 22 Dec 2008 11:11:44 +0000 (12:11 +0100)]
Remove HAVE_MBRTOWC conditionals. Use mbrtowc unconditionally.
Bruno Haible [Mon, 22 Dec 2008 10:34:14 +0000 (11:34 +0100)]
Merge branch 'master' of ssh://haible@git.sv.gnu.org/srv/git/gnulib
Bruno Haible [Mon, 22 Dec 2008 10:33:52 +0000 (11:33 +0100)]
Mention a glibc bug.
Paolo Bonzini [Mon, 22 Dec 2008 09:59:46 +0000 (10:59 +0100)]
update regex to use the emulated mb*/wc* functions
* modules/regex: Request emulations for the mb*/wc* functions we need.
* m4/regex.m4: Don't look for those functions here.
* lib/regex_internal.h: Do not check HAVE_WCRTOMB and HAVE_MBRTOWC.
Bruno Haible [Mon, 22 Dec 2008 09:48:52 +0000 (10:48 +0100)]
Oops, undo last commit.
Bruno Haible [Mon, 22 Dec 2008 02:48:56 +0000 (03:48 +0100)]
Make mbiter, mbuiter, mbfile usable also if !HAVE_MBRTOWC.
Bruno Haible [Mon, 22 Dec 2008 01:13:17 +0000 (02:13 +0100)]
Classify some recently added modules.
Bruno Haible [Mon, 22 Dec 2008 00:54:41 +0000 (01:54 +0100)]
Oops, typo.
Bruno Haible [Mon, 22 Dec 2008 00:51:57 +0000 (01:51 +0100)]
Change subtitles to refer to POSIX:2008.
Bruno Haible [Mon, 22 Dec 2008 00:26:36 +0000 (01:26 +0100)]
Oops, fix syntax error.
Bruno Haible [Sun, 21 Dec 2008 23:43:50 +0000 (00:43 +0100)]
Tests for module 'wcsnrtombs'.
Bruno Haible [Sun, 21 Dec 2008 23:42:11 +0000 (00:42 +0100)]
New module 'wcsnrtombs'.
Bruno Haible [Sun, 21 Dec 2008 22:50:07 +0000 (23:50 +0100)]
Tests for module 'wcsrtombs'.
Bruno Haible [Sun, 21 Dec 2008 22:48:19 +0000 (23:48 +0100)]
New module 'wcsrtombs'.
Bruno Haible [Sun, 21 Dec 2008 20:59:13 +0000 (21:59 +0100)]
Oops, don't ignore exit code of subprocesses.
Bruno Haible [Sun, 21 Dec 2008 20:57:36 +0000 (21:57 +0100)]
Work around a wcrtomb() bug on Solaris 10 and OSF/1 5.1.
Bruno Haible [Sun, 21 Dec 2008 16:35:30 +0000 (17:35 +0100)]
Work around a btowc() bug on IRIX 6.5.
Bruno Haible [Sun, 21 Dec 2008 16:00:05 +0000 (17:00 +0100)]
Tests for module 'wcrtomb'.
Bruno Haible [Sun, 21 Dec 2008 15:58:29 +0000 (16:58 +0100)]
New module 'wcrtomb'.
Bruno Haible [Sun, 21 Dec 2008 15:13:11 +0000 (16:13 +0100)]
codeset.m4 is required by locale-fr.m4.
William Pursell [Sun, 21 Dec 2008 11:24:13 +0000 (11:24 +0000)]
gitlog-to-changelog: pass all command-line arguments to git-log
When producing a ChangeLog, it is sometimes convenient
to filter the commits in various ways. gitlog-to-changelog
only allows --since to specify a start date, but git-log
itself supports many other filtering mechanisms. At the
moment, I want to filter by branch name. Rather than adding
a --branch option to gitlog-to-changelog, it seems more
flexible to simply pass all options directly to git-log
and let git do the work. Notice that this effectively
makes --since a redundant option for gitlog-to-changelog,
but removing it would require current usage to change since
calls would then require an additional '--'.
Bruno Haible [Sun, 21 Dec 2008 13:47:35 +0000 (14:47 +0100)]
Tests for module 'mbsnrtowcs'.
Bruno Haible [Sun, 21 Dec 2008 13:45:44 +0000 (14:45 +0100)]
New module 'mbsnrtowcs'.
Bruno Haible [Sun, 21 Dec 2008 12:36:23 +0000 (13:36 +0100)]
Work around mbsrtowcs bug on various platforms.
Bruno Haible [Sun, 21 Dec 2008 12:29:51 +0000 (13:29 +0100)]
Execute the main loop twice, as intended.
Bruno Haible [Sun, 21 Dec 2008 12:26:10 +0000 (13:26 +0100)]
Mention that AIX has a crippled wchar_t type.
Bruno Haible [Sun, 21 Dec 2008 11:33:42 +0000 (12:33 +0100)]
Update for HP-UX 11.11.
Bruno Haible [Sun, 21 Dec 2008 11:05:35 +0000 (12:05 +0100)]
Work around a portability problem.
Bruno Haible [Sun, 21 Dec 2008 10:31:43 +0000 (11:31 +0100)]
Oops, remove unintended commit.
Bruno Haible [Sun, 21 Dec 2008 03:53:17 +0000 (04:53 +0100)]
Override mbsrtowcs when redefining mbstate_t.
Bruno Haible [Sun, 21 Dec 2008 01:55:00 +0000 (02:55 +0100)]
Work around mbrtowc bugs on AIX, HP-UX, OSF/1, Solaris.
Bruno Haible [Sun, 21 Dec 2008 01:36:06 +0000 (02:36 +0100)]
Avoid test failure on AIX.
Bruno Haible [Sun, 21 Dec 2008 00:22:07 +0000 (01:22 +0100)]
Work around wctob bug on Solaris 9.
Bruno Haible [Sat, 20 Dec 2008 19:44:55 +0000 (20:44 +0100)]
Document a select() bug on Solaris 2.6.
Bruno Haible [Sat, 20 Dec 2008 15:08:46 +0000 (16:08 +0100)]
Avoid false report of ja_JP.EUC-JP locale under Cygwin.
Bruno Haible [Sat, 20 Dec 2008 13:31:30 +0000 (14:31 +0100)]
Avoid compiler warnings on Cygwin.
Bruno Haible [Sat, 20 Dec 2008 12:43:27 +0000 (13:43 +0100)]
Ensure mbstate_t is defined on HP-UX 11.11.