gnulib.git
25 years ago. TEXTUTILS-1_22j
Jim Meyering [Mon, 19 Apr 1999 04:20:57 +0000 (04:20 +0000)]
.

25 years agoRequire jm_AC_PREREQ_XSTRTOUMAX.
Jim Meyering [Mon, 19 Apr 1999 02:54:48 +0000 (02:54 +0000)]
Require jm_AC_PREREQ_XSTRTOUMAX.

25 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 1999 02:53:36 +0000 (02:53 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Mon, 19 Apr 1999 02:42:58 +0000 (02:42 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Mon, 19 Apr 1999 00:20:36 +0000 (00:20 +0000)]
*** empty log message ***

25 years agoInclude xstrtol.h, not xstrtoul.h, since xstrtol.h now defines all the
Jim Meyering [Sun, 18 Apr 1999 23:18:32 +0000 (23:18 +0000)]
Include xstrtol.h, not xstrtoul.h, since xstrtol.h now defines all the
xstrto... functions.

25 years ago<stdlib.h>: Include if HAVE_STDLIB_H, since bison 1.27 invokes "free".
Jim Meyering [Sun, 18 Apr 1999 23:17:30 +0000 (23:17 +0000)]
<stdlib.h>: Include if HAVE_STDLIB_H, since bison 1.27 invokes "free".
(LookupWord, yylex): Don't pass negative char to ctype macros.

25 years ago(xalloc_fail): Pass xalloc_msg_memory_exhausted through gettext.
Jim Meyering [Sun, 18 Apr 1999 23:17:05 +0000 (23:17 +0000)]
(xalloc_fail): Pass xalloc_msg_memory_exhausted through gettext.

25 years ago(libfu_a_SOURCES): Add xstrtoumax.c.
Jim Meyering [Sun, 18 Apr 1999 23:16:49 +0000 (23:16 +0000)]
(libfu_a_SOURCES): Add xstrtoumax.c.
(noinst_HEADERS): Remove xstrtoul.h.

25 years ago(__xstrtol, __strtol, __unsigned): Remove macro decls.
Jim Meyering [Sun, 18 Apr 1999 23:16:23 +0000 (23:16 +0000)]
(__xstrtol, __strtol, __unsigned): Remove macro decls.
<inttypes.h>: Include if HAVE_INTTYPES_H.
(_DECLARE_XSTRTOL): New macro.
(xstrtol, xstrtoul, xstrtoumax): Declare all three functions, so that
we need only one include file, not three.
(_STRTOL_ERROR): Do not undef, as this is no longer needed.
Reword overflow message so that it's independent of type.

25 years ago(__strtol, __strtol_t, __xstrtol):
Jim Meyering [Sun, 18 Apr 1999 23:15:34 +0000 (23:15 +0000)]
(__strtol, __strtol_t, __xstrtol):
New macros to specify the
underlying function, its returned type, and our function.  Default to
values suitable for xstrtol.

Include <ctype.h>, since we use its macros.

(ULONG_MAX, LONG_MAX, ISBLANK): Remove: no longer needed.
(ISSPACE): New macro.

(bkm_scale, bkm_scale_by_power, __xstrtol, main): __unsigned long int
-> __strtol_t.

(__xstrtol): Depend on whether __strtol_t is an unsigned type, not on
whether STRING_TO_UNSIGNED is defined.  Skip isspace chars, not
isblank chars, to match strtol.  When returning
LONGINT_INVALID_SUFFIX_CHAR, store the value that we computed into
*val.

25 years ago(STRING_TO_UNSIGNED): Remove.
Jim Meyering [Sun, 18 Apr 1999 23:15:02 +0000 (23:15 +0000)]
(STRING_TO_UNSIGNED): Remove.
(__strtol, __strtol_t, __xstrtol): New macros.

25 years ago.
Jim Meyering [Thu, 15 Apr 1999 14:09:04 +0000 (14:09 +0000)]
.

25 years ago(readtoken, readtokens): Protoize. TEXTUTILS-1_22i
Jim Meyering [Sun, 11 Apr 1999 13:25:52 +0000 (13:25 +0000)]
(readtoken, readtokens): Protoize.

25 years ago(difftm): Protoize. FILEUTILS-4_0f
Jim Meyering [Wed, 7 Apr 1999 17:43:36 +0000 (17:43 +0000)]
(difftm): Protoize.

25 years ago.
Jim Meyering [Wed, 7 Apr 1999 17:41:57 +0000 (17:41 +0000)]
.

25 years agoUpdate from master source in libc, removing %f.
Jim Meyering [Tue, 6 Apr 1999 14:22:06 +0000 (14:22 +0000)]
Update from master source in libc, removing %f.

25 years ago*** empty log message ***
Jim Meyering [Tue, 6 Apr 1999 14:15:04 +0000 (14:15 +0000)]
*** empty log message ***

25 years agoRemove test for %f.
Jim Meyering [Tue, 6 Apr 1999 14:14:58 +0000 (14:14 +0000)]
Remove test for %f.

25 years agofix comments FILEUTILS-4_0e
Jim Meyering [Sun, 4 Apr 1999 14:30:30 +0000 (14:30 +0000)]
fix comments
add FIXME

25 years ago.
Jim Meyering [Wed, 31 Mar 1999 15:21:00 +0000 (15:21 +0000)]
.

25 years ago.
Jim Meyering [Tue, 30 Mar 1999 04:52:57 +0000 (04:52 +0000)]
.

25 years ago(make_node_op_equals): New function.
Jim Meyering [Tue, 30 Mar 1999 04:51:08 +0000 (04:51 +0000)]
(make_node_op_equals): New function.
(mode_append_entry): Likewise.
(mode_compile): When none of [ugoa] is specified in an `=OP' change
mode request, insert a `=0' entry into the linked list so that all
bits are cleared first.  Use the new functions.

25 years ago(rmdir): Use pid_t instead of int; check status
Jim Meyering [Tue, 30 Mar 1999 04:48:41 +0000 (04:48 +0000)]
(rmdir): Use pid_t instead of int; check status
against zero.  This is to improve portability.

25 years ago(rename): Use pid_t instead of int; check status
Jim Meyering [Tue, 30 Mar 1999 04:48:17 +0000 (04:48 +0000)]
(rename): Use pid_t instead of int; check status
against zero.  This is to improve portability.

25 years ago(mkdir): Use pid_t instead of int; check status
Jim Meyering [Tue, 30 Mar 1999 04:47:52 +0000 (04:47 +0000)]
(mkdir): Use pid_t instead of int; check status
against zero.  This is to improve portability.

25 years ago*** empty log message ***
Jim Meyering [Tue, 30 Mar 1999 04:36:00 +0000 (04:36 +0000)]
*** empty log message ***

25 years ago(jm_CHECK_ALL_TYPES): New macro.
Jim Meyering [Tue, 30 Mar 1999 04:29:19 +0000 (04:29 +0000)]
(jm_CHECK_ALL_TYPES): New macro.

25 years ago*** empty log message ***
Jim Meyering [Mon, 29 Mar 1999 04:39:56 +0000 (04:39 +0000)]
*** empty log message ***

25 years agoDefine GNU_PACKAGE here.
Jim Meyering [Mon, 29 Mar 1999 04:39:50 +0000 (04:39 +0000)]
Define GNU_PACKAGE here.
Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
replaced e.g., in the *.sh files of the sh-utils.

25 years ago(get_date): Reuse tm_isdst of first localtime
Jim Meyering [Sun, 28 Mar 1999 20:58:51 +0000 (20:58 +0000)]
(get_date): Reuse tm_isdst of first localtime
call; this is an improvement on a bug fix suggested by
martin@dresden.nacamar.de.  Do not assume that localtime and
gmtime return non-null.
From Paul Eggert.

25 years ago(mode_compile): Upon allocation failure, free
Jim Meyering [Sun, 28 Mar 1999 05:44:33 +0000 (05:44 +0000)]
(mode_compile): Upon allocation failure, free
everything starting with the head, not the tail.

25 years ago.
Jim Meyering [Sat, 27 Mar 1999 23:08:02 +0000 (23:08 +0000)]
.

25 years ago.
Jim Meyering [Fri, 26 Mar 1999 14:27:18 +0000 (14:27 +0000)]
.

25 years ago.
Jim Meyering [Fri, 26 Mar 1999 04:23:01 +0000 (04:23 +0000)]
.

25 years ago(libfu_a_SOURCES): Add version-etc.c.
Jim Meyering [Fri, 26 Mar 1999 04:20:23 +0000 (04:20 +0000)]
(libfu_a_SOURCES): Add version-etc.c.
(noinst_HEADERS): Add version-etc.h.

25 years ago(parse_long_options): Remove version-, copyright-,
Jim Meyering [Fri, 26 Mar 1999 04:19:07 +0000 (04:19 +0000)]
(parse_long_options): Remove version-, copyright-,
and author-printing code.  Do it via version_etc.

25 years ago*** empty log message ***
Jim Meyering [Fri, 26 Mar 1999 04:17:33 +0000 (04:17 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 20 Mar 1999 23:25:35 +0000 (23:25 +0000)]
.

25 years ago.
Jim Meyering [Sat, 20 Mar 1999 23:24:55 +0000 (23:24 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sat, 20 Mar 1999 23:24:23 +0000 (23:24 +0000)]
*** empty log message ***

25 years agos/jm_WITH_REGEX/jm_INCLUDED_REGEX/
Jim Meyering [Sat, 20 Mar 1999 23:24:15 +0000 (23:24 +0000)]
s/jm_WITH_REGEX/jm_INCLUDED_REGEX/

25 years ago*** empty log message ***
Jim Meyering [Sat, 20 Mar 1999 23:23:20 +0000 (23:23 +0000)]
*** empty log message ***

25 years ago(jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
Jim Meyering [Sat, 20 Mar 1999 23:23:14 +0000 (23:23 +0000)]
(jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.

25 years ago*** empty log message ***
Jim Meyering [Sat, 20 Mar 1999 04:02:37 +0000 (04:02 +0000)]
*** empty log message ***

25 years ago(jm_WINSIZE_IN_PTEM): New macro.
Jim Meyering [Sat, 20 Mar 1999 04:02:23 +0000 (04:02 +0000)]
(jm_WINSIZE_IN_PTEM): New macro.

25 years ago.
Jim Meyering [Wed, 17 Mar 1999 21:16:01 +0000 (21:16 +0000)]
.

25 years ago(is_prime): Return bool rather than int.
Jim Meyering [Wed, 17 Mar 1999 14:07:34 +0000 (14:07 +0000)]
(is_prime): Return bool rather than int.

25 years agotweak comments
Jim Meyering [Mon, 15 Mar 1999 16:52:22 +0000 (16:52 +0000)]
tweak comments
add curlies
use assert(0) in place of abort

25 years agoRevamp to allow fine-tuning to control when and by how
Jim Meyering [Mon, 15 Mar 1999 15:50:31 +0000 (15:50 +0000)]
Revamp to allow fine-tuning to control when and by how
much the table grows and shrinks.
(next_prime): Don't assert.
(hash_reset_tuning): New function.
(check_tuning): New function.
(hash_initialize): Accept and use new tuning parameter.
(hash_rehash): Rewrite, updating for tuning.
(hash_insert): Honor tuning semantics.
(hash_delete): Likewise.
From François Pinard.

25 years ago(struct hash_tuning): Define.
Jim Meyering [Mon, 15 Mar 1999 15:41:59 +0000 (15:41 +0000)]
(struct hash_tuning): Define.
(struct hash_table) [tuning]: Add member.
(hash_initialize): Add `tuning' parameter.

25 years ago(hash_insert): Update prototype.
Jim Meyering [Mon, 15 Mar 1999 15:33:21 +0000 (15:33 +0000)]
(hash_insert): Update prototype.

25 years ago(hash_insert): Remove last parameter and change semantics.
Jim Meyering [Mon, 15 Mar 1999 15:33:01 +0000 (15:33 +0000)]
(hash_insert): Remove last parameter and change semantics.

(hash_insert): Don't increment n_entries unconditionally --
otherwise, we'd do so even when the insertion failed.
From François Pinard.

25 years ago*** empty log message ***
Jim Meyering [Sat, 13 Mar 1999 16:19:18 +0000 (16:19 +0000)]
*** empty log message ***

25 years ago(base_name): If NAME is all slashes, return `/' (in
Jim Meyering [Sat, 13 Mar 1999 16:09:00 +0000 (16:09 +0000)]
(base_name): If NAME is all slashes, return `/' (in
conformance with the single unix spec).  Reported by Peter Moulder.

25 years ago*** empty log message ***
Jim Meyering [Fri, 12 Mar 1999 15:11:29 +0000 (15:11 +0000)]
*** empty log message ***

25 years agoUse AC_FUNC_SETVBUF_REVERSED.
Jim Meyering [Fri, 12 Mar 1999 15:11:06 +0000 (15:11 +0000)]
Use AC_FUNC_SETVBUF_REVERSED.

25 years ago(canon_host): Don't use he->h_addr directly.
Jim Meyering [Wed, 10 Mar 1999 15:39:02 +0000 (15:39 +0000)]
(canon_host): Don't use he->h_addr directly.
Based on a patch from Savochkin Andrey Vladimirovich.

25 years ago(getugroups): Take new parameter, gid.
Jim Meyering [Wed, 10 Mar 1999 15:35:47 +0000 (15:35 +0000)]
(getugroups): Take new parameter, gid.
Add gid to the list of groups.
From Ulrich Drepper.

25 years agofix typo in comment.
Jim Meyering [Tue, 9 Mar 1999 18:53:54 +0000 (18:53 +0000)]
fix typo in comment.

25 years agofix small thinko
Jim Meyering [Tue, 9 Mar 1999 16:10:30 +0000 (16:10 +0000)]
fix small thinko

25 years ago(getugroups): Take new parameter, gid.
Jim Meyering [Tue, 9 Mar 1999 16:07:49 +0000 (16:07 +0000)]
(getugroups): Take new parameter, gid.
Add gid to the list of groups.
From Ulrich Drepper.

25 years agoprotoize
Jim Meyering [Tue, 9 Mar 1999 16:07:16 +0000 (16:07 +0000)]
protoize

25 years ago(xalloc_fail): Use "%s" format so the message doesn't
Jim Meyering [Mon, 8 Mar 1999 02:43:14 +0000 (02:43 +0000)]
(xalloc_fail): Use "%s" format so the message doesn't
have to be scanned for % signs.  Suggestion from François Pinard.

25 years agorestore blank lines in --version output
Jim Meyering [Sun, 7 Mar 1999 17:48:10 +0000 (17:48 +0000)]
restore blank lines in --version output

25 years ago*** empty log message ***
Jim Meyering [Sun, 7 Mar 1999 16:59:29 +0000 (16:59 +0000)]
*** empty log message ***

25 years agoUse only those *_unlocked macros that are declared.
Jim Meyering [Sun, 7 Mar 1999 16:59:21 +0000 (16:59 +0000)]
Use only those *_unlocked macros that are declared.

25 years ago(parse_long_options): Include `Copyright...' line in --version output.
Jim Meyering [Sun, 7 Mar 1999 16:43:15 +0000 (16:43 +0000)]
(parse_long_options): Include `Copyright...' line in --version output.

25 years ago(parse_long_options): Add the `...NO warranty...' message.
Jim Meyering [Sun, 7 Mar 1999 15:53:20 +0000 (15:53 +0000)]
(parse_long_options): Add the `...NO warranty...' message.

25 years ago.
Jim Meyering [Sat, 6 Mar 1999 22:00:09 +0000 (22:00 +0000)]
.

25 years ago.
Jim Meyering [Sat, 6 Mar 1999 21:59:25 +0000 (21:59 +0000)]
.

25 years agoUpdate prototype.
Jim Meyering [Thu, 4 Mar 1999 05:08:21 +0000 (05:08 +0000)]
Update prototype.

25 years ago(_): Define it.
Jim Meyering [Thu, 4 Mar 1999 05:08:01 +0000 (05:08 +0000)]
(_): Define it.
(parse_long_options): Accept new parameter, authors, and print it.

25 years ago(read_utmp) [HAVE_UTMPNAME]: Rewrite.
Jim Meyering [Tue, 2 Mar 1999 13:53:33 +0000 (13:53 +0000)]
(read_utmp) [HAVE_UTMPNAME]: Rewrite.

25 years ago<alloca.h>: Include if HAVE_ALLOCA_H, not FORCE_ALLOCA_H.
Jim Meyering [Fri, 19 Feb 1999 07:31:48 +0000 (07:31 +0000)]
<alloca.h>: Include if HAVE_ALLOCA_H, not FORCE_ALLOCA_H.
The FORCE_ALLOCA_H was a relic of the bad old pre-autoconf Emacs days.

25 years ago*** empty log message ***
Jim Meyering [Wed, 17 Feb 1999 20:12:20 +0000 (20:12 +0000)]
*** empty log message ***

25 years ago(AM_GNU_GETTEXT): Do `changequote' around use of brackets
Jim Meyering [Wed, 17 Feb 1999 20:12:10 +0000 (20:12 +0000)]
(AM_GNU_GETTEXT): Do `changequote' around use of brackets
in macro definition.  From Eli Zaretskii and Alain Magloire.

25 years agotweak comment
Jim Meyering [Wed, 17 Feb 1999 14:58:41 +0000 (14:58 +0000)]
tweak comment

25 years agonew version from Uli
Jim Meyering [Tue, 16 Feb 1999 21:35:48 +0000 (21:35 +0000)]
new version from Uli

25 years ago.
Jim Meyering [Sun, 14 Feb 1999 16:49:44 +0000 (16:49 +0000)]
.

25 years agoDon't include stdio.h.
Jim Meyering [Mon, 8 Feb 1999 03:32:38 +0000 (03:32 +0000)]
Don't include stdio.h.

25 years agoInclude stdio.h.
Jim Meyering [Mon, 8 Feb 1999 03:32:06 +0000 (03:32 +0000)]
Include stdio.h.

25 years ago*** empty log message *** SH-UTILS-1_16f
Jim Meyering [Mon, 8 Feb 1999 00:00:44 +0000 (00:00 +0000)]
*** empty log message ***

25 years ago. TEXTUTILS-1_22h
Jim Meyering [Sun, 7 Feb 1999 16:35:30 +0000 (16:35 +0000)]
.

25 years agoNew file -- extracted from sh-utils' configure.in.
Jim Meyering [Sun, 7 Feb 1999 14:24:08 +0000 (14:24 +0000)]
New file -- extracted from sh-utils' configure.in.

25 years ago*** empty log message ***
Jim Meyering [Sun, 7 Feb 1999 13:49:07 +0000 (13:49 +0000)]
*** empty log message ***

25 years agoSupport DOS-style d:/foo/bar absolute file names.
Jim Meyering [Sun, 7 Feb 1999 13:41:27 +0000 (13:41 +0000)]
Support DOS-style d:/foo/bar absolute file names.
From Eli Zaretskii.

25 years agoUse AC_SUBST(LIBOBJS) since we set LIBOBJS.
Jim Meyering [Sun, 7 Feb 1999 05:37:39 +0000 (05:37 +0000)]
Use AC_SUBST(LIBOBJS) since we set LIBOBJS.

25 years ago*** empty log message ***
Jim Meyering [Sun, 7 Feb 1999 05:32:49 +0000 (05:32 +0000)]
*** empty log message ***

25 years agoUse .$ac_objext, not .o
Jim Meyering [Sun, 7 Feb 1999 05:27:24 +0000 (05:27 +0000)]
Use .$ac_objext, not .o

25 years ago.
Jim Meyering [Sun, 7 Feb 1999 05:24:19 +0000 (05:24 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 7 Feb 1999 05:24:15 +0000 (05:24 +0000)]
*** empty log message ***

25 years agoActually invoke jm_WITH_REGEX now that it requires an argument.
Jim Meyering [Sun, 7 Feb 1999 05:23:27 +0000 (05:23 +0000)]
Actually invoke jm_WITH_REGEX now that it requires an argument.

25 years agoAdd a run-time Test for proper operation of re_compile_pattern.
Jim Meyering [Sun, 7 Feb 1999 05:20:23 +0000 (05:20 +0000)]
Add a run-time Test for proper operation of re_compile_pattern.

25 years ago(ftypelet): Handle doors.
Jim Meyering [Wed, 3 Feb 1999 05:15:07 +0000 (05:15 +0000)]
(ftypelet): Handle doors.
(S_ISDOOR): Define if missing.

25 years ago(STRXCASECMP_FUNCTION): Don't increment within macro argument list.
Jim Meyering [Mon, 1 Feb 1999 13:50:12 +0000 (13:50 +0000)]
(STRXCASECMP_FUNCTION): Don't increment within macro argument list.
From Akim Demaille.

25 years ago.
Jim Meyering [Sun, 31 Jan 1999 17:13:53 +0000 (17:13 +0000)]
.

25 years agoInclude locale.h.
Jim Meyering [Sun, 31 Jan 1999 16:54:00 +0000 (16:54 +0000)]
Include locale.h.
[!HAVE_SETLOCALE]: Define-away setlocale.
(getloadavg): Ensure the sscanf of /proc/getloadavg data uses the
`C' numeric locale.  Restore afterwards.

25 years ago*** empty log message ***
Jim Meyering [Sun, 31 Jan 1999 16:23:10 +0000 (16:23 +0000)]
*** empty log message ***

25 years agoCheck for locale.h and the function, setlocale.
Jim Meyering [Sun, 31 Jan 1999 16:22:58 +0000 (16:22 +0000)]
Check for locale.h and the function, setlocale.