gnulib.git
16 years agoPort the extended stdio functions to emx+gcc.
Bruno Haible [Thu, 10 Apr 2008 10:58:26 +0000 (12:58 +0200)]
Port the extended stdio functions to emx+gcc.

16 years agoPort the extended stdio functions to emx+gcc.
Bruno Haible [Wed, 9 Apr 2008 22:56:00 +0000 (00:56 +0200)]
Port the extended stdio functions to emx+gcc.

16 years agoupdate from texinfo
Karl Berry [Wed, 9 Apr 2008 17:31:35 +0000 (10:31 -0700)]
update from texinfo

16 years agoAvoid some more autoconf warnings.
Eric Blake [Wed, 9 Apr 2008 14:24:35 +0000 (08:24 -0600)]
Avoid some more autoconf warnings.

* m4/acl.m4 (gl_FUNC_ACL): s/AC_HELP_STRING/AS_HELP_STRING/.
* m4/afs.m4 (gl_AFS): Likewise.
* m4/gc-random.m4 (gl_GC_RANDOM): Likewise.
* m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): s/AC_FOREACH/m4_foreach_w/.
* m4/stdint.m4 (gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED)
(gl_INTEGER_TYPE_SUFFIX): Likewise.
* m4/onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE)
(AC_CHECK_DECLS_ONCE): Likewise.
Rename file...
* m4/onceonly.m4: ...to this, and delete 2.54 variant, now that
gnulib-tool requires autoconf 2.59 or better.
* gnulib-tool (func_get_filelist): s/\(onceonly\)_2_57.m4/\1.m4/.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAvoid some autoconf warnings.
Eric Blake [Wed, 9 Apr 2008 12:42:08 +0000 (06:42 -0600)]
Avoid some autoconf warnings.

* m4/regex.m4 (gl_REGEX): s/AC_HELP_STRING/AS_HELP_STRING/.
* m4/include_next.m4 (gl_INCLUDE_NEXT): s/AC_FOREACH/m4_foreach_w/.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUse 'git describe --match' if present (added in git 1.5.5).
Eric Blake [Tue, 8 Apr 2008 13:38:18 +0000 (07:38 -0600)]
Use 'git describe --match' if present (added in git 1.5.5).

* build-aux/git-version-gen: Limit result to tags that match 'v*'
if possible.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAdd tentative support for OpenServer.
Bruno Haible [Tue, 8 Apr 2008 11:11:19 +0000 (13:11 +0200)]
Add tentative support for OpenServer.

16 years agognulib-tool (func_add_or_update): s/backuped/backed up/ in diagnostic
Jim Meyering [Fri, 4 Apr 2008 06:43:58 +0000 (08:43 +0200)]
gnulib-tool (func_add_or_update): s/backuped/backed up/ in diagnostic

16 years agoAvoid possible error with non-ASCII bytes in UTF-8 locales.
Bruno Haible [Sun, 6 Apr 2008 09:31:10 +0000 (11:31 +0200)]
Avoid possible error with non-ASCII bytes in UTF-8 locales.

16 years agoFix quoting in double-slash-root.m4.
Ralf Wildenhues [Sat, 5 Apr 2008 22:34:50 +0000 (00:34 +0200)]
Fix quoting in double-slash-root.m4.

* m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT): Fix quoting,
hide error from 'ls', needed on OS/2.
Report by Elbert Pol <elbert.pol@gmail.com>.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoMake test-fseeko.c failures meaningful.
Eric Blake [Fri, 4 Apr 2008 12:58:46 +0000 (06:58 -0600)]
Make test-fseeko.c failures meaningful.

* tests/test-fseeko.c: Print line number on failure.
* tests/test-fseek.c: Likewise.
Reported by Nelson H. F. Beebe.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoImprove strtod bug detection check.
Eric Blake [Fri, 4 Apr 2008 04:37:49 +0000 (22:37 -0600)]
Improve strtod bug detection check.

* m4/strtod.m4 (gl_FUNC_STRTOD): Also check for hex-float parsing,
required for Solaris 10.
Reported by Bob Friesenhahn and Nelson H. F. Beebe.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agorelocatable-prog-wrapper needs the gl_ENVIRON macro.
Bruno Haible [Fri, 4 Apr 2008 02:23:39 +0000 (04:23 +0200)]
relocatable-prog-wrapper needs the gl_ENVIRON macro.

