gnulib.git
15 years agoDocument the 'manywarnings' module.
Bruno Haible [Sat, 6 Dec 2008 11:08:48 +0000 (12:08 +0100)]
Document the 'manywarnings' module.

15 years agotests: silence some gcc warnings
Eric Blake [Fri, 5 Dec 2008 14:05:31 +0000 (07:05 -0700)]
tests: silence some gcc warnings

* tests/test-getdate.c (LOG) [!DEBUG]: Mark no-op void.
* tests/uniwidth/test-uc_width2.c (finish_interval): Avoid printf
type mismatches.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoupdate from texinfo
Karl Berry [Thu, 4 Dec 2008 01:47:08 +0000 (17:47 -0800)]
update from texinfo

15 years agoAvoid relying on m4_copy which has changed in newer autoconf.
Ralf Wildenhues [Thu, 4 Dec 2008 00:31:06 +0000 (01:31 +0100)]
Avoid relying on m4_copy which has changed in newer autoconf.

15 years ago* build-aux/missing: Restore executable bit.
Eric Blake [Mon, 1 Dec 2008 18:49:36 +0000 (11:49 -0700)]
* build-aux/missing: Restore executable bit.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agofts: fix a thinko
Jim Meyering [Sat, 29 Nov 2008 15:08:09 +0000 (16:08 +0100)]
fts: fix a thinko

* lib/fts.c (s_ifmt_shift_bits): Remove function.  Not needed after all.
(set_stat_type): Return S_IF*-valued "type" directly.
Prompted by James Youngman's spotting a related bug.
Confirmed by further testing through find.

15 years agofts: provide dirent.d_type via FTSENT.fts_statp, when possible
Jim Meyering [Fri, 28 Nov 2008 17:40:08 +0000 (18:40 +0100)]
fts: provide dirent.d_type via FTSENT.fts_statp, when possible

* lib/fts.c (D_TYPE): Define.
(DT_UNKNOWN, DT_BLK, DT_CHR) [HAVE_STRUCT_DIRENT_D_TYPE]: Define.
(DT_DIR, DT_FIFO, DT_LNK, DT_REG, DT_SOCK): Likewise.
(s_ifmt_shift_bits): New function.
(set_stat_type): New function.
(fts_build): When not calling fts_stat, call set_stat_type
to propagate dirent.d_type info to fts_read caller.
* lib/fts_.h (FTSENT) [FTS_DEFER_STAT]: Mention that
fts_statp->st_mode type information may be valid.

15 years agosys_time: Add extern "C" block for C++.
Simon Josefsson [Fri, 28 Nov 2008 14:33:48 +0000 (15:33 +0100)]
sys_time: Add extern "C" block for C++.

15 years agoupdate from texinfo
Karl Berry [Thu, 27 Nov 2008 23:53:05 +0000 (15:53 -0800)]
update from texinfo

15 years agoupdate from texinfo
Karl Berry [Wed, 26 Nov 2008 00:42:24 +0000 (16:42 -0800)]
update from texinfo

15 years agoupdate from texinfo
Karl Berry [Mon, 24 Nov 2008 14:33:44 +0000 (06:33 -0800)]
update from texinfo

15 years agoautoupdate
Karl Berry [Mon, 24 Nov 2008 14:32:46 +0000 (06:32 -0800)]
autoupdate

15 years agoAttribution.
Bruno Haible [Thu, 20 Nov 2008 22:42:10 +0000 (23:42 +0100)]
Attribution.

15 years agoAttempt to work around another AIX 5.3, 6.1 compiler bug with include_next.
Bruno Haible [Thu, 20 Nov 2008 22:33:58 +0000 (23:33 +0100)]
Attempt to work around another AIX 5.3, 6.1 compiler bug with include_next.

15 years agoTypo.
Simon Josefsson [Thu, 20 Nov 2008 15:23:40 +0000 (16:23 +0100)]
Typo.

15 years agoAdd instructions to generate online gnulib manual, from Bruno.
Simon Josefsson [Thu, 20 Nov 2008 15:05:51 +0000 (16:05 +0100)]
Add instructions to generate online gnulib manual, from Bruno.

15 years agoupdate from texinfo
Karl Berry [Thu, 20 Nov 2008 14:19:42 +0000 (06:19 -0800)]
update from texinfo

15 years agoAvoid a compilation failure in Boost.
Alexandre Duret-Lutz [Wed, 19 Nov 2008 00:09:26 +0000 (01:09 +0100)]
Avoid a compilation failure in Boost.

