platform/upstream/coreutils.git
26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 05:01:19 +0000 (05:01 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 05:00:00 +0000 (05:00 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 04:57:59 +0000 (04:57 +0000)]
*** empty log message ***

26 years agoadd 22b
Jim Meyering [Mon, 27 Apr 1998 04:53:31 +0000 (04:53 +0000)]
add 22b

26 years ago.
Jim Meyering [Mon, 27 Apr 1998 04:41:41 +0000 (04:41 +0000)]
.

26 years agoRemove definition of _GNU_SOURCE
Jim Meyering [Mon, 27 Apr 1998 04:31:45 +0000 (04:31 +0000)]
Remove definition of _GNU_SOURCE

26 years ago(22a): Add test.
Jim Meyering [Mon, 27 Apr 1998 04:30:30 +0000 (04:30 +0000)]
(22a): Add test.

26 years ago*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 04:29:36 +0000 (04:29 +0000)]
*** empty log message ***

26 years ago(keycompare): Don't return 0 from inside the keyspec-iterating loop.
Jim Meyering [Mon, 27 Apr 1998 04:29:05 +0000 (04:29 +0000)]
(keycompare): Don't return 0 from inside the keyspec-iterating loop.
With this change, test 22a passes.  Reported by Zvi Har'El.

26 years ago(strncoll): Remove bogus assertion.
Jim Meyering [Mon, 27 Apr 1998 03:50:17 +0000 (03:50 +0000)]
(strncoll): Remove bogus assertion.

26 years ago(EXTRA_DIST): Add assert.m4.
Jim Meyering [Sun, 26 Apr 1998 20:48:58 +0000 (20:48 +0000)]
(EXTRA_DIST): Add assert.m4.

26 years ago.
Jim Meyering [Sun, 26 Apr 1998 20:48:00 +0000 (20:48 +0000)]
.

26 years agoDon't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:42:16 +0000 (20:42 +0000)]
Don't define NDEBUG.

26 years agoDon't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:41:42 +0000 (20:41 +0000)]
Don't define NDEBUG.

26 years agoDo not define _GNU_SOURCE and/or NDEBUG
Jim Meyering [Sun, 26 Apr 1998 20:38:28 +0000 (20:38 +0000)]
Do not define _GNU_SOURCE and/or NDEBUG

26 years ago[struct File_spec] (pretty_name): Remove member.
Jim Meyering [Sun, 26 Apr 1998 20:09:26 +0000 (20:09 +0000)]
[struct File_spec] (pretty_name): Remove member.
(pretty_name): New function.

26 years ago*** empty log message ***
Jim Meyering [Sun, 26 Apr 1998 19:58:57 +0000 (19:58 +0000)]
*** empty log message ***

26 years agoRemove usage-like comments near beginning of file.
Jim Meyering [Sun, 26 Apr 1998 19:58:43 +0000 (19:58 +0000)]
Remove usage-like comments near beginning of file.

26 years ago(xwrite): New function -- converted from macro.
Jim Meyering [Sun, 26 Apr 1998 19:53:54 +0000 (19:53 +0000)]
(xwrite): New function -- converted from macro.

26 years ago(close_fd): New function -- converted from macro.
Jim Meyering [Sun, 26 Apr 1998 19:50:21 +0000 (19:50 +0000)]
(close_fd): New function -- converted from macro.
[struct File_spec] (n_stat_calls): New member.
[struct File_spec] (n_unchanged_stats): New member.
(max_n_unchanged_stats): New global.
Initialize new members.

26 years ago*** empty log message ***
Jim Meyering [Sun, 26 Apr 1998 15:28:20 +0000 (15:28 +0000)]
*** empty log message ***

26 years ago(md5_check): Declare local, `md5num' as _unsigned_ char*.
Jim Meyering [Sun, 26 Apr 1998 15:28:06 +0000 (15:28 +0000)]
(md5_check): Declare local, `md5num' as _unsigned_ char*.
(hex_digits): Declare parameter `s' as _unsigned_ char*.
(split_3): Declare parameter `u' as _unsigned_ char**.

26 years ago(print_nth_dir): Remove first (and always-true) part of conjunct in assertion.
Jim Meyering [Sun, 26 Apr 1998 05:14:50 +0000 (05:14 +0000)]
(print_nth_dir): Remove first (and always-true) part of conjunct in assertion.

26 years ago.
Jim Meyering [Fri, 17 Apr 1998 15:37:52 +0000 (15:37 +0000)]
.

26 years ago(xfields): Used unsigned char* pointers to avoid
Jim Meyering [Fri, 17 Apr 1998 15:37:29 +0000 (15:37 +0000)]
(xfields): Used unsigned char* pointers to avoid

