gnulib.git
21 years agoAvoid passive voice in comment.
Bruno Haible [Sat, 7 Jun 2003 16:18:09 +0000 (16:18 +0000)]
Avoid passive voice in comment.

21 years agoupdate from prep
Karl Berry [Sat, 7 Jun 2003 13:08:19 +0000 (13:08 +0000)]
update from prep

21 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:30:30 +0000 (10:30 +0000)]
*** empty log message ***

21 years agoPut `Free Software Foundation, Inc.'
Jim Meyering [Sat, 7 Jun 2003 10:30:19 +0000 (10:30 +0000)]
Put `Free Software Foundation, Inc.'
in place of my name in the copyright comment.
Remove definition and uses of __P.

21 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:19:24 +0000 (10:19 +0000)]
*** empty log message ***

21 years agoDon't declare xmalloc explicitly.
Jim Meyering [Sat, 7 Jun 2003 10:19:12 +0000 (10:19 +0000)]
Don't declare xmalloc explicitly.
Instead, include "xalloc.h".

21 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:16:37 +0000 (10:16 +0000)]
*** empty log message ***

21 years ago(readtokens): Remove anachronistic casts of xmalloc,
Jim Meyering [Sat, 7 Jun 2003 10:16:29 +0000 (10:16 +0000)]
(readtokens): Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values.

21 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:10:42 +0000 (10:10 +0000)]
*** empty log message ***

21 years agoRemove definition/uses of PARAMS.
Jim Meyering [Sat, 7 Jun 2003 10:10:31 +0000 (10:10 +0000)]
Remove definition/uses of PARAMS.

21 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 10:07:42 +0000 (10:07 +0000)]
*** empty log message ***

21 years agoFrom coreutils.
Jim Meyering [Sat, 7 Jun 2003 10:07:29 +0000 (10:07 +0000)]
From coreutils.
(xgetcwd): Include "xgetcwd.h".
Improve comment.

21 years ago.
Karl Berry [Sat, 7 Jun 2003 07:20:56 +0000 (07:20 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 7 Jun 2003 06:10:16 +0000 (06:10 +0000)]
*** empty log message ***

21 years agoUse $(...) notation, not @...@ for AC_REPLACE'd variables.
Jim Meyering [Sat, 7 Jun 2003 06:07:38 +0000 (06:07 +0000)]
Use $(...) notation, not @...@ for AC_REPLACE'd variables.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 21:13:39 +0000 (21:13 +0000)]
*** empty log message ***

21 years agoMerge from coreutils.
Jim Meyering [Fri, 6 Jun 2003 21:07:23 +0000 (21:07 +0000)]
Merge from coreutils.
(same_name): Declare *_basename locals to be `const'.
Consolidate declarations and initializations of *_base* locals.

21 years agoRename stdbool.h.in to stdbool_.h, for DOS and VMS's sake.
Bruno Haible [Fri, 6 Jun 2003 20:59:34 +0000 (20:59 +0000)]
Rename stdbool.h.in to stdbool_.h, for DOS and VMS's sake.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 20:50:44 +0000 (20:50 +0000)]
*** empty log message ***

21 years agoMerge from coreutils.
Jim Meyering [Fri, 6 Jun 2003 20:50:35 +0000 (20:50 +0000)]
Merge from coreutils.
This avoids a core dump on systems without GNU putenv,
when running `env -u SOME_ALREADY_UNSET_VARIABLE'.

(__set_errno, LOCK, UNLOCK): Define.
(unsetenv): New static function, from GNU libc.
(rpl_putenv): Use it.

21 years agoMoved here from stdbool.h.in.
Bruno Haible [Fri, 6 Jun 2003 20:49:29 +0000 (20:49 +0000)]
Moved here from stdbool.h.in.

21 years agoMove to stdbool_.h.
Bruno Haible [Fri, 6 Jun 2003 20:49:17 +0000 (20:49 +0000)]
Move to stdbool_.h.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 20:16:13 +0000 (20:16 +0000)]
*** empty log message ***