15 years agoFix typo in last commit.
Simon Josefsson [Tue, 18 Nov 2008 14:39:57 +0000 (15:39 +0100)]
Fix typo in last commit.

15 years agowarnings: Split off some code to new module manywarnings.
Simon Josefsson [Tue, 18 Nov 2008 12:50:32 +0000 (13:50 +0100)]
warnings: Split off some code to new module manywarnings.

15 years agoDocument --with-tests.
Bruno Haible [Tue, 18 Nov 2008 11:02:11 +0000 (12:02 +0100)]
Document --with-tests.

15 years agomaintainer-makefile: Fix sed regexp.
Simon Josefsson [Tue, 18 Nov 2008 00:32:33 +0000 (01:32 +0100)]
maintainer-makefile: Fix sed regexp.

15 years agowarnings: Improve code.
Simon Josefsson [Mon, 17 Nov 2008 21:11:30 +0000 (22:11 +0100)]
warnings: Improve code.

15 years agowarnings: Use CPPFLAGS to really check whether the parameter works.
Simon Josefsson [Mon, 17 Nov 2008 20:35:50 +0000 (21:35 +0100)]
warnings: Use CPPFLAGS to really check whether the parameter works.

15 years agoFix last commit.
Simon Josefsson [Mon, 17 Nov 2008 17:17:11 +0000 (18:17 +0100)]
Fix last commit.

15 years agowarnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.
Simon Josefsson [Mon, 17 Nov 2008 16:45:14 +0000 (17:45 +0100)]
warnings: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.

15 years agoTests for module 'parse-duration'.
Bruce Korb [Mon, 17 Nov 2008 12:02:25 +0000 (13:02 +0100)]
Tests for module 'parse-duration'.

15 years agoNew module 'parse-duration'.
Bruce Korb [Mon, 17 Nov 2008 12:01:06 +0000 (13:01 +0100)]
New module 'parse-duration'.

15 years agoAvoid a test failure on Linux 2.6/x86.
Bruno Haible [Mon, 17 Nov 2008 11:29:11 +0000 (12:29 +0100)]
Avoid a test failure on Linux 2.6/x86.

15 years agogetaddrinfo: use the modules servent and hostent.
Bruno Haible [Mon, 17 Nov 2008 11:17:39 +0000 (12:17 +0100)]
getaddrinfo: use the modules servent and hostent.

15 years agoAdd support for Haiku and BeOS.
Bruno Haible [Mon, 17 Nov 2008 11:12:39 +0000 (12:12 +0100)]
Add support for Haiku and BeOS.

15 years agoautoupdate
Karl Berry [Sun, 16 Nov 2008 16:32:49 +0000 (08:32 -0800)]
autoupdate

15 years agoautoupdate
Karl Berry [Sun, 16 Nov 2008 16:27:29 +0000 (08:27 -0800)]
autoupdate

15 years agoOops, bad typo.
Bruno Haible [Sun, 16 Nov 2008 14:04:26 +0000 (15:04 +0100)]
Oops, bad typo.

15 years agoFix indentation.
Bruno Haible [Sun, 16 Nov 2008 12:45:26 +0000 (13:45 +0100)]
Fix indentation.

15 years agoAvoid test failure on Haiku.
Bruno Haible [Sun, 16 Nov 2008 11:59:38 +0000 (12:59 +0100)]
Avoid test failure on Haiku.

15 years agoNew module 'hostent'.
Bruno Haible [Sun, 16 Nov 2008 04:06:09 +0000 (05:06 +0100)]
New module 'hostent'.

15 years agoNew module 'servent'.
Bruno Haible [Sun, 16 Nov 2008 04:02:40 +0000 (05:02 +0100)]
New module 'servent'.

15 years agoAvoid generating same test program with two different rules.
Bruno Haible [Sat, 15 Nov 2008 22:35:22 +0000 (23:35 +0100)]
Avoid generating same test program with two different rules.

15 years agoAvoid possible link error.
Bruno Haible [Sat, 15 Nov 2008 22:31:45 +0000 (23:31 +0100)]
Avoid possible link error.

15 years agoMake the netdb.h replacement work on Haiku.
Bruno Haible [Sat, 15 Nov 2008 20:17:23 +0000 (21:17 +0100)]
Make the netdb.h replacement work on Haiku.

15 years agoInclude config.h in all tests.
Bruno Haible [Sat, 15 Nov 2008 12:33:04 +0000 (13:33 +0100)]
Include config.h in all tests.

