platform/upstream/coreutils.git
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.

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 agoDeclare getloadavg so I can build with -Werror.
Jim Meyering [Thu, 11 Mar 1999 04:05:25 +0000 (04:05 +0000)]
Declare getloadavg so I can build with -Werror.

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

25 years agoSkip failing tests: parenb, -parenb, -cread.
Jim Meyering [Thu, 11 Mar 1999 03:49:07 +0000 (03:49 +0000)]
Skip failing tests: parenb, -parenb, -cread.

25 years ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 1999 15:39:29 +0000 (15:39 +0000)]
*** empty log message ***

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 ago*** empty log message ***
Jim Meyering [Wed, 10 Mar 1999 15:34:45 +0000 (15:34 +0000)]
*** empty log message ***

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 ago*** empty log message ***
Jim Meyering [Tue, 9 Mar 1999 16:11:03 +0000 (16:11 +0000)]
*** empty log message ***

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

25 years ago(xgetgroups): Take new parameter, gid, and pass it to getugroups.
Jim Meyering [Tue, 9 Mar 1999 16:08:19 +0000 (16:08 +0000)]
(xgetgroups): Take new parameter, gid, and pass it to getugroups.
(print_group_list): Call getpwuid and adjust calls to xgetgroups
to include new parameter.

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.
Jim Meyering [Mon, 8 Mar 1999 14:42:45 +0000 (14:42 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Mon, 8 Mar 1999 14:41:57 +0000 (14:41 +0000)]
*** empty log message ***

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

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

25 years ago*** empty log message ***
Jim Meyering [Mon, 8 Mar 1999 02:44:05 +0000 (02:44 +0000)]
*** empty log message ***

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 ago*** empty log message ***
Jim Meyering [Sun, 7 Mar 1999 21:00:44 +0000 (21:00 +0000)]
*** empty log message ***

25 years agoAdd two more URLs and the loops to use them.
Jim Meyering [Sun, 7 Mar 1999 20:19:08 +0000 (20:19 +0000)]
Add two more URLs and the loops to use them.

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 17:03:18 +0000 (17:03 +0000)]
*** empty log message ***

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

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

25 years agoTest for the actual feature.
Jim Meyering [Sun, 7 Mar 1999 16:06:33 +0000 (16:06 +0000)]
Test for the actual feature.
With help from Eli Zaretskii.

25 years ago*** empty log message ***
Jim Meyering [Sun, 7 Mar 1999 15:53:48 +0000 (15:53 +0000)]
*** empty log message ***

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*** empty log message ***
Jim Meyering [Sun, 7 Mar 1999 15:52:29 +0000 (15:52 +0000)]
*** empty log message ***

25 years ago(usage): Add missing \n\.
Jim Meyering [Sun, 7 Mar 1999 15:52:14 +0000 (15:52 +0000)]
(usage): Add missing \n\.

25 years ago*** empty log message ***
Jim Meyering [Sun, 7 Mar 1999 14:41:04 +0000 (14:41 +0000)]
*** empty log message ***

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

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

25 years ago(TESTS): Add newline-1.
Jim Meyering [Sun, 7 Mar 1999 14:35:18 +0000 (14:35 +0000)]
(TESTS): Add newline-1.

25 years agoRemove newline test.
Jim Meyering [Sun, 7 Mar 1999 14:34:03 +0000 (14:34 +0000)]
Remove newline test.

25 years agoremove trailing blanks
Jim Meyering [Sun, 7 Mar 1999 13:57:27 +0000 (13:57 +0000)]
remove trailing blanks

25 years agoBig pr update from Roland Huebner.
Jim Meyering [Sun, 7 Mar 1999 13:56:47 +0000 (13:56 +0000)]
Big pr update from Roland Huebner.

25 years ago1999-02-13 Roland Huebner <rh@pelikan.cologne.de>
Jim Meyering [Sun, 7 Mar 1999 13:46:22 +0000 (13:46 +0000)]
1999-02-13  Roland Huebner  <rh@pelikan.cologne.de>
* src/pr.c
(main): Redefine options -s, -w to be POSIX compliant; introduce
new options -J, -S, -W to disentangle -s and -w when used together
with the three column options;
(add_line_number): Make POSIX compliant; use default number
separator TAB with single column output.
(add_line_number): Make POSIX compliant; with multicolumn output
now prefer `text columns of equal width' rather than a consequent
use of `default n-separator TAB'.
(add_line_number): Change line number cut-off from lower-oder to
higher-oder digit to avoid loss of information; no consequent
handling exists in different utilities and other UNIXes.
(char_to_clump): Expand input text tabs to 8 spaces, if
input_tab_char doesn't equal TAB (adapted to other UNIXes).
(usage): Update POSIX compliant options -s, -w; add new options -J,
-S, -W.
(main): Update the source internal documentation.
Some smaller BUGFIXES (print_sep_string, init_header, skip_to_page,
reset_status, print_header).

25 years ago(backslash): Use .\foo instead of \.foo so we
Jim Meyering [Sun, 7 Mar 1999 13:34:30 +0000 (13:34 +0000)]
(backslash): Use .\foo instead of \.foo so we
don't tramp on root directory in MSDOS/Windows.
Suggestion from Eli Zaretskii.

25 years ago (TESTS_ENVIRONMENT): Run md5sum with the --text option (for MSDOS).
Jim Meyering [Sun, 7 Mar 1999 13:14:21 +0000 (13:14 +0000)]
 (TESTS_ENVIRONMENT): Run md5sum with the --text option (for MSDOS).

25 years ago*** empty log message ***
Jim Meyering [Sun, 7 Mar 1999 05:14:30 +0000 (05:14 +0000)]
*** empty log message ***

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