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

25 years agoNew test: 8bit-delim.
Jim Meyering [Sun, 7 Mar 1999 05:10:32 +0000 (05:10 +0000)]
New test: 8bit-delim.

25 years ago(getstr): Change type of `delim' parameter from char to int.
Jim Meyering [Sun, 7 Mar 1999 05:09:23 +0000 (05:09 +0000)]
(getstr): Change type of `delim' parameter from char to int.
(cut_fields): Cast to `unsigned char' before comparing.
(main): Cast to `unsigned char' before assigning.

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

25 years ago(batch_convert): Use a `%s' format in error call,
Jim Meyering [Sun, 7 Mar 1999 04:54:36 +0000 (04:54 +0000)]
(batch_convert): Use a `%s' format in error call,
in case the argument string contains a `%'.

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

25 years ago(main): Use a `%s' format in error call,
Jim Meyering [Sun, 7 Mar 1999 04:52:49 +0000 (04:52 +0000)]
(main): Use a `%s' format in error call,
in case the argument string contains a `%'.

25 years ago(FATAL_ERROR): s/s/Message
Jim Meyering [Sun, 7 Mar 1999 04:50:48 +0000 (04:50 +0000)]
(FATAL_ERROR): s/s/Message

25 years ago(swallow_file_in_memory): Use a `%s' format in error call,
Jim Meyering [Sun, 7 Mar 1999 04:35:33 +0000 (04:35 +0000)]
(swallow_file_in_memory): Use a `%s' format in error call,
in case the argument string contains a `%'.

25 years ago(swallow_file_in_memory): Slurp up the whole file at
Jim Meyering [Sun, 7 Mar 1999 04:32:25 +0000 (04:32 +0000)]
(swallow_file_in_memory): Slurp up the whole file at
once on MSDOS as well, but we have to relax the test for whether
reading it succeeded.

25 years ago[__DJGPP__]: Include <io.h> and <sys/exceptn.h>.
Jim Meyering [Sun, 7 Mar 1999 04:10:17 +0000 (04:10 +0000)]
[__DJGPP__]: Include <io.h> and <sys/exceptn.h>.

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

25 years ago*** empty log message ***
Jim Meyering [Sat, 6 Mar 1999 22:00:52 +0000 (22:00 +0000)]
*** empty log 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 ago*** empty log message ***
Jim Meyering [Sat, 6 Mar 1999 15:31:38 +0000 (15:31 +0000)]
*** empty log message ***

25 years agoInclude long-options.h.
Jim Meyering [Sat, 6 Mar 1999 15:28:54 +0000 (15:28 +0000)]
Include long-options.h.
[long_options]: Remove the "help" and "version" entries.
Remove declarations of show_help and show_version.
(main): Use parse_long_options, including author name(s).
Remove the show_version and show_help blocks.

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

25 years ago(main): Include author name argument in call to parse_long_options.
Jim Meyering [Thu, 4 Mar 1999 14:02:14 +0000 (14:02 +0000)]
(main): Include author name argument in call to parse_long_options.

25 years ago*** empty log message ***
Jim Meyering [Thu, 4 Mar 1999 05:36:19 +0000 (05:36 +0000)]
*** empty log message ***

25 years agoInclude long-options.h
Jim Meyering [Thu, 4 Mar 1999 05:36:10 +0000 (05:36 +0000)]
Include long-options.h
[long_options]: Remove the "help" and "version" entries.
Remove declarations of show_help and show_version.
(main): Use parse_long_options, including author name(s).
Remove the show_version and show_help blocks.

25 years ago(main): Include author name argument in call to parse_long_options.
Jim Meyering [Thu, 4 Mar 1999 05:33:22 +0000 (05:33 +0000)]
(main): Include author name argument in call to parse_long_options.