21 years agoRemove trailing blanks.
Jim Meyering [Fri, 6 Jun 2003 20:16:03 +0000 (20:16 +0000)]
Remove trailing blanks.

21 years ago*** empty log message ***
Jim Meyering [Fri, 6 Jun 2003 19:46:10 +0000 (19:46 +0000)]
*** empty log message ***

21 years agoMerge from coreutils.
Jim Meyering [Fri, 6 Jun 2003 19:45:59 +0000 (19:45 +0000)]
Merge from coreutils.
Remove declaration of statfs.
It conflicted with one from OSF/1 5.1 in <sys/mount.h>.

21 years ago.
Jim Meyering [Fri, 6 Jun 2003 19:20:05 +0000 (19:20 +0000)]
.

21 years agoInclude <stdbool.h> unconditionally.
Jim Meyering [Fri, 6 Jun 2003 19:19:57 +0000 (19:19 +0000)]
Include <stdbool.h> unconditionally.

21 years agomktime.c: Assume freestanding C89 or better.
Paul Eggert [Thu, 5 Jun 2003 20:56:42 +0000 (20:56 +0000)]
mktime.c: Assume freestanding C89 or better.

21 years agoAssume freestanding C89 or better.
Paul Eggert [Thu, 5 Jun 2003 20:07:59 +0000 (20:07 +0000)]
Assume freestanding C89 or better.
(HAVE_LIMITS_H): Remove.  Assume it's 1.
(__P): Remove; not used.
(INT_MIN, INT_MAX): Remove; <limits.h> defines them.
(mktime, not_equal_tm, print_tm, check_result,
main): Use prototypes.  Use const * where appropriate.
(main): Fix typo in testing code that uncovered by above changes.

21 years agomktime.c: Fix Debian bug 177940.
Paul Eggert [Thu, 5 Jun 2003 06:44:12 +0000 (06:44 +0000)]
mktime.c: Fix Debian bug 177940.

21 years agoFix Debian bug 177940
Paul Eggert [Thu, 5 Jun 2003 06:43:15 +0000 (06:43 +0000)]
Fix Debian bug 177940
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177940>.
(localtime_offset): Now long int, not time_t, because we want it
to be guaranteed to be signed.  All uses changed.
(__mktime_internal): If overflow would occur when adding offset,
don't add it.

21 years agoMerge human.c changes from coreutils.
Paul Eggert [Thu, 5 Jun 2003 04:35:13 +0000 (04:35 +0000)]
Merge human.c changes from coreutils.

21 years ago(new_exclude, add_exclude): Remove casts that are
Paul Eggert [Wed, 4 Jun 2003 23:35:46 +0000 (23:35 +0000)]
(new_exclude, add_exclude): Remove casts that are
unnecessary now that we assume C89 or better.  This change
imported from coreutils.

21 years ago* exclude.c: (new_exclude, add_exclude): Remove casts that are
Paul Eggert [Wed, 4 Jun 2003 23:35:22 +0000 (23:35 +0000)]
* exclude.c: (new_exclude, add_exclude): Remove casts that are
unnecessary now that we assume C89 or better.  This change
imported from coreutils.

21 years agoEnsure we use gnulib mktime rather than glibc's mktime, on hosts
Paul Eggert [Wed, 4 Jun 2003 20:09:47 +0000 (20:09 +0000)]
Ensure we use gnulib mktime rather than glibc's mktime, on hosts
where mktime isn't the inverse of localtime (negative time_t).

21 years ago.h files should stand alone, but we shouldn't include <sys/types.h>
Paul Eggert [Wed, 4 Jun 2003 19:22:29 +0000 (19:22 +0000)]
.h files should stand alone, but we shouldn't include <sys/types.h>
if we can get away with just <stddef.h>.