16 years agoEnsure sane .version contents.
Eric Blake [Thu, 3 Apr 2008 22:31:30 +0000 (16:31 -0600)]
Ensure sane .version contents.

* top/GNUmakefile (_dummy): Also delete .version when rebuilding
version string.
* build-aux/git-version-gen: Improve documentation.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMake GNU make output nicer.
Eric Blake [Thu, 3 Apr 2008 20:03:49 +0000 (14:03 -0600)]
Make GNU make output nicer.

* top/GNUmakefile [!_have-Makefile]: Add dependency on
MAKECMDGOALS to enforce message for all command line targets.  Set
srcdir for use in maint.mk.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAnother maintainer tweak.
Eric Blake [Thu, 3 Apr 2008 16:55:10 +0000 (10:55 -0600)]
Another maintainer tweak.

* top/GNUmakefile (_is-dist-target): Allow maintainer-distcheck as
a target that regenerates version.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agovc-list-files: don't cause coreutils "make po-check" failure
Jim Meyering [Thu, 3 Apr 2008 16:23:40 +0000 (18:23 +0200)]
vc-list-files: don't cause coreutils "make po-check" failure

* build-aux/vc-list-files: Skip postprocessing when $2 is '.'

16 years agoAllow VPATH usage of vc-list-files.
Eric Blake [Thu, 3 Apr 2008 14:45:00 +0000 (08:45 -0600)]
Allow VPATH usage of vc-list-files.

* build-aux/vc-list-files (scriptversion): Add timestamp.
(options): Add --help, --version, -C.
(CVS): Support installed cvsu.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix mode change
Eric Blake [Thu, 3 Apr 2008 13:58:16 +0000 (07:58 -0600)]
Fix mode change

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoautoupdate
Karl Berry [Thu, 3 Apr 2008 13:19:48 +0000 (06:19 -0700)]
autoupdate

16 years agoupdate from texinfo
Karl Berry [Thu, 3 Apr 2008 13:18:57 +0000 (06:18 -0700)]
update from texinfo

16 years agoAvoid some "statement with no effect" warnings from gcc.
Bruno Haible [Wed, 2 Apr 2008 22:37:05 +0000 (00:37 +0200)]
Avoid some "statement with no effect" warnings from gcc.

16 years agoAvoid some warnings from "gcc -Wshadow".
Jim Meyering [Wed, 2 Apr 2008 22:15:24 +0000 (00:15 +0200)]
Avoid some warnings from "gcc -Wshadow".

16 years agobootstrap: remove dangling *.[ch] symlinks from lib
Jim Meyering [Wed, 2 Apr 2008 06:32:17 +0000 (08:32 +0200)]
bootstrap: remove dangling *.[ch] symlinks from lib

* build-aux/bootstrap [dangling symlink removal]: Move find's
-depth option to precede all others, to avoid a warning.
Remove *.[ch] files too, and from "$source_base" (usually lib/).

16 years agoAvoid some warnings from "gcc -Wshadow".
Bruno Haible [Wed, 2 Apr 2008 22:07:16 +0000 (00:07 +0200)]
Avoid some warnings from "gcc -Wshadow".

16 years agoRefine documentation of NAN problem.
Bruno Haible [Wed, 2 Apr 2008 01:30:52 +0000 (03:30 +0200)]
Refine documentation of NAN problem.

16 years agoFix test to work on IRIX 6.5 with cc.
Bruno Haible [Wed, 2 Apr 2008 01:29:50 +0000 (03:29 +0200)]
Fix test to work on IRIX 6.5 with cc.

16 years agoRefine documentation of NAN problem.
Bruno Haible [Wed, 2 Apr 2008 01:23:43 +0000 (03:23 +0200)]
Refine documentation of NAN problem.

16 years agoUse macros NaNf, NaNd, NaNl instead of NAN.
Bruno Haible [Wed, 2 Apr 2008 01:06:02 +0000 (03:06 +0200)]
Use macros NaNf, NaNd, NaNl instead of NAN.

