platform/upstream/coreutils.git
25 years agoimport latest
Jim Meyering [Tue, 30 Mar 1999 15:11:20 +0000 (15:11 +0000)]
import latest

25 years ago.
Jim Meyering [Tue, 30 Mar 1999 05:40:40 +0000 (05:40 +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*** empty log message ***
Jim Meyering [Tue, 30 Mar 1999 04:48:57 +0000 (04:48 +0000)]
*** empty log message ***

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(strip): Use standard "cannot fork" message.
Jim Meyering [Tue, 30 Mar 1999 04:43:53 +0000 (04:43 +0000)]
(strip): Use standard "cannot fork" message.
Check for strip nonzero exit status.

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*** empty log message ***
Jim Meyering [Tue, 30 Mar 1999 04:34:46 +0000 (04:34 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Tue, 30 Mar 1999 04:33:22 +0000 (04:33 +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 agoPROGRAM_NAME: rename from COMMAND_NAME
Jim Meyering [Mon, 29 Mar 1999 02:56:52 +0000 (02:56 +0000)]
PROGRAM_NAME: rename from COMMAND_NAME

25 years ago*** empty log message ***
Jim Meyering [Sun, 28 Mar 1999 21:01:09 +0000 (21:01 +0000)]
*** empty log message ***

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*** empty log message ***
Jim Meyering [Sun, 28 Mar 1999 19:06:17 +0000 (19:06 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 28 Mar 1999 14:59:09 +0000 (14:59 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 28 Mar 1999 14:40:37 +0000 (14:40 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 28 Mar 1999 14:40:21 +0000 (14:40 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 28 Mar 1999 14:39:34 +0000 (14:39 +0000)]
*** empty log message ***

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:07:53 +0000 (23:07 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sat, 27 Mar 1999 14:33:30 +0000 (14:33 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 27 Mar 1999 14:32:36 +0000 (14:32 +0000)]
*** empty log message ***

25 years ago(strip): Use pid_t, not int.
Jim Meyering [Sat, 27 Mar 1999 14:32:06 +0000 (14:32 +0000)]
(strip): Use pid_t, not int.

25 years ago(print_user): Use uid_t instead of int.
Jim Meyering [Sat, 27 Mar 1999 14:29:51 +0000 (14:29 +0000)]
(print_user): Use uid_t instead of int.
(print_group): Use gid_t instead of int.

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

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

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 14:26:18 +0000 (14:26 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 14:25:30 +0000 (14:25 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 14:23:59 +0000 (14:23 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 14:22:51 +0000 (14:22 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 14:19:02 +0000 (14:19 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 14:18:29 +0000 (14:18 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years agoreorder includes
Jim Meyering [Fri, 26 Mar 1999 14:12:32 +0000 (14:12 +0000)]
reorder includes

25 years ago(PROGRAM_NAME, AUTHORS): Define and use.
Jim Meyering [Fri, 26 Mar 1999 14:07:12 +0000 (14:07 +0000)]
(PROGRAM_NAME, AUTHORS): Define and use.

25 years ago(PROGRAM_NAME, AUTHORS): Define
Jim Meyering [Fri, 26 Mar 1999 14:05:40 +0000 (14:05 +0000)]
(PROGRAM_NAME, AUTHORS): Define
(long_options): Remove unused struct.
(scanargs): Remove useless loop.
(main): Use PROGRAM_NAME and AUTHORS in call to parse_long_options.

25 years agodefine and use AUTHORS
Jim Meyering [Fri, 26 Mar 1999 05:17:17 +0000 (05:17 +0000)]
define and use AUTHORS

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 04:23:55 +0000 (04:23 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

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(GETOPT_HELP_CHAR): Define.
Jim Meyering [Fri, 26 Mar 1999 04:12:41 +0000 (04:12 +0000)]
(GETOPT_HELP_CHAR): Define.
(GETOPT_VERSION_CHAR): Define.
(GETOPT_HELP_OPTION_DECL): Define.
(GETOPT_VERSION_OPTION_DECL): Define.
(case_GETOPT_HELP_CHAR): Define.
(case_GETOPT_VERSION_CHAR): Define.

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 04:11:15 +0000 (04:11 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years agoNo longer include long-options.h.
Jim Meyering [Fri, 26 Mar 1999 04:10:55 +0000 (04:10 +0000)]
No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.

25 years ago(recheck): Factor out a block of duplicated code.
Jim Meyering [Thu, 25 Mar 1999 14:29:13 +0000 (14:29 +0000)]
(recheck): Factor out a block of duplicated code.
Set f->size to 0 upon encountering a new file so we read it from
the beginning rather than from then end of the first line or
block.  Otherwise, after a log rotation, tail would omit the first
line or block of the new file.  Reported by Ed Avis.

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

25 years ago*** empty log message ***
Jim Meyering [Wed, 24 Mar 1999 13:48:48 +0000 (13:48 +0000)]
*** empty log message ***

25 years agoimport 1.010
Jim Meyering [Wed, 24 Mar 1999 13:48:22 +0000 (13:48 +0000)]
import 1.010

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

25 years agotweak usage message -- from Karl
Jim Meyering [Mon, 22 Mar 1999 22:36:12 +0000 (22:36 +0000)]
tweak usage message -- from Karl

25 years ago*** empty log message ***
Jim Meyering [Mon, 22 Mar 1999 22:35:53 +0000 (22:35 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 21 Mar 1999 13:38:51 +0000 (13:38 +0000)]
*** empty log message ***

25 years agoimport latest
Jim Meyering [Sun, 21 Mar 1999 01:56:57 +0000 (01:56 +0000)]
import latest

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 23:16:34 +0000 (23:16 +0000)]
*** empty log message ***

25 years agoDon't modify PATH just to get GNU nice. Instead, try
Jim Meyering [Sat, 20 Mar 1999 23:10:02 +0000 (23:10 +0000)]
Don't modify PATH just to get GNU nice.  Instead, try
to find an absolute path for GNU nice.  From Bruno Haible.

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

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

25 years ago[WINSIZE_IN_PTEM]: Include sys/stream.h and sys/ptem.h.
Jim Meyering [Sat, 20 Mar 1999 04:07:01 +0000 (04:07 +0000)]
[WINSIZE_IN_PTEM]: Include sys/stream.h and sys/ptem.h.
Required by SCO ODT 2.0 systems.  Reported by William Bader.

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

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 [Thu, 18 Mar 1999 15:34:12 +0000 (15:34 +0000)]
.

25 years ago(remove_cwd_entries): Reflect changes in hash_insert.
Jim Meyering [Thu, 18 Mar 1999 15:33:56 +0000 (15:33 +0000)]
(remove_cwd_entries): Reflect changes in hash_insert.
(remove_init): Call hash_initialize with one more argument.

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

25 years ago*** empty log message ***
Jim Meyering [Wed, 17 Mar 1999 14:18:09 +0000 (14:18 +0000)]
*** empty log message ***

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 agoimport latest
Jim Meyering [Tue, 16 Mar 1999 15:34:33 +0000 (15:34 +0000)]
import latest

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 ago*** empty log message ***
Jim Meyering [Mon, 15 Mar 1999 15:50:55 +0000 (15:50 +0000)]
*** empty log message ***

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.
Jim Meyering [Sun, 14 Mar 1999 21:39:42 +0000 (21:39 +0000)]
.

25 years ago(tac_mem): `#if-0'-out this unused function.
Jim Meyering [Sat, 13 Mar 1999 20:30:33 +0000 (20:30 +0000)]
(tac_mem): `#if-0'-out this unused function.
(tac_stdin_to_mem): Likewise.

25 years ago.
Jim Meyering [Sat, 13 Mar 1999 20:29:14 +0000 (20:29 +0000)]
.

25 years ago.
Jim Meyering [Sat, 13 Mar 1999 20:28:51 +0000 (20:28 +0000)]
.

25 years ago(cut invocation): Describe --output-delimiter.
Jim Meyering [Sat, 13 Mar 1999 17:26:44 +0000 (17:26 +0000)]
(cut invocation): Describe --output-delimiter.

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

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

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

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:24:25 +0000 (15:24 +0000)]
*** empty log message ***

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

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

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

25 years ago(dump_remainder): Don't fflush stdout here.
Jim Meyering [Fri, 12 Mar 1999 15:12:55 +0000 (15:12 +0000)]
(dump_remainder): Don't fflush stdout here.
(main) [if forever]: Make stdout unbuffered, instead.

25 years ago(SETVBUF): Define new macro.
Jim Meyering [Fri, 12 Mar 1999 15:11:57 +0000 (15:11 +0000)]
(SETVBUF): Define new macro.