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

26 years ago.
Jim Meyering [Fri, 27 Mar 1998 22:34:23 +0000 (22:34 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 27 Mar 1998 22:33:37 +0000 (22:33 +0000)]
*** empty log message ***

26 years agoremove dcl of unused local, num_regs
Jim Meyering [Fri, 27 Mar 1998 22:29:05 +0000 (22:29 +0000)]
remove dcl of unused local, num_regs

26 years agocpp-directive aesthetics
Jim Meyering [Fri, 27 Mar 1998 12:40:03 +0000 (12:40 +0000)]
cpp-directive aesthetics

26 years agonew version from Uli
Jim Meyering [Fri, 27 Mar 1998 11:23:07 +0000 (11:23 +0000)]
new version from Uli

26 years ago.
Jim Meyering [Thu, 26 Mar 1998 16:27:28 +0000 (16:27 +0000)]
.

26 years ago(batch_convert): Remove spurious space in error message.
Jim Meyering [Thu, 26 Mar 1998 15:41:14 +0000 (15:41 +0000)]
(batch_convert): Remove spurious space in error message.
Reported by Karl Berry.

26 years agos/@samp/@email/ for e-mail addresses
Jim Meyering [Wed, 25 Mar 1998 07:38:24 +0000 (07:38 +0000)]
s/@samp/@email/ for e-mail addresses

26 years ago.
Jim Meyering [Mon, 23 Mar 1998 23:52:30 +0000 (23:52 +0000)]
.

26 years ago.
Jim Meyering [Mon, 23 Mar 1998 23:49:18 +0000 (23:49 +0000)]
.

26 years agoupdate from automake-2.1h
Jim Meyering [Mon, 23 Mar 1998 23:19:01 +0000 (23:19 +0000)]
update from automake-2.1h

26 years ago*** empty log message ***
Jim Meyering [Mon, 23 Mar 1998 23:13:24 +0000 (23:13 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Mon, 23 Mar 1998 23:13:08 +0000 (23:13 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Mon, 23 Mar 1998 23:12:45 +0000 (23:12 +0000)]
*** empty log message ***

26 years agoKludges so I don't have to add HAVE_INTTYPES_H in acconfig.h.
Jim Meyering [Mon, 23 Mar 1998 23:10:30 +0000 (23:10 +0000)]
Kludges so I don't have to add HAVE_INTTYPES_H in acconfig.h.

26 years ago.
Jim Meyering [Mon, 23 Mar 1998 22:47:45 +0000 (22:47 +0000)]
.

26 years ago.
Jim Meyering [Mon, 23 Mar 1998 22:47:05 +0000 (22:47 +0000)]
.

26 years agoupdate from libc/copies
Jim Meyering [Mon, 23 Mar 1998 07:24:54 +0000 (07:24 +0000)]
update from libc/copies

26 years agomerge variables: forever_multiple and forever
Jim Meyering [Sun, 22 Mar 1998 20:55:34 +0000 (20:55 +0000)]
merge variables: forever_multiple and forever
(recheck): New function.
Begin to support --allow-missing option.

26 years ago*** empty log message ***
Jim Meyering [Sun, 22 Mar 1998 20:38:44 +0000 (20:38 +0000)]
*** empty log message ***

26 years ago(tail_forever): plug gross fd leaks
Jim Meyering [Sat, 21 Mar 1998 16:33:53 +0000 (16:33 +0000)]
(tail_forever): plug gross fd leaks
Don't close stdin
Don't print header unnecessarily if the first file to grow
is the last one for which a header was printed.

26 years ago*** empty log message ***
Jim Meyering [Sat, 21 Mar 1998 08:54:58 +0000 (08:54 +0000)]
*** empty log message ***

26 years agoUpdate from patch-2.5.3.
Jim Meyering [Sat, 21 Mar 1998 08:51:48 +0000 (08:51 +0000)]
Update from patch-2.5.3.

26 years agoUpdate from patch-2.5.3.
Jim Meyering [Sat, 21 Mar 1998 08:49:00 +0000 (08:49 +0000)]
Update from patch-2.5.3.

26 years ago(decode_switches): Pass a null pointer instead of address
Jim Meyering [Sat, 21 Mar 1998 08:47:54 +0000 (08:47 +0000)]
(decode_switches): Pass a null pointer instead of address
of quotearg_quoting_options.

26 years ago.
Jim Meyering [Thu, 19 Mar 1998 22:27:17 +0000 (22:27 +0000)]
.

26 years ago(show_dev): If fsu_bavail_top_bit_set is nonzero,
Jim Meyering [Thu, 19 Mar 1998 22:18:29 +0000 (22:18 +0000)]
(show_dev): If fsu_bavail_top_bit_set is nonzero,
assume the original value corresponding to fsu_bavail was negative.

26 years agoInclude <limits.h>.
Jim Meyering [Thu, 19 Mar 1998 22:18:04 +0000 (22:18 +0000)]
Include <limits.h>.
(CHAR_BIT, EXTRACT_TOP_BIT, PROPAGATE_TOP_BIT): New macros.
(get_fs_usage): If top bit of system variable corresponding to
fsu_bavail is set, then set fsu_bavail_top_bit_set, and
sign-extend the value when storing it into fsu_bavail.

26 years ago(struct fs_usage): New member
Jim Meyering [Thu, 19 Mar 1998 22:17:43 +0000 (22:17 +0000)]
(struct fs_usage): New member
fsu_bavail_top_bit_set.

26 years ago*** empty log message ***
Jim Meyering [Wed, 18 Mar 1998 21:53:35 +0000 (21:53 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Tue, 17 Mar 1998 23:31:18 +0000 (23:31 +0000)]
*** empty log message ***

26 years ago(tail_file): Merge largely-duplicated blocks of code.
Jim Meyering [Sun, 15 Mar 1998 23:04:56 +0000 (23:04 +0000)]
(tail_file): Merge largely-duplicated blocks of code.

26 years ago. FILEUTILS-3_16n
Jim Meyering [Sun, 15 Mar 1998 20:36:02 +0000 (20:36 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sun, 15 Mar 1998 18:05:05 +0000 (18:05 +0000)]
*** empty log message ***

26 years agoUse #if, not #ifdef with HAVE_ macros.
Jim Meyering [Sun, 15 Mar 1998 17:54:50 +0000 (17:54 +0000)]
Use #if, not #ifdef with HAVE_ macros.
Use #if !, not #ifndef with HAVE_ macros.

26 years agoUse #if, not #ifdef with HAVE_ macros
Jim Meyering [Sun, 15 Mar 1998 11:09:10 +0000 (11:09 +0000)]
Use #if, not #ifdef with HAVE_ macros