16 years agoFix typos.
Eric Blake [Tue, 1 Apr 2008 13:50:28 +0000 (07:50 -0600)]
Fix typos.

* tests/test-strtod.c (main): s/FLT_/DBL_/ for minimum and epsilon
values to be the right type.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix typo.
Eric Blake [Tue, 1 Apr 2008 13:47:40 +0000 (07:47 -0600)]
Fix typo.

1 ulp of (double)1.0 is DBL_EPSILON, not FLT_EPSILON.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFor now, cater to gnulib strtod inaccuracies.
Eric Blake [Tue, 1 Apr 2008 12:34:34 +0000 (06:34 -0600)]
For now, cater to gnulib strtod inaccuracies.

* tests/test-strtod.c (main): Allow 1-ulp error on expected
fractional results.  While not as nice from a QoI perspective, it
is a quicker patch than correctly implementing decimal to binary
rounding.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoGuarantee a definition of NAN.
Eric Blake [Tue, 1 Apr 2008 02:56:25 +0000 (20:56 -0600)]
Guarantee a definition of NAN.

* lib/math.in.h (NAN): Define if missing.
* tests/test-math.c (main): Test it.
* doc/posix-headers/math.texi (math.h): Document this.
* lib/isnan.c (rpl_isnand): Use it.
* tests/test-ceilf1.c (NaN): Delete, and use NAN instead.
* tests/test-floorf1.c (NaN): Likewise.
* tests/test-frexp.c (NaN): Likewise.
* tests/test-isnand.c (NaN): Likewise.
* tests/test-isnanf.c (NaN): Likewise.
* tests/test-round1.c (NaN): Likewise.
* tests/test-roundf1.c (NaN): Likewise.
* tests/test-snprintf-posix.h (NaN): Likewise.
* tests/test-sprintf-posix.h (NaN): Likewise.
* tests/test-trunc1.c (NaN): Likewise.
* tests/test-truncf1.c (NaN): Likewise.
* tests/test-vasnprintf-posix.c (NaN): Likewise.
* tests/test-vasprintf-posix.c (NaN): Likewise.
* modules/isnand-nolibm (Depends-on): Add math.
* modules/isnanf-nolibm (Depends-on): Likewise.
* modules/isnanl (Depends-on): Likewise.
* modules/isnanl-nolibm (Depends-on): Likewise.
* modules/snprintf-posix-tests (Depends-on): Likewise.
* modules/sprintf-posix-tests (Depends-on): Likewise.
* modules/vsnprintf-posix-tests (Depends-on): Likewise.
* modules/vsprintf-posix-tests (Depends-on): Likewise.
* modules/vasnprintf-posix-tests (Depends-on): Likewise.
* modules/vasprintf-posix-tests (Depends-on): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUpdate test results on OSF/1.
Bruno Haible [Mon, 31 Mar 2008 23:37:42 +0000 (01:37 +0200)]
Update test results on OSF/1.

16 years agoConvert from C99 syntax to C89 syntax.
Bruno Haible [Mon, 31 Mar 2008 22:26:18 +0000 (00:26 +0200)]
Convert from C99 syntax to C89 syntax.

16 years agoAssume NaNs exist; don't test the NAN macro.
Bruno Haible [Mon, 31 Mar 2008 22:04:49 +0000 (00:04 +0200)]
Assume NaNs exist; don't test the NAN macro.

16 years agoDon't compare actual signbit return values.
Jim Meyering [Mon, 31 Mar 2008 17:22:06 +0000 (19:22 +0200)]
Don't compare actual signbit return values.

* tests/test-strtod.c (main): Rather, compare only their
zero/non-zero nature.

16 years agoupdate from texinfo
Karl Berry [Mon, 31 Mar 2008 18:03:28 +0000 (11:03 -0700)]
update from texinfo

16 years agoCorrect docs for Solaris strtod.
Eric Blake [Mon, 31 Mar 2008 14:30:11 +0000 (08:30 -0600)]
Correct docs for Solaris strtod.

* doc/posix-functions/strtod.texi (strtod): Solaris strtod parses
"nan" after all.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMore strtod documentation.
Eric Blake [Mon, 31 Mar 2008 12:22:49 +0000 (06:22 -0600)]
More strtod documentation.