15 years agoTest also the existence of the SCHED_* macros.
Bruno Haible [Sat, 15 Nov 2008 12:09:57 +0000 (13:09 +0100)]
Test also the existence of the SCHED_* macros.

15 years agoMake the 'sched' module work on platforms where <sched.h> is incomplete.
Bruno Haible [Sat, 15 Nov 2008 12:06:41 +0000 (13:06 +0100)]
Make the 'sched' module work on platforms where <sched.h> is incomplete.

15 years agoautoupdate
Karl Berry [Thu, 13 Nov 2008 16:11:30 +0000 (08:11 -0800)]
autoupdate

15 years agotest-argp-2: avoid test failure when PACKAGE_BUGREPORT is defined
Jim Meyering [Thu, 13 Nov 2008 10:31:01 +0000 (11:31 +0100)]
test-argp-2: avoid test failure when PACKAGE_BUGREPORT is defined

* tests/test-argp-2.sh: When PACKAGE_BUGREPORT was defined, this
test would fail due to the difference in the Report bugs to ...
line.  The expected address is empty, "<>", while the actual
would contain e.g., "<bug-tar@gnu.org>".  Filter out any address.

15 years agoOops, forgot to update the serial number.
Bruno Haible [Thu, 13 Nov 2008 11:52:20 +0000 (12:52 +0100)]
Oops, forgot to update the serial number.

15 years agolstat: don't compile lstat.c on systems lacking lstat
Bruno Haible [Thu, 13 Nov 2008 06:59:46 +0000 (07:59 +0100)]
lstat: don't compile lstat.c on systems lacking lstat

* m4/lstat.m4 (gl_FUNC_LSTAT): Don't compile lstat.c on systems
which don't have lstat; this is handled by lib/sys_stat.in.h already.
Reported by Daniel P. Berrange via Jim Meyering.

15 years ago* lib/unicodeio.c (unicode_to_mb): Correct spelling of u8_uctomb.
Jim Meyering [Wed, 12 Nov 2008 14:27:38 +0000 (15:27 +0100)]
* lib/unicodeio.c (unicode_to_mb): Correct spelling of u8_uctomb.

15 years agowarnings: Invoke AC_SUBST on WARN_CFLAGS.
Simon Josefsson [Wed, 12 Nov 2008 11:33:58 +0000 (12:33 +0100)]
warnings: Invoke AC_SUBST on WARN_CFLAGS.

15 years agoDon't duplicate a function defined elsewhere in gnulib.
Bruno Haible [Wed, 12 Nov 2008 11:29:05 +0000 (12:29 +0100)]
Don't duplicate a function defined elsewhere in gnulib.

15 years agowarnings: Remove gl_WARN_INIT.
Simon Josefsson [Wed, 12 Nov 2008 11:19:23 +0000 (12:19 +0100)]
warnings: Remove gl_WARN_INIT.

15 years agoAdd documentation for warnings module, from Bruno.
Simon Josefsson [Wed, 12 Nov 2008 11:14:55 +0000 (12:14 +0100)]
Add documentation for warnings module, from Bruno.

15 years agoAdd a comment.
Bruno Haible [Tue, 11 Nov 2008 23:28:23 +0000 (00:28 +0100)]
Add a comment.

15 years agosync fdl.texi from gnustandards
Karl Berry [Tue, 11 Nov 2008 23:24:07 +0000 (15:24 -0800)]
sync fdl.texi from gnustandards

15 years agofdl.texi: avoid git symlinks
Eric Blake [Tue, 11 Nov 2008 13:01:57 +0000 (06:01 -0700)]
fdl.texi: avoid git symlinks

* doc/fdl.texi: Copy, rather than link, fdl-1.3.texi.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agowarnings: Think right.
Paolo Bonzini [Tue, 11 Nov 2008 12:55:40 +0000 (13:55 +0100)]
warnings: Think right.

2008-11-11  Paolo Bonzini  <bonzini@gnu.org>

* m4/warnings.m4 (gl_WARN_ADD): Don't AC_SUBST the empty string.

15 years agowarnings: Add AC_SUBST.
Paolo Bonzini [Tue, 11 Nov 2008 12:42:48 +0000 (13:42 +0100)]
warnings: Add AC_SUBST.

2008-11-11  Paolo Bonzini  <bonzini@gnu.org>

* m4/warnings.m4 (gl_WARN_INIT): Substitute WARN_CFLAGS.
(gl_WARN_ADD): Substitute $2 if literal.

15 years agoRemove m4/warning.m4.
Paolo Bonzini [Tue, 11 Nov 2008 12:31:31 +0000 (13:31 +0100)]
Remove m4/warning.m4.