21 years agoupdate from prep
Karl Berry [Tue, 3 Jun 2003 12:55:44 +0000 (12:55 +0000)]
update from prep

21 years ago(version): new variable.
Karl Berry [Mon, 2 Jun 2003 15:26:20 +0000 (15:26 +0000)]
(version): new variable.
(--version): new option.
(usage): improve message.

21 years ago*** empty log message ***
Jim Meyering [Mon, 2 Jun 2003 08:23:24 +0000 (08:23 +0000)]
*** empty log message ***

21 years ago Fix some minor time-related bugs with POSIX time arguments.
Jim Meyering [Mon, 2 Jun 2003 08:22:29 +0000 (08:22 +0000)]
Fix some minor time-related bugs with POSIX time arguments.
Some valid time stamps were being rejected (notably -1, and
time stamps before 1900 on 64-bit hosts).  And some invalid
time stamps were being accepted, e.g. September 31.

* posixtm.h (posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.

21 years ago Fix some minor time-related bugs with POSIX time arguments.
Jim Meyering [Mon, 2 Jun 2003 08:20:57 +0000 (08:20 +0000)]
Fix some minor time-related bugs with POSIX time arguments.
Some valid time stamps were being rejected (notably -1, and
time stamps before 1900 on 64-bit hosts).  And some invalid
time stamps were being accepted, e.g. September 31.

* posixtm.h (posixtime): Return bool instead of time_t, so
that we can return (time_t) -1 successfully.
* posixtm.c: Likewise.
[HAVE_STDBOOL_H]: Include <stdbool.h>.
(bool, false, true) [!HAVE_STDBOOL_H]: New type.
(t): Remove static var.
(year, posix_time_parse): Now takes struct tm * arg to modify, instead
of static var.  All uses changed.
(year): Do not reject years before 1900; they can occur with
64-bit time_t.
(posix_time_parse): Do not check for out-of-range components;
that is now the caller's responsibility, since our checks were
only approximations.
(posixtime): Use mktime to check for out-of-range components,
since it knows them exactly.
If mktime returns (time_t) -1, check whether an error actually occurred
by invoking localtime on -1.
(main) [TEST_POSIXTIME]: Check for input data errors, and report
posixtime failures better.
Improve the test data (in comments only).

21 years ago.
Karl Berry [Sat, 31 May 2003 12:45:23 +0000 (12:45 +0000)]
.

21 years ago.
Karl Berry [Sat, 31 May 2003 07:13:34 +0000 (07:13 +0000)]
.

21 years agomktime update from libc
Karl Berry [Fri, 30 May 2003 15:06:41 +0000 (15:06 +0000)]
mktime update from libc

21 years agoconfig.rpath: get from gettext.
Karl Berry [Fri, 30 May 2003 14:58:40 +0000 (14:58 +0000)]
config.rpath: get from gettext.

21 years agoUpgrade to gettext-0.12.1.
Bruno Haible [Fri, 30 May 2003 13:29:10 +0000 (13:29 +0000)]
Upgrade to gettext-0.12.1.

21 years agoUpgrade to gettext-0.12.1.
Bruno Haible [Fri, 30 May 2003 13:23:40 +0000 (13:23 +0000)]
Upgrade to gettext-0.12.1.

21 years agoUpgrade to gettext-0.12.1.
Bruno Haible [Fri, 30 May 2003 13:19:52 +0000 (13:19 +0000)]
Upgrade to gettext-0.12.1.

21 years agoAdd gettext release stamp.
Bruno Haible [Fri, 30 May 2003 13:12:15 +0000 (13:12 +0000)]
Add gettext release stamp.

21 years agoin lib:
Paul Eggert [Thu, 29 May 2003 07:21:59 +0000 (07:21 +0000)]
in lib:

* addext.c, backupfile.c, fsusage.c, human.c, pathmax.h,
rpmatch.c, userspec.c, xreadlink.c, xstrtol.c: Include <limits.h>
without checking for HAVE_LIMITS_H.
* backupfile.c, fsusage.c, hash.c, human.c, safe-read.c, userspec.c,
xstrtol.c (CHAR_BIT) : Don't define, since <limits.h> is guaranteed
to do that.
* fatal.c: Include <stdarg.h> without checking for __STDC__.
* exclude.c: Include <stdbool.h> unconditionally.
* tempname.c: Include <stddef.h> unconditionally.
* hash.c: Include <limits.h>, since we no longer define CHAR_BIT.
* modechange.c, rpmatch.c (NULL): Don't define, since
<stddef.h> does that.
* quote.c: Dont include <stddef.h> or <sys/types.h>; not needed.
* safe-read.c (INT_MAX): Don't define, since <limits.h> does that.
* safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer needed.
* xstrtol.c: Likewise.
* safe-read.c: Remove TYPE_SIGNED; no longer needed.
* savedir.c: Include <stddef.h> instead of defining NULL.

in m4:

* backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
* fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
* human.m4 (gl_HUMAN): Likewise.
* pathmax.m4 (gl_PATHMAX): Likewise.
* rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
* userspec.m4 (gl_USERSPEC): Likewise.
* xreadlink.m4 (gl_XREADLINK): Likewise.
* m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
* quote.m4 (gl_QUOTE): Don't check for stddef.h.

21 years ago* addext.c (addext): Use assignment rather than cast, to avoid
Paul Eggert [Wed, 28 May 2003 23:31:20 +0000 (23:31 +0000)]
* addext.c (addext): Use assignment rather than cast, to avoid
warnings on some platforms.

21 years ago(addext): Use assignment rather than cast, to avoid warnings on some
Paul Eggert [Wed, 28 May 2003 23:31:00 +0000 (23:31 +0000)]
(addext): Use assignment rather than cast, to avoid warnings on some
platforms.

21 years ago* mktime.c (__mktime_internal): Do not reject negative timestamps
Paul Eggert [Wed, 28 May 2003 20:18:46 +0000 (20:18 +0000)]
* mktime.c (__mktime_internal): Do not reject negative timestamps
arbitrarily.

21 years ago(__mktime_internal): Do not reject negative timestamps arbitrarily.
Paul Eggert [Wed, 28 May 2003 20:18:22 +0000 (20:18 +0000)]
(__mktime_internal): Do not reject negative timestamps arbitrarily.

21 years ago*** empty log message ***
Jim Meyering [Mon, 26 May 2003 19:39:45 +0000 (19:39 +0000)]
*** empty log message ***

21 years ago(UTILS_FUNC_DIRFD): Test the cache variable, not one
Jim Meyering [Mon, 26 May 2003 19:38:42 +0000 (19:38 +0000)]
(UTILS_FUNC_DIRFD): Test the cache variable, not one
that is guaranteed to be `no'.  Use `no_such_member' to indicate
that condition, rather than `-1' which is slightly misleading.
Change the name of the cache variable to have the gl_ prefix.
Prompted by a patch from Richard Dawe for DJGPP.

21 years agoupdate from prep
Karl Berry [Sat, 24 May 2003 13:08:40 +0000 (13:08 +0000)]
update from prep

21 years agotrivial help message fix
Karl Berry [Thu, 22 May 2003 13:57:59 +0000 (13:57 +0000)]
trivial help message fix

21 years agoupdate from prep
Karl Berry [Tue, 20 May 2003 12:34:58 +0000 (12:34 +0000)]
update from prep

21 years agoTEXMF->TEXMFROOT
Karl Berry [Sun, 18 May 2003 15:28:33 +0000 (15:28 +0000)]
TEXMF->TEXMFROOT

21 years agoautomake 1.7.5 updates
Karl Berry [Sun, 18 May 2003 15:26:26 +0000 (15:26 +0000)]
automake 1.7.5 updates

21 years agoFix quoting bugs.
Bruno Haible [Sat, 17 May 2003 11:52:47 +0000 (11:52 +0000)]
Fix quoting bugs.

21 years agoAvoid a failure on strings longer than 4 KB.
Bruno Haible [Mon, 12 May 2003 09:49:42 +0000 (09:49 +0000)]
Avoid a failure on strings longer than 4 KB.

21 years ago.
Jim Meyering [Mon, 12 May 2003 08:20:35 +0000 (08:20 +0000)]
.

21 years ago(my_strftime): Let the `-' (no-pad) flag affect
Jim Meyering [Mon, 12 May 2003 08:20:29 +0000 (08:20 +0000)]
(my_strftime): Let the `-' (no-pad) flag affect
the space-padded-by-default conversion specifiers, %e, %k, %l.

21 years agoupdate from prep
Karl Berry [Sun, 11 May 2003 13:16:23 +0000 (13:16 +0000)]
update from prep

21 years ago.
Karl Berry [Sat, 10 May 2003 07:19:03 +0000 (07:19 +0000)]
.

21 years agoNeed m4/strerror_r.m4.
Bruno Haible [Fri, 9 May 2003 10:22:30 +0000 (10:22 +0000)]
Need m4/strerror_r.m4.

21 years agoUpgrade the width function to Unicode 4.0.
Bruno Haible [Mon, 5 May 2003 09:12:58 +0000 (09:12 +0000)]
Upgrade the width function to Unicode 4.0.

21 years agoupdate from texinfo
Karl Berry [Sun, 4 May 2003 15:50:20 +0000 (15:50 +0000)]
update from texinfo

21 years agoupdate from texinfo
Karl Berry [Mon, 28 Apr 2003 17:59:58 +0000 (17:59 +0000)]
update from texinfo

21 years agoupdate from texinfo
Karl Berry [Sun, 27 Apr 2003 22:51:39 +0000 (22:51 +0000)]
update from texinfo

21 years agoInclude <stddef.h>, for size_t.
Bruno Haible [Fri, 25 Apr 2003 10:47:15 +0000 (10:47 +0000)]
Include <stddef.h>, for size_t.

21 years ago.
Jim Meyering [Fri, 25 Apr 2003 07:47:11 +0000 (07:47 +0000)]
.

21 years ago(copy_file_preserving): Declare buf_size to be of type size_t, not int.
Jim Meyering [Fri, 25 Apr 2003 07:46:43 +0000 (07:46 +0000)]
(copy_file_preserving): Declare buf_size to be of type size_t, not int.

21 years agoupdate from texinfo
Karl Berry [Wed, 23 Apr 2003 13:05:38 +0000 (13:05 +0000)]
update from texinfo

21 years ago* error.m4 (gl_ERROR): Do not put under dynamic conditions some
Paul Eggert [Tue, 22 Apr 2003 03:28:42 +0000 (03:28 +0000)]
* error.m4 (gl_ERROR): Do not put under dynamic conditions some
code which expansion is under static control.

21 years ago(gl_ERROR): Do not put under dynamic conditions some
Paul Eggert [Tue, 22 Apr 2003 03:28:22 +0000 (03:28 +0000)]
(gl_ERROR): Do not put under dynamic conditions some
code which expansion is under static control.  Patch imported from
Akim Demaille's patch to Bison; see
<http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.

21 years agoupdate from libc
Karl Berry [Fri, 18 Apr 2003 12:04:31 +0000 (12:04 +0000)]
update from libc

21 years agoUse AC_FUNC_VPRINTF instead of bogus test for function 'doprnt' that no system
Bruno Haible [Mon, 14 Apr 2003 13:38:15 +0000 (13:38 +0000)]
Use AC_FUNC_VPRINTF instead of bogus test for function 'doprnt' that no system
has.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 15:01:00 +0000 (15:01 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 15:00:33 +0000 (15:00 +0000)]
*** empty log message ***

21 years ago(widen): Cast alloca return value to proper type.
Jim Meyering [Fri, 11 Apr 2003 15:00:23 +0000 (15:00 +0000)]
(widen): Cast alloca return value to proper type.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 14:59:39 +0000 (14:59 +0000)]
*** empty log message ***

21 years agoFrom GNU libc.
Jim Meyering [Fri, 11 Apr 2003 14:59:01 +0000 (14:59 +0000)]
From GNU libc.
(my_strftime): Handle very large width
specifications for numeric values correctly.  Improve checks for
overflow.

21 years ago(widen) [COMPILE_WIDE]: Merge nearly-identical definitions.
Jim Meyering [Fri, 11 Apr 2003 14:57:16 +0000 (14:57 +0000)]
(widen) [COMPILE_WIDE]: Merge nearly-identical definitions.
(nl_get_alt_digit) [! defined my_strftime]: Define.
(my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
_nl_get_alt_digit and _nl_get_walt_digit.

21 years ago(my_strftime): Merge in locale-related changes from libc.
Jim Meyering [Fri, 11 Apr 2003 14:36:24 +0000 (14:36 +0000)]
(my_strftime): Merge in locale-related changes from libc.
These changes have no effect outside of _LIBC.

21 years ago.
Karl Berry [Fri, 11 Apr 2003 07:16:29 +0000 (07:16 +0000)]
.

21 years agoNew module 'findprog'.
Bruno Haible [Thu, 10 Apr 2003 20:22:51 +0000 (20:22 +0000)]
New module 'findprog'.

21 years ago.
Karl Berry [Sat, 5 Apr 2003 08:16:43 +0000 (08:16 +0000)]
.

21 years agoRemove uses of `PARAMS'.
Jim Meyering [Sat, 5 Apr 2003 06:53:24 +0000 (06:53 +0000)]
Remove uses of `PARAMS'.

21 years ago(PARAMS): Remove definition and uses.
Jim Meyering [Sat, 5 Apr 2003 06:53:09 +0000 (06:53 +0000)]
(PARAMS): Remove definition and uses.

21 years ago.
Jim Meyering [Sat, 5 Apr 2003 06:49:57 +0000 (06:49 +0000)]
.

21 years ago[TEST_DIRNAME]: Update build instructions for test.
Jim Meyering [Sat, 5 Apr 2003 06:49:44 +0000 (06:49 +0000)]
[TEST_DIRNAME]: Update build instructions for test.
Add test-cases for DOS filenames. Declare program_name.
(main): Set up program_name.  From Rich Dawe.

21 years ago.
Jim Meyering [Sat, 5 Apr 2003 06:46:08 +0000 (06:46 +0000)]
.

21 years agoMerge change from Coreutils.
Jim Meyering [Sat, 5 Apr 2003 06:46:00 +0000 (06:46 +0000)]
Merge change from Coreutils.

(read_filesystem_list) [MOUNTED_VMOUNT]: Detect any
error from mntctl.
Use mntctl's return value to drive the entry-processing loop, since
we can't rely on the value of the vmt_length member in the last
entry.  On some systems doing so could result in exhausting
virtual memory.  Based in part on a patch from Mike Jetzer.

21 years agoNew module 'linebreak'.
Bruno Haible [Fri, 4 Apr 2003 15:02:12 +0000 (15:02 +0000)]
New module 'linebreak'.

21 years ago.
Karl Berry [Fri, 4 Apr 2003 08:17:02 +0000 (08:17 +0000)]
.

21 years agoNew modules: utf8-ucs4, utf16-ucs4, ucs4-utf8, ucs4-utf16.
Bruno Haible [Thu, 3 Apr 2003 18:35:07 +0000 (18:35 +0000)]
New modules: utf8-ucs4, utf16-ucs4, ucs4-utf8, ucs4-utf16.