* doc/posix-functions/strtod.texi (strtod): Interpret more test
failures as distinct bugs.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years ago* lib/wchar.in.h [defined __need_mbstate_t]: Just include <wchar.h>.
Paul Eggert [Mon, 31 Mar 2008 05:50:54 +0000 (00:50 -0500)]
* lib/wchar.in.h [defined __need_mbstate_t]: Just include <wchar.h>.

Problem reported by Erik Benada in
<http://lists.gnu.org/archive/html/bug-gnulib/2008-03/msg00249.html>.

16 years agoAdd info about many more platforms.
Bruno Haible [Sun, 30 Mar 2008 23:59:11 +0000 (01:59 +0200)]
Add info about many more platforms.

16 years agoTest signbit behavior on zeros.
Eric Blake [Sun, 30 Mar 2008 22:40:35 +0000 (16:40 -0600)]
Test signbit behavior on zeros.

* tests/test-signbit.c (test_signbitf): Add tests for zero.
(test_signbitd, test_signbitl): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix typo in last patch.
Eric Blake [Sun, 30 Mar 2008 22:39:41 +0000 (16:39 -0600)]
Fix typo in last patch.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMerge branch 'master' of ssh://karl@git.sv.gnu.org/srv/git/gnulib
Karl Berry [Sun, 30 Mar 2008 22:04:25 +0000 (15:04 -0700)]
Merge branch 'master' of ssh://karl@git.sv.gnu.org/srv/git/gnulib

16 years agoautoupdate
Karl Berry [Sun, 30 Mar 2008 22:03:19 +0000 (15:03 -0700)]
autoupdate

16 years agoMore strtod touchups.
Eric Blake [Sun, 30 Mar 2008 21:57:54 +0000 (15:57 -0600)]
More strtod touchups.

* tests/test-strtod.c (main): Ignore tests for signbit on NaN, and
sign of negative underflow, for now.  Use .5, not .1.
* doc/posix-functions/strtod.texi (strtod): Mention these
limitations.
Reported by Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoOptimize conversion from UTF-8 to UTF-8//TRANSLIT.
Bruno Haible [Sun, 30 Mar 2008 16:56:58 +0000 (18:56 +0200)]
Optimize conversion from UTF-8 to UTF-8//TRANSLIT.

16 years agoAvoid failure when attempting to return empty iconv results on some platforms.
Bruno Haible [Sun, 30 Mar 2008 16:48:14 +0000 (18:48 +0200)]
Avoid failure when attempting to return empty iconv results on some platforms.

16 years agoFix buffer overrun.
Bruno Haible [Sun, 30 Mar 2008 16:29:39 +0000 (18:29 +0200)]
Fix buffer overrun.

16 years agostrtod touchups.
Eric Blake [Sun, 30 Mar 2008 14:07:51 +0000 (08:07 -0600)]
strtod touchups.

* lib/strtod.c (strtod): Avoid compiler warnings.
Reported by Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUse the EOVERFLOW module instead of a manual fallback for EOVERFLOW.
Bruno Haible [Sun, 30 Mar 2008 13:58:28 +0000 (15:58 +0200)]
Use the EOVERFLOW module instead of a manual fallback for EOVERFLOW.

16 years agoUse module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C
Bruno Haible [Sun, 30 Mar 2008 13:18:13 +0000 (15:18 +0200)]
Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C
code.

16 years agoRemove EOVERFLOW override.
Bruno Haible [Sun, 30 Mar 2008 12:38:27 +0000 (14:38 +0200)]
Remove EOVERFLOW override.

16 years agoTests for module 'EOVERFLOW'.
Bruno Haible [Sun, 30 Mar 2008 12:36:00 +0000 (14:36 +0200)]
Tests for module 'EOVERFLOW'.

16 years agoNew module 'EOVERFLOW'.
Bruno Haible [Sun, 30 Mar 2008 12:34:48 +0000 (14:34 +0200)]
New module 'EOVERFLOW'.

16 years agoFix a bug in unistdio routines, introduced on 2007-06-10.
Bruno Haible [Sun, 30 Mar 2008 12:09:00 +0000 (14:09 +0200)]
Fix a bug in unistdio routines, introduced on 2007-06-10.