2008-11-11  Paolo Bonzini  <bonzini@gnu.org>

* m4/warning.m4: Remove.

15 years agowarnings: Support non-literal arguments, and let the user choose the variable
Paolo Bonzini [Tue, 11 Nov 2008 11:01:34 +0000 (12:01 +0100)]
warnings: Support non-literal arguments, and let the user choose the variable

2008-11-11  Paolo Bonzini  <bonzini@gnu.org>

* m4/warnings.m4: Almost complete rewrite. :-)

15 years agoAdd warnings module.
Simon Josefsson [Tue, 11 Nov 2008 09:29:18 +0000 (10:29 +0100)]
Add warnings module.

15 years agofdl.texi: make a symlink to the latest version
Eric Blake [Tue, 11 Nov 2008 02:20:23 +0000 (19:20 -0700)]
fdl.texi: make a symlink to the latest version

* doc/standards.texi: Revert today's earlier change.
* doc/fdl-1.2.texi: Rename from old fdl.texi...
* doc/fdl.texi: ...and replace this with a symlink to the newer
fdl-1.3.texi.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoDon't rely on the contents of stderr of shell commands.
Bruno Haible [Tue, 11 Nov 2008 01:28:25 +0000 (02:28 +0100)]
Don't rely on the contents of stderr of shell commands.

15 years agoUse substituted macros instead of C preprocessor macros.
Bruno Haible [Tue, 11 Nov 2008 00:23:24 +0000 (01:23 +0100)]
Use substituted macros instead of C preprocessor macros.

15 years agostandards.texi: include correct file for FDL 1.3
Eric Blake [Mon, 10 Nov 2008 17:58:36 +0000 (10:58 -0700)]
standards.texi: include correct file for FDL 1.3

* doc/standards.texi (GNU Free Documentation License): Change
include file to pull in FDL 1.3, not 1.2.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agofdl.texi: revert accidental change to license
Eric Blake [Mon, 10 Nov 2008 16:45:05 +0000 (09:45 -0700)]
fdl.texi: revert accidental change to license

* doc/fdl.texi: This is FDL 1.2, not 1.3.

Signed-off-by: Eric Blake <ebb9@byu.net>
15 years agoGuess that printf on Haiku survives out-of-memory conditions.
Bruno Haible [Mon, 10 Nov 2008 12:30:35 +0000 (13:30 +0100)]
Guess that printf on Haiku survives out-of-memory conditions.

15 years agoFix a serious gcc warning.
Bruno Haible [Mon, 10 Nov 2008 11:48:32 +0000 (12:48 +0100)]
Fix a serious gcc warning.

15 years agoAdd note about Haiku.
Bruno Haible [Mon, 10 Nov 2008 11:46:10 +0000 (12:46 +0100)]
Add note about Haiku.

15 years agoAdd support for Haiku.
Bruno Haible [Mon, 10 Nov 2008 11:37:32 +0000 (12:37 +0100)]
Add support for Haiku.

15 years agoTreat Haiku like BeOS.
Bruno Haible [Mon, 10 Nov 2008 11:36:28 +0000 (12:36 +0100)]
Treat Haiku like BeOS.

15 years agoTreat Haiku like BeOS.
Ingo Weinhold [Mon, 10 Nov 2008 11:30:58 +0000 (12:30 +0100)]
Treat Haiku like BeOS.

15 years agoupdate from texinfo
Karl Berry [Mon, 10 Nov 2008 00:52:33 +0000 (16:52 -0800)]
update from texinfo

15 years agoupdate from texinfo
Karl Berry [Sun, 9 Nov 2008 18:30:25 +0000 (10:30 -0800)]
update from texinfo

15 years agoautoupdate
Karl Berry [Sun, 9 Nov 2008 14:52:01 +0000 (06:52 -0800)]
autoupdate

15 years agoautoupdate
Karl Berry [Sat, 8 Nov 2008 14:47:14 +0000 (06:47 -0800)]
autoupdate

15 years agoAvoid using AC_CHECK_DECL inside AC_CACHE_CHECK.
Bruno Haible [Sat, 8 Nov 2008 14:05:16 +0000 (15:05 +0100)]
Avoid using AC_CHECK_DECL inside AC_CACHE_CHECK.

15 years agoEnsure tests/test-select.c includes <unistd.h> and <sys/wait.h> on Unix.
Bruno Haible [Sat, 8 Nov 2008 13:48:57 +0000 (14:48 +0100)]
Ensure tests/test-select.c includes <unistd.h> and <sys/wait.h> on Unix.