26 years ago(check_punctuation): Used unsigned char* pointers to avoid
Jim Meyering [Fri, 17 Apr 1998 15:37:03 +0000 (15:37 +0000)]
(check_punctuation): Used unsigned char* pointers to avoid

26 years ago.
Jim Meyering [Fri, 17 Apr 1998 15:30:37 +0000 (15:30 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Tue, 14 Apr 1998 15:17:45 +0000 (15:17 +0000)]
*** empty log message ***

26 years agoUse STREQ in string equality tests, not strcmp.
Jim Meyering [Tue, 14 Apr 1998 15:17:32 +0000 (15:17 +0000)]
Use STREQ in string equality tests, not strcmp.

26 years ago(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Mon, 13 Apr 1998 16:29:58 +0000 (16:29 +0000)]
(noinst_HEADERS): Add safe-read.h.

26 years ago.
Jim Meyering [Mon, 13 Apr 1998 13:51:27 +0000 (13:51 +0000)]
.

26 years agoInclude safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sun, 12 Apr 1998 19:56:25 +0000 (19:56 +0000)]
Include safe-read.h instead of merely declaring safe_read.

26 years ago.
Jim Meyering [Sun, 12 Apr 1998 15:16:37 +0000 (15:16 +0000)]
.

26 years ago(TYPE_MAXIMUM): Update from system.h.
Jim Meyering [Sun, 12 Apr 1998 09:39:30 +0000 (09:39 +0000)]
(TYPE_MAXIMUM): Update from system.h.

26 years agoUse STREQ rather than strcmp
Jim Meyering [Sun, 12 Apr 1998 09:27:45 +0000 (09:27 +0000)]
Use STREQ rather than strcmp

26 years ago(wc): Declare per-file counters and `linepos' to be of type uintmax_t.
Jim Meyering [Sun, 12 Apr 1998 09:12:21 +0000 (09:12 +0000)]
(wc): Declare per-file counters and `linepos' to be of type uintmax_t.
Declare bytes_read to be ssize_t.

26 years agoInclude safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sat, 11 Apr 1998 18:24:09 +0000 (18:24 +0000)]
Include safe-read.h instead of merely declaring safe_read.

26 years agoInclude safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sat, 11 Apr 1998 18:23:13 +0000 (18:23 +0000)]
Include safe-read.h instead of merely declaring safe_read.

26 years ago[HAVE_INTTYPES_H]: Include inttypes.h.
Jim Meyering [Sat, 11 Apr 1998 18:21:24 +0000 (18:21 +0000)]
[HAVE_INTTYPES_H]: Include inttypes.h.
Declare counters to be of type uintmax_t.
(write_counts): Use human_readable to format potentially-long-long
numbers.  Suggestion from Rogier Wolff.

26 years ago(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Sat, 11 Apr 1998 17:53:09 +0000 (17:53 +0000)]
(noinst_HEADERS): Add safe-read.h.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 17:52:28 +0000 (17:52 +0000)]
.

26 years agosplit a couple long lines
Jim Meyering [Sat, 11 Apr 1998 15:37:35 +0000 (15:37 +0000)]
split a couple long lines

26 years agoAdd curly braces around statements in if/else/while/do/etc. that
Jim Meyering [Sat, 11 Apr 1998 15:35:06 +0000 (15:35 +0000)]
Add curly braces around statements in if/else/while/do/etc. that
span more than a line -- even around multiline simple statements or
single-line simple statements preceded by a comment line.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 15:05:20 +0000 (15:05 +0000)]
.

26 years ago.
Jim Meyering [Sat, 11 Apr 1998 15:04:39 +0000 (15:04 +0000)]
.

26 years agoimport version 2.231
Jim Meyering [Sat, 11 Apr 1998 15:03:51 +0000 (15:03 +0000)]
import version 2.231

26 years ago*** empty log message ***
Jim Meyering [Sat, 11 Apr 1998 09:24:28 +0000 (09:24 +0000)]
*** empty log message ***

26 years agoindent cpp directives
Jim Meyering [Thu, 9 Apr 1998 07:28:10 +0000 (07:28 +0000)]
indent cpp directives

26 years agomake there be two spaces after `.' in comments
Jim Meyering [Thu, 9 Apr 1998 07:22:52 +0000 (07:22 +0000)]
make there be two spaces after `.' in comments

26 years ago(cph_hash_insert): Rename from now-conflicting hash_insert.
Jim Meyering [Mon, 6 Apr 1998 08:15:29 +0000 (08:15 +0000)]
(cph_hash_insert): Rename from now-conflicting hash_insert.
Also declare to be static.