16 years agoImprove freadseek's efficiency after ungetc.
Bruno Haible [Sun, 30 Mar 2008 10:25:40 +0000 (12:25 +0200)]
Improve freadseek's efficiency after ungetc.

16 years agoUse freadptr's return value.
Bruno Haible [Sun, 30 Mar 2008 09:32:20 +0000 (11:32 +0200)]
Use freadptr's return value.

16 years agoFix ChangeLog entry.
Bruno Haible [Sun, 30 Mar 2008 09:22:43 +0000 (11:22 +0200)]
Fix ChangeLog entry.

16 years agoAdd hex float support.
Eric Blake [Sun, 30 Mar 2008 03:24:07 +0000 (21:24 -0600)]
Add hex float support.

* modules/strtod (Depends-on): Add c-ctype.
(Link): Mention POW_LIB.
* lib/strtod.c (strtod): Recognize hex floats.  Don't allow
whitespace between 'e' and exponent.
* tests/test-strtod.c (main): Enable hex float tests.
* doc/posix-functions/strtod.texi (strtod): Document what gnulib
now provides.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoDocument various strtod bugs, with some fixes.
Eric Blake [Sat, 29 Mar 2008 19:50:21 +0000 (13:50 -0600)]
Document various strtod bugs, with some fixes.

* doc/posix-functions/strtod.texi (strtod): Document bugs with
"-0x", "inf", "nan", and hex constants.
* doc/posix-functions/atof.texi (atof): Likewise.
* modules/stdlib (Makefile.am): Support strtod.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Likewise.
* m4/strtod.m4 (gl_FUNC_STRTOD): Fit in stdlib framework, and
detect additional strtod bugs.
* lib/stdlib.in.h (rpl_strtod): Add declarations.
* lib/strtod.c (strtod): Return -0.0 on negative underflow.  Use
bool where appropriate.  Parse 'inf' and 'nan'.
* tests/test-strtod.c: New file.
* modules/strtod (Depends-on): Add stdbool, stdlib.
(configure.ac): Turn on module indicator.
* modules/strtod-tests: New module.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix ftell on mingw.
Eric Blake [Sat, 29 Mar 2008 22:55:56 +0000 (16:55 -0600)]
Fix ftell on mingw.

* lib/ftell.c (EOVERFLOW): Define if the system lacks it.
* modules/ftell-tests (Depends-on): Add binary-io.
* modules/ftello-tests (Depends-on): Likewise.
* tests/test-ftell.c (main): Enhance test to cover behavior after
ungetc.  Enforce binary mode.
* tests/test-ftello.c (main): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoPass test-freadseek on cygwin.
Eric Blake [Sat, 29 Mar 2008 13:15:50 +0000 (07:15 -0600)]
Pass test-freadseek on cygwin.

* modules/freadseek (Depends-on): Use freadptr, not freadseek.
* lib/freadseek.c (freadseek): Don't increment beyond bounds of
ungetc buffer.
* tests/test-fflush2.c (main): Fix typo.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoDisable the fflush-after-ungetc tests, since gnulib currently does not
Bruno Haible [Sat, 29 Mar 2008 11:59:48 +0000 (12:59 +0100)]
Disable the fflush-after-ungetc tests, since gnulib currently does not
guarantee consistent results.

16 years agoSupport SHA-224 in gc.
Simon Josefsson [Fri, 28 Mar 2008 14:50:04 +0000 (15:50 +0100)]
Support SHA-224 in gc.

16 years agoautoupdate
Karl Berry [Wed, 26 Mar 2008 18:27:16 +0000 (11:27 -0700)]
autoupdate

16 years agognumakefile: remove file from $(top_builddir), not from $(top_srcdir)
Jim Meyering [Wed, 26 Mar 2008 00:03:01 +0000 (01:03 +0100)]
gnumakefile: remove file from $(top_builddir), not from $(top_srcdir)

* modules/gnumakefile (clean-GNUmakefile): Also, use
test ... && ... || : syntax rather than if-then ... fi.

Signed-off-by: Jim Meyering <meyering@redhat.com>
16 years agoTweak the "gettextize and autopoint" section.
Bruno Haible [Wed, 26 Mar 2008 02:03:22 +0000 (03:03 +0100)]
Tweak the "gettextize and autopoint" section.