15 years agoMore tests for 'select' module.
Bruno Haible [Sat, 8 Nov 2008 13:32:20 +0000 (14:32 +0100)]
More tests for 'select' module.

15 years agofdl 1.3 tweaks
Karl Berry [Fri, 7 Nov 2008 16:55:35 +0000 (08:55 -0800)]
fdl 1.3 tweaks

15 years agoAvoid link errors in C++ programs.
Bruno Haible [Thu, 6 Nov 2008 08:19:37 +0000 (09:19 +0100)]
Avoid link errors in C++ programs.

15 years agobuild-aux/pmccabe2html: Added support for C++ source files.
Simon Josefsson [Thu, 6 Nov 2008 08:10:43 +0000 (09:10 +0100)]
build-aux/pmccabe2html: Added support for C++ source files.

15 years agoAdd lib/w32sock.h as dependency of close module.
Ben Pfaff [Wed, 5 Nov 2008 17:22:29 +0000 (09:22 -0800)]
Add lib/w32sock.h as dependency of close module.

15 years agoAccept Bison's NEWS format.
Paolo Bonzini [Wed, 5 Nov 2008 09:09:21 +0000 (10:09 +0100)]
Accept Bison's NEWS format.

* build-aux/announce-gen (print_news_deltas): Tweak $re_prefix.

15 years agoAdd reminder that random_r is maintained in glibc too.
Bruno Haible [Wed, 5 Nov 2008 00:10:21 +0000 (01:10 +0100)]
Add reminder that random_r is maintained in glibc too.

15 years agoFix comment.
Simon Josefsson [Tue, 4 Nov 2008 23:50:29 +0000 (00:50 +0100)]
Fix comment.

15 years agoFix last commit.
Simon Josefsson [Tue, 4 Nov 2008 23:46:50 +0000 (00:46 +0100)]
Fix last commit.

15 years agoChange license to GFDLv1.3+.
Simon Josefsson [Tue, 4 Nov 2008 23:43:19 +0000 (00:43 +0100)]
Change license to GFDLv1.3+.

15 years agoadd new standards subfile
Karl Berry [Tue, 4 Nov 2008 23:23:52 +0000 (15:23 -0800)]
add new standards subfile

15 years agoAdd modules/fdl-1.3, forgotten in last commit.
Simon Josefsson [Tue, 4 Nov 2008 08:13:59 +0000 (09:13 +0100)]
Add modules/fdl-1.3, forgotten in last commit.

15 years agoAdd GFDLv1.3.
Simon Josefsson [Tue, 4 Nov 2008 08:12:32 +0000 (09:12 +0100)]
Add GFDLv1.3.

15 years agoMake determination of absolute name of header file work with AIX xlc.
Bruno Haible [Tue, 4 Nov 2008 00:52:43 +0000 (01:52 +0100)]
Make determination of absolute name of header file work with AIX xlc.

15 years agomaint.mk: Use --coverage.
Simon Josefsson [Mon, 3 Nov 2008 11:20:18 +0000 (12:20 +0100)]
maint.mk: Use --coverage.

15 years agoMark 'strpbrk' obsolete.
Bruno Haible [Sun, 2 Nov 2008 17:06:04 +0000 (18:06 +0100)]
Mark 'strpbrk' obsolete.

15 years agoMark 'strdup' obsolete.
Bruno Haible [Sun, 2 Nov 2008 17:02:05 +0000 (18:02 +0100)]
Mark 'strdup' obsolete.

15 years agoMark 'strcspn' obsolete.
Bruno Haible [Sun, 2 Nov 2008 16:50:31 +0000 (17:50 +0100)]
Mark 'strcspn' obsolete.

15 years agoMark 'rmdir' obsolete.
Bruno Haible [Sun, 2 Nov 2008 16:47:18 +0000 (17:47 +0100)]
Mark 'rmdir' obsolete.

15 years agoMark 'raise' obsolete.
Bruno Haible [Sun, 2 Nov 2008 16:43:40 +0000 (17:43 +0100)]
Mark 'raise' obsolete.

15 years agoMark 'memset' obsolete.
Bruno Haible [Sun, 2 Nov 2008 16:36:56 +0000 (17:36 +0100)]
Mark 'memset' obsolete.

15 years agoMark 'memmove' obsolete.
Bruno Haible [Sun, 2 Nov 2008 16:35:43 +0000 (17:35 +0100)]
Mark 'memmove' obsolete.