gnulib.git
24 years ago*** empty log message *** SH-UTILS-1_16k
Jim Meyering [Sat, 22 May 1999 22:02:00 +0000 (22:02 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS): Add memchr.
Jim Meyering [Sat, 22 May 1999 22:00:42 +0000 (22:00 +0000)]
(AC_REPLACE_FUNCS): Add memchr.

24 years ago. TEXTUTILS-1_22m
Jim Meyering [Sat, 22 May 1999 04:24:10 +0000 (04:24 +0000)]
.

24 years agoremove trailing newline
Jim Meyering [Fri, 21 May 1999 20:47:18 +0000 (20:47 +0000)]
remove trailing newline

24 years ago.
Jim Meyering [Thu, 20 May 1999 20:12:17 +0000 (20:12 +0000)]
.

24 years ago[AC_SEARCH_LIBS]: Quote name in undefine.
Jim Meyering [Thu, 20 May 1999 20:12:12 +0000 (20:12 +0000)]
[AC_SEARCH_LIBS]: Quote name in undefine.
Add a colon after each `then' in case $4 is empty.

24 years agoadd the comment to go with last change
Jim Meyering [Thu, 20 May 1999 03:49:25 +0000 (03:49 +0000)]
add the comment to go with last change

24 years ago(get_date): Let mktime deduce tm_isdst if we
Jim Meyering [Thu, 20 May 1999 03:47:24 +0000 (03:47 +0000)]
(get_date): Let mktime deduce tm_isdst if we
have an absolute timestamp, or if the relative timestamp
mentions days, months, or years.

24 years ago(human_readable): Allow from_block_size to be zero.
Jim Meyering [Mon, 17 May 1999 13:03:46 +0000 (13:03 +0000)]
(human_readable): Allow from_block_size to be zero.

24 years ago. TEXTUTILS-1_22l
Jim Meyering [Sun, 16 May 1999 16:54:01 +0000 (16:54 +0000)]
.

24 years ago.
Jim Meyering [Sun, 16 May 1999 15:48:43 +0000 (15:48 +0000)]
.

24 years agoNew file to override autoconf's AC_SEARCH_LIBS.
Jim Meyering [Sun, 16 May 1999 15:48:11 +0000 (15:48 +0000)]
New file to override autoconf's AC_SEARCH_LIBS.

24 years ago.
Jim Meyering [Sat, 15 May 1999 05:46:45 +0000 (05:46 +0000)]
.

24 years ago(getugroups): Don't dereference a null pointer when
Jim Meyering [Sat, 15 May 1999 04:50:26 +0000 (04:50 +0000)]
(getugroups): Don't dereference a null pointer when
running `id USER' for some USER that is listed on the RHS in /etc/group.
From Sander van Malssen.
Add some curly braces, use STREQ, reverse the sense of a test
and use `continue' to save a level of nesting.

24 years ago(version_etc): Put version info and author names
Jim Meyering [Fri, 14 May 1999 17:11:03 +0000 (17:11 +0000)]
(version_etc): Put version info and author names
on the first two lines respectively rather than putting the three
lines of copyright info between them.

24 years agoInclude <string.h> or <strings.h> for strlen prototype.
Jim Meyering [Thu, 13 May 1999 20:48:44 +0000 (20:48 +0000)]
Include <string.h> or <strings.h> for strlen prototype.

24 years ago[__GLIBC__ >= 2]: #if-out prototypes.
Jim Meyering [Thu, 13 May 1999 20:44:45 +0000 (20:44 +0000)]
[__GLIBC__ >= 2]: #if-out prototypes.

25 years ago*** empty log message ***
Jim Meyering [Wed, 12 May 1999 02:10:38 +0000 (02:10 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Tue, 11 May 1999 16:30:03 +0000 (16:30 +0000)]
*** empty log message ***

25 years agoFix typos in config.h comments.
Jim Meyering [Tue, 11 May 1999 16:29:33 +0000 (16:29 +0000)]
Fix typos in config.h comments.

25 years agoReflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
Jim Meyering [Mon, 10 May 1999 05:18:30 +0000 (05:18 +0000)]
Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.

25 years agoRequire 2.14.1, since we use newly-renamed AC_FUNC_MKTIME.
Jim Meyering [Mon, 10 May 1999 05:17:38 +0000 (05:17 +0000)]
Require 2.14.1, since we use newly-renamed AC_FUNC_MKTIME.

25 years agoUpdate from libc.
Jim Meyering [Mon, 10 May 1999 04:24:49 +0000 (04:24 +0000)]
Update from libc.

25 years ago. TEXTUTILS-1_22k
Jim Meyering [Sun, 9 May 1999 15:04:17 +0000 (15:04 +0000)]
.

25 years ago.
Jim Meyering [Fri, 7 May 1999 18:52:35 +0000 (18:52 +0000)]
.

25 years ago(make_dir): When reporting a mkdir failure and the
Jim Meyering [Thu, 6 May 1999 02:10:34 +0000 (02:10 +0000)]
(make_dir): When reporting a mkdir failure and the
target cannot be `stat'ed, use the errno from the failed mkdir call,
not the one from the stat call.  Before this change, running
`mkdir -p /no-dir/no-dir' as an unprivileged user would wrongly
elicit `No such file or directory' instead of `Permission denied'.

25 years ago(read_utmp): Use the new definitions.
Jim Meyering [Wed, 5 May 1999 13:34:18 +0000 (13:34 +0000)]
(read_utmp): Use the new definitions.

25 years agoAdd definitions to help read utmpx on systems with utmpname.
Jim Meyering [Wed, 5 May 1999 13:34:02 +0000 (13:34 +0000)]
Add definitions to help read utmpx on systems with utmpname.
(UTMP_NAME_FUNCTION): Define.
(SET_UTMP_ENT): Likewise.
(GET_UTMP_ENT): Likewise.
(END_UTMP_ENT): Likewise.

25 years ago(TYPE_SIGNED, TYPE_MAXIMUM, TYPE_MINIMUM): Define.
Jim Meyering [Wed, 5 May 1999 13:21:29 +0000 (13:21 +0000)]
(TYPE_SIGNED, TYPE_MAXIMUM, TYPE_MINIMUM): Define.
(ULONG_LONG_MAX, LONG_LONG_MAX, LONG_LONG_MIN): Define if not defined.
Based on a patch from Kaveh Ghazi.

25 years agoInclude makepath.h libintl.h, not after it.
Jim Meyering [Wed, 5 May 1999 03:05:11 +0000 (03:05 +0000)]
Include makepath.h libintl.h, not after it.
Otherwise, we'd get the wrong definition of PARAMS from libintl.h.
(The method of defining PARAMS in libintl.h doesn't check PROTOTYPES,
which is necessary on Irix4 since cc doesn't define __STDC__.)
From Kaveh Ghazi.

25 years ago*** empty log message ***
Jim Meyering [Tue, 4 May 1999 21:13:54 +0000 (21:13 +0000)]
*** empty log message ***

25 years ago(AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
Jim Meyering [Tue, 4 May 1999 21:13:47 +0000 (21:13 +0000)]
(AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
not CPPFLAGS, so that linking works correctly in IRIX.

25 years ago. SH-UTILS-1_16h
Jim Meyering [Mon, 3 May 1999 02:46:54 +0000 (02:46 +0000)]
.

25 years ago(read_utmp): Ignore the return value from utmpname.
Jim Meyering [Mon, 3 May 1999 02:38:50 +0000 (02:38 +0000)]
(read_utmp): Ignore the return value from utmpname.

25 years ago*** empty log message ***
Jim Meyering [Sat, 1 May 1999 04:13:56 +0000 (04:13 +0000)]
*** empty log message ***

25 years ago(AC_REPLACE_FUNCS): Add dup2.
Jim Meyering [Sat, 1 May 1999 04:13:45 +0000 (04:13 +0000)]
(AC_REPLACE_FUNCS): Add dup2.

25 years ago(utime_null): Don't pass 0666 to open; it's not needed and isn't
Jim Meyering [Mon, 26 Apr 1999 13:25:08 +0000 (13:25 +0000)]
(utime_null): Don't pass 0666 to open; it's not needed and isn't
guaranteed to be portable.

25 years ago(S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.
Jim Meyering [Mon, 26 Apr 1999 13:22:23 +0000 (13:22 +0000)]
(S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.

25 years ago(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
Jim Meyering [Mon, 26 Apr 1999 13:19:37 +0000 (13:19 +0000)]
(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
modechange.h now includes sys/types.h.
Include xstrtol.h.
(isodigit, oatoi): Remove.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP,
S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRWXU, S_IRWXG,
S_IRWXO): Define if not defined.
(CHMOD_MODE_BITS): New macro.
(mode_compile): Convert from octal with xstrtoul, not our own routine.

25 years agoInclude <config.h>, <sys/types.h> for mode_t.
Jim Meyering [Mon, 26 Apr 1999 13:13:59 +0000 (13:13 +0000)]
Include <config.h>, <sys/types.h> for mode_t.
(struct mode_change): Members affected and value are now mode_t instead
of unsigned short.

25 years ago<config.h>, <sys/types.h>: Include for mode_t.
Jim Meyering [Mon, 26 Apr 1999 13:13:36 +0000 (13:13 +0000)]
<config.h>, <sys/types.h>: Include for mode_t.
(mode_string): Now takes mode_t.

25 years ago(make_path): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 13:13:00 +0000 (13:13 +0000)]
(make_path): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRWXU): Define if not defined.

25 years ago(setst, ftypelet, mode_string): Use proper mode_t types and macros.
Jim Meyering [Mon, 26 Apr 1999 13:10:11 +0000 (13:10 +0000)]
(setst, ftypelet, mode_string): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
(S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): Define if not defined.
<config.h>, <sys/types.h>: Include for mode_t.
(mode_string): Now takes mode_t.

25 years ago<inttypes.h>: Include it here instead.
Jim Meyering [Sun, 25 Apr 1999 19:20:18 +0000 (19:20 +0000)]
<inttypes.h>: Include it here instead.
<config.h>: Include it here too.

25 years agoDon't include inttypes.h here.
Jim Meyering [Sun, 25 Apr 1999 19:18:55 +0000 (19:18 +0000)]
Don't include inttypes.h here.

25 years ago. FILEUTILS-4_0g
Jim Meyering [Sat, 24 Apr 1999 12:57:43 +0000 (12:57 +0000)]
.

25 years agoGuard strong_alias and weak_alias with #ifdef _LIBC.
Jim Meyering [Thu, 22 Apr 1999 14:35:59 +0000 (14:35 +0000)]
Guard strong_alias and weak_alias with #ifdef _LIBC.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 23:17:13 +0000 (23:17 +0000)]
.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 04:30:22 +0000 (04:30 +0000)]
.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 04:30:22 +0000 (04:30 +0000)]
.

25 years agoRemove the temporary strtoumax replacement;
Jim Meyering [Wed, 21 Apr 1999 04:28:36 +0000 (04:28 +0000)]
Remove the temporary strtoumax replacement;
we now have a true replacement in strtoumax.c.
(__strtol): Always define to strtoumax.
(<stdlib.h>): No need to include.
(PARAMS): Remove.
(my_strtoumax): Move this to strtoumax.c,
rename it to strtoumax, and simplify.

25 years agoUpdate to glibc 2.1.1 version.
Jim Meyering [Wed, 21 Apr 1999 04:27:24 +0000 (04:27 +0000)]
Update to glibc 2.1.1 version.

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 04:24:39 +0000 (04:24 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:22:15 +0000 (04:22 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:21:50 +0000 (04:21 +0000)]
*** empty log message ***

25 years ago(jm_CHECK_ALL_TYPES): Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
Jim Meyering [Wed, 21 Apr 1999 04:21:44 +0000 (04:21 +0000)]
(jm_CHECK_ALL_TYPES): Require jm_AC_TYPE_UNSIGNED_LONG_LONG.

25 years ago(AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
Jim Meyering [Wed, 21 Apr 1999 04:14:59 +0000 (04:14 +0000)]
(AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:04:20 +0000 (04:04 +0000)]
*** empty log message ***

25 years ago(jm_AC_TYPE_UINTMAX_T): Move unsigned long
Jim Meyering [Wed, 21 Apr 1999 04:04:04 +0000 (04:04 +0000)]
(jm_AC_TYPE_UINTMAX_T): Move unsigned long
long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.

25 years agoRequire jm_AC_TYPE_UNSIGNED_LONG_LONG.
Jim Meyering [Wed, 21 Apr 1999 04:00:38 +0000 (04:00 +0000)]
Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
Replace xstroull if necessary.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 03:58:57 +0000 (03:58 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Wed, 21 Apr 1999 02:29:50 +0000 (02:29 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 02:21:57 +0000 (02:21 +0000)]
*** empty log message ***

25 years agoPort to AIX and HP-UX. Support cross-compilation.
Jim Meyering [Wed, 21 Apr 1999 02:21:47 +0000 (02:21 +0000)]
Port to AIX and HP-UX.  Support cross-compilation.

25 years ago(my_strtoumax): Fix typo in computing
Jim Meyering [Tue, 20 Apr 1999 13:24:14 +0000 (13:24 +0000)]
(my_strtoumax): Fix typo in computing
whether overflow occurred.  Improve overflow-detection to use
only one conditional branch total, rather than 2N+1
conditional branches for an N-digit number.

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)]
.