16 years agognumakefile: Don't double-quote-expand $(VPATH) value.
Jim Meyering [Tue, 25 Mar 2008 23:06:08 +0000 (00:06 +0100)]
gnumakefile: Don't double-quote-expand $(VPATH) value.

* modules/gnumakefile (clean-GNUmakefile): Use single quotes.

16 years agoautoupdate
Karl Berry [Tue, 25 Mar 2008 13:52:49 +0000 (06:52 -0700)]
autoupdate

16 years agoAlter GNUmakefile to install into top directory.
Eric Blake [Sat, 22 Mar 2008 04:29:37 +0000 (22:29 -0600)]
Alter GNUmakefile to install into top directory.

* modules/maintainer-makefile: Split, and add dependency...
* modules/gnumakefile: to this new module.
* build-aux/GNUmakefile: Move...
* top/GNUmakefile: ...here.
* build-aux/maint.mk: Move...
* top/maint.mk: ...here.
* MODULES.html.sh (Support for maintaining...): Document new
module.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoNew options --vc-files, --no-vc-files.
Bruno Haible [Sun, 23 Mar 2008 23:29:22 +0000 (00:29 +0100)]
New options --vc-files, --no-vc-files.

16 years agoFix regex compilation error on HP-UX 11.
Bruno Haible [Sun, 23 Mar 2008 22:49:02 +0000 (23:49 +0100)]
Fix regex compilation error on HP-UX 11.

16 years agoDocument how to resolve the conflicts between gnulib and gettext.
Bruno Haible [Sun, 23 Mar 2008 19:13:23 +0000 (20:13 +0100)]
Document how to resolve the conflicts between gnulib and gettext.

16 years agoInstall files from top/ in the destination directory.
Bruno Haible [Sun, 23 Mar 2008 13:28:03 +0000 (14:28 +0100)]
Install files from top/ in the destination directory.

16 years agoTweak "gnulib --version" output.
Bruno Haible [Sun, 23 Mar 2008 11:28:46 +0000 (12:28 +0100)]
Tweak "gnulib --version" output.

16 years agoTweak "gnulib --version" output.
Bruno Haible [Sun, 23 Mar 2008 11:18:23 +0000 (12:18 +0100)]
Tweak "gnulib --version" output.

16 years agoMore --version tweaks.
Eric Blake [Fri, 21 Mar 2008 13:16:51 +0000 (07:16 -0600)]
More --version tweaks.

* gnulib-tool (func_version): Obey GNU Coding Standards.  Output
date of last ChangeLog entry.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years ago* build-aux/GNUmakefile (_have-git-version-gen): Split long line.
Jim Meyering [Thu, 20 Mar 2008 23:34:04 +0000 (00:34 +0100)]
* build-aux/GNUmakefile (_have-git-version-gen): Split long line.

16 years agoVPATH fix.
Eric Blake [Thu, 20 Mar 2008 15:24:13 +0000 (09:24 -0600)]
VPATH fix.

* build-aux/GNUmakefile (_have_git-version-gen): Look in correct dir.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMake git-version-gen optional. Add _build-aux variable.
Simon Josefsson [Thu, 20 Mar 2008 14:50:57 +0000 (15:50 +0100)]
Make git-version-gen optional.  Add _build-aux variable.

16 years agoSync GNUmakefile with coreutils.
Eric Blake [Thu, 20 Mar 2008 12:52:53 +0000 (06:52 -0600)]
Sync GNUmakefile with coreutils.

* build-aux/GNUmakefile (have-Makefile): Rename...
(_have-Makefile): ...to this, for namespace consideration.
(GNUmakefile.cfg): Include, if present.
(_autoreconf): Define a default.
(_is-dist-target): New rule for rebuilds to pick up intra-release
version.
(maint-cfg.mk): Rename...
(cfg.mk): ...to this.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoNew script and module: mktempd
Jim Meyering [Tue, 18 Mar 2008 15:19:27 +0000 (16:19 +0100)]
New script and module: mktempd

* MODULES.html.sh (maint+release support): Add mktempd.
* build-aux/mktempd: New file.
* modules/mktempd: New file.