26 years ago(hash_insert): Remove declaration.
Jim Meyering [Mon, 6 Apr 1998 08:14:58 +0000 (08:14 +0000)]
(hash_insert): Remove declaration.

26 years agoChange names/usage of hash-related functions to work with the above.
Jim Meyering [Mon, 6 Apr 1998 08:11:35 +0000 (08:11 +0000)]
Change names/usage of hash-related functions to work with the above.

26 years agoLots of minor spec and name changes, and new comments.
Jim Meyering [Mon, 6 Apr 1998 08:09:36 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
From François Pinard.

26 years agoLots of minor spec and name changes, and new comments.
Jim Meyering [Mon, 6 Apr 1998 08:09:11 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
(hash_rehash): Rewritten to be easier on the allocator.
From François Pinard.

26 years ago*** empty log message ***
Jim Meyering [Mon, 6 Apr 1998 00:26:54 +0000 (00:26 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 23:44:12 +0000 (23:44 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sun, 5 Apr 1998 23:43:58 +0000 (23:43 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 21:35:33 +0000 (21:35 +0000)]
*** empty log message ***

26 years agoadd braces to disambiguate ambiguous else
Jim Meyering [Sun, 5 Apr 1998 21:32:26 +0000 (21:32 +0000)]
add braces to disambiguate ambiguous else

26 years ago.
Jim Meyering [Sun, 5 Apr 1998 18:24:45 +0000 (18:24 +0000)]
.

26 years ago(WIDE_CHAR_SUPPORT): Define.
Jim Meyering [Sun, 5 Apr 1998 18:24:18 +0000 (18:24 +0000)]
(WIDE_CHAR_SUPPORT): Define.
This now depends on HAVE_BTOWC so systems that lack btowc (like
solaris-2.5.1) don't lose.

26 years ago*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 18:22:30 +0000 (18:22 +0000)]
*** empty log message ***

26 years ago(jm_PREREQ_REGEX): New macro.
Jim Meyering [Sun, 5 Apr 1998 18:22:11 +0000 (18:22 +0000)]
(jm_PREREQ_REGEX): New macro.
(jm_PREREQ): Use it here.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 21:37:50 +0000 (21:37 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 18:17:10 +0000 (18:17 +0000)]
*** empty log message ***

26 years ago(PARAMS): Define.
Jim Meyering [Sat, 4 Apr 1998 18:16:51 +0000 (18:16 +0000)]
(PARAMS): Define.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:47:29 +0000 (16:47 +0000)]
.

26 years agoUse "%s", not device_name, as the format string, in case the
Jim Meyering [Sat, 4 Apr 1998 16:47:19 +0000 (16:47 +0000)]
Use "%s", not device_name, as the format string, in case the
latter contains `%'.

26 years agostty: document new --file/-F option
Jim Meyering [Sat, 4 Apr 1998 16:36:30 +0000 (16:36 +0000)]
stty: document new --file/-F option

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:28:11 +0000 (16:28 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 16:27:12 +0000 (16:27 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:20:15 +0000 (16:20 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 16:19:34 +0000 (16:19 +0000)]
.

26 years agoclean up comments
Jim Meyering [Sat, 4 Apr 1998 10:36:32 +0000 (10:36 +0000)]
clean up comments

26 years ago(valid_options): Parenthesize assignment in while expr.
Jim Meyering [Sat, 4 Apr 1998 09:38:47 +0000 (09:38 +0000)]
(valid_options): Parenthesize assignment in while expr.
(main): Remove dcl of unused `cp'.

26 years agoUse STREQ in place of strcmp everywhere.
Jim Meyering [Sat, 4 Apr 1998 09:30:39 +0000 (09:30 +0000)]
Use STREQ in place of strcmp everywhere.
(valid_options): Indent
(main): s/case 'f':/case 'F':/
Tweak error messages to make them consistent.
Remove #if-0'd block.
Move dcl of fdflags into scope where it's used.

26 years ago[1998-03-31 Theodore Ts'o <tytso@rsts-11.mit.edu>]
Jim Meyering [Sat, 4 Apr 1998 09:08:04 +0000 (09:08 +0000)]
[1998-03-31  Theodore Ts'o  <tytso@rsts-11.mit.edu>]
(main): Fix broken options parsing that worked only
by serendipity (getopt_long_only already parsed short options; no
need to parse them again manually!).  Add support for the --file
option, which allows the user to specify the device whose line
settings are to be set.  This is necessary because POSIX ttys will
block waiting for carrier detect to go high if CLOCAL is not set,
unless the device is opened with the O_NONBLOCK flag.
Unfortunately, the shell doesn't use this flag, so users lose.
Opening the device in stty is the easist way to fix this.
(speeds): Add support for 230400 and 460800 line speeds, which are
supported by Linux.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:24:11 +0000 (08:24 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:11:22 +0000 (08:11 +0000)]
.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:07:26 +0000 (08:07 +0000)]
.

26 years agoupdate comment
Jim Meyering [Sat, 4 Apr 1998 08:06:24 +0000 (08:06 +0000)]
update comment

26 years agoAdd conditionals so that running `make' in an
Jim Meyering [Sat, 4 Apr 1998 08:05:18 +0000 (08:05 +0000)]
Add conditionals so that running `make' in an
unconfigured source directory will get a reasonable diagnostic.

26 years ago.
Jim Meyering [Sat, 4 Apr 1998 08:03:48 +0000 (08:03 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 08:02:23 +0000 (08:02 +0000)]
*** empty log message ***

26 years ago(aclocal-files): Remove now-unnecessary (with
Jim Meyering [Sat, 4 Apr 1998 07:50:13 +0000 (07:50 +0000)]
(aclocal-files): Remove now-unnecessary (with
automake-1.2h and the above change) aclocal-related rules and includes.

26 years ago*** empty log message ***
Jim Meyering [Wed, 1 Apr 1998 06:47:32 +0000 (06:47 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Wed, 1 Apr 1998 06:47:25 +0000 (06:47 +0000)]
.

26 years ago(TESTS): Add cr-1.
Jim Meyering [Wed, 1 Apr 1998 06:46:52 +0000 (06:46 +0000)]
(TESTS): Add cr-1.

26 years ago(compare_ctime, rev_cmp_ctime, compare_mtime,
Jim Meyering [Wed, 1 Apr 1998 06:35:01 +0000 (06:35 +0000)]
(compare_ctime, rev_cmp_ctime, compare_mtime,
rev_cmp_mtime, compare_atime, rev_cmp_atime, compare_size,
rev_cmp_size): Use file name as secondary sort key to get
consistent sorting.

26 years ago.
Jim Meyering [Tue, 31 Mar 1998 23:11:50 +0000 (23:11 +0000)]
.

26 years ago(TYPE_MAXIMUM): Cast result to `(t)' so this macro works with `unsigned char'.
Jim Meyering [Tue, 31 Mar 1998 23:11:37 +0000 (23:11 +0000)]
(TYPE_MAXIMUM): Cast result to `(t)' so this macro works with `unsigned char'.
From Greg Wooledge.
(SCHAR_MIN, SCHAR_MAX, SHRT_MIN, SHRT_MAX, LONG_MAX, ULONG_MAX): Define.

26 years agoMerge with the version from textutils.
Jim Meyering [Tue, 31 Mar 1998 13:14:22 +0000 (13:14 +0000)]
Merge with the version from textutils.

26 years ago(EXTRA_DIST): Remove mk-script.pl.
Jim Meyering [Tue, 31 Mar 1998 12:49:00 +0000 (12:49 +0000)]
(EXTRA_DIST): Remove mk-script.pl.
(mk_script): Set to ../mk-script.
(x-tests): Use `$(PERL) -w -- $(mk_script)', not ./mk-script.
Remove @MAINT@ cruft.
(Makefile.am): Likewise.
Remove @MAINT@ cruft.  Now `missing' will explain the failure
when people don't have Perl yet modify a file whose rebuilding
would lead to the use of Perl.

26 years agoadd descriptive first-line comment
Jim Meyering [Tue, 31 Mar 1998 12:09:55 +0000 (12:09 +0000)]
add descriptive first-line comment

26 years ago(rpl_memcmp): Rename from memcmp.
Jim Meyering [Tue, 31 Mar 1998 12:05:17 +0000 (12:05 +0000)]
(rpl_memcmp): Rename from memcmp.

26 years ago.
Jim Meyering [Tue, 31 Mar 1998 07:50:22 +0000 (07:50 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 28 Mar 1998 14:57:25 +0000 (14:57 +0000)]
*** empty log message ***

26 years agoAdd copyright.
Jim Meyering [Sat, 28 Mar 1998 14:56:49 +0000 (14:56 +0000)]
Add copyright.

26 years agoAdd copyright.
Jim Meyering [Sat, 28 Mar 1998 14:56:11 +0000 (14:56 +0000)]
Add copyright.
[_AIX]: Add #pragma alloca.

26 years ago($(ACLOCAL_M4)): Replace old rule with this
Jim Meyering [Fri, 27 Mar 1998 22:37:56 +0000 (22:37 +0000)]
($(ACLOCAL_M4)): Replace old rule with this
dependency and the := assignment of ACLOCAL to make the default
rule use the `-I m4' option.