16 years agoupdate from texinfo
Karl Berry [Mon, 17 Mar 2008 17:58:47 +0000 (10:58 -0700)]
update from texinfo

16 years agoautoupdate
Karl Berry [Sun, 16 Mar 2008 17:28:00 +0000 (10:28 -0700)]
autoupdate

16 years agoUndo last change.
Jim Meyering [Sat, 15 Mar 2008 15:06:44 +0000 (16:06 +0100)]
Undo last change.

* lib/sha1.c, lib/md5.c: 63 != ~63.
Reported by Andreas Schwab.

16 years agosha1.c, md5.c: Hoist a redundant expression.
Jim Meyering [Sat, 15 Mar 2008 14:24:39 +0000 (15:24 +0100)]
sha1.c, md5.c: Hoist a redundant expression.

* lib/sha1.c (sha1_process_bytes): AND-off the low bits in
"ctx->buflen" only once, before calling *_process_block.
* lib/md5.c (md5_process_bytes): Likewise.

16 years agoBump copyright year in files generated by gnulib-tool.
Eric Blake [Fri, 14 Mar 2008 14:46:18 +0000 (08:46 -0600)]
Bump copyright year in files generated by gnulib-tool.

* gnulib-tool (func_emit_copyright_notice): Extract copyright from
gnulib-tool, rather than hard-coding it.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix 'gnulib-tool --version' output to work with git.
Eric Blake [Fri, 14 Mar 2008 14:24:29 +0000 (08:24 -0600)]
Fix 'gnulib-tool --version' output to work with git.

* gnulib-tool (func_gnulib_dir): New function, extracted from...
(startup): ...here.
(func_version): Use it to invoke git-version-gen, rather than
relying on CVS keyword expansion.  Modernize wording.
(cvsdatestamp, last_checkin_date, version): Kill unused
variables.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoautoupdate
Karl Berry [Thu, 13 Mar 2008 13:50:28 +0000 (06:50 -0700)]
autoupdate

16 years agoMerge branch 'master' of ssh://karl@git.sv.gnu.org/srv/git/gnulib
Karl Berry [Wed, 12 Mar 2008 22:38:55 +0000 (15:38 -0700)]
Merge branch 'master' of ssh://karl@git.sv.gnu.org/srv/git/gnulib

16 years agoautoupdate
Karl Berry [Wed, 12 Mar 2008 18:57:08 +0000 (11:57 -0700)]
autoupdate

16 years agoRecognize optional cast of the argument to free.
Jim Meyering [Wed, 12 Mar 2008 13:07:11 +0000 (14:07 +0100)]
Recognize optional cast of the argument to free.

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

16 years ago* build-aux/bootstrap (gnulib_tool): Remove trailing blanks.
Jim Meyering [Wed, 12 Mar 2008 10:09:47 +0000 (11:09 +0100)]
* build-aux/bootstrap (gnulib_tool): Remove trailing blanks.

16 years agoExtend AC_LIB_LINKFLAGS to the situation of several libraries provided by a single...
Bruno Haible [Wed, 12 Mar 2008 04:50:20 +0000 (05:50 +0100)]
Extend AC_LIB_LINKFLAGS to the situation of several libraries provided by a single package.

16 years ago* build-aux/bootstrap (version_controlled_file): Adapt for SVN
Sergey Poznyakoff [Wed, 12 Mar 2008 03:46:23 +0000 (05:46 +0200)]
* build-aux/bootstrap (version_controlled_file): Adapt for SVN
repositories.

16 years agoAvoid conflicts between local macro definitions.
Bruno Haible [Wed, 12 Mar 2008 01:57:35 +0000 (02:57 +0100)]
Avoid conflicts between local macro definitions.

16 years agoCorrect the va_copy definition for AIX 5.
Bruno Haible [Tue, 11 Mar 2008 04:38:53 +0000 (05:38 +0100)]
Correct the va_copy definition for AIX 5.

16 years agoCorrect the va_copy definition for AIX 5.
Bruno Haible [Tue, 11 Mar 2008 04:36:15 +0000 (05:36 +0100)]
Correct the va_copy definition for AIX 5.