Jim Meyering [Sun, 26 Apr 1998 20:48:00 +0000 (20:48 +0000)]
.
Jim Meyering [Sun, 26 Apr 1998 20:42:16 +0000 (20:42 +0000)]
Don't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:41:42 +0000 (20:41 +0000)]
Don't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:38:28 +0000 (20:38 +0000)]
Do not define _GNU_SOURCE and/or NDEBUG
Jim Meyering [Sun, 26 Apr 1998 20:09:26 +0000 (20:09 +0000)]
[struct File_spec] (pretty_name): Remove member.
(pretty_name): New function.
Jim Meyering [Sun, 26 Apr 1998 19:58:57 +0000 (19:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Apr 1998 19:58:43 +0000 (19:58 +0000)]
Remove usage-like comments near beginning of file.
Jim Meyering [Sun, 26 Apr 1998 19:53:54 +0000 (19:53 +0000)]
(xwrite): 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.
Jim Meyering [Sun, 26 Apr 1998 15:28:20 +0000 (15:28 +0000)]
*** empty log message ***
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**.
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.
Jim Meyering [Fri, 17 Apr 1998 15:37:52 +0000 (15:37 +0000)]
.
Jim Meyering [Fri, 17 Apr 1998 15:37:29 +0000 (15:37 +0000)]
(xfields): 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
Jim Meyering [Fri, 17 Apr 1998 15:30:37 +0000 (15:30 +0000)]
.
Jim Meyering [Tue, 14 Apr 1998 15:17:45 +0000 (15:17 +0000)]
*** empty log message ***
Jim Meyering [Tue, 14 Apr 1998 15:17:32 +0000 (15:17 +0000)]
Use STREQ in string equality tests, not strcmp.
Jim Meyering [Mon, 13 Apr 1998 16:29:58 +0000 (16:29 +0000)]
(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Mon, 13 Apr 1998 13:51:27 +0000 (13:51 +0000)]
.
Jim Meyering [Sun, 12 Apr 1998 19:56:25 +0000 (19:56 +0000)]
Include safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sun, 12 Apr 1998 15:16:37 +0000 (15:16 +0000)]
.
Jim Meyering [Sun, 12 Apr 1998 09:39:30 +0000 (09:39 +0000)]
(TYPE_MAXIMUM): Update from system.h.
Jim Meyering [Sun, 12 Apr 1998 09:27:45 +0000 (09:27 +0000)]
Use STREQ rather than strcmp
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.
Jim Meyering [Sat, 11 Apr 1998 18:24:09 +0000 (18:24 +0000)]
Include 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.
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.
Jim Meyering [Sat, 11 Apr 1998 17:53:09 +0000 (17:53 +0000)]
(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Sat, 11 Apr 1998 17:52:28 +0000 (17:52 +0000)]
.
Jim Meyering [Sat, 11 Apr 1998 15:37:35 +0000 (15:37 +0000)]
split a couple long lines
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.
Jim Meyering [Sat, 11 Apr 1998 15:05:20 +0000 (15:05 +0000)]
.
Jim Meyering [Sat, 11 Apr 1998 15:04:39 +0000 (15:04 +0000)]
.
Jim Meyering [Sat, 11 Apr 1998 15:03:51 +0000 (15:03 +0000)]
import version 2.231
Jim Meyering [Sat, 11 Apr 1998 09:24:28 +0000 (09:24 +0000)]
*** empty log message ***
Jim Meyering [Thu, 9 Apr 1998 07:28:10 +0000 (07:28 +0000)]
indent cpp directives
Jim Meyering [Thu, 9 Apr 1998 07:22:52 +0000 (07:22 +0000)]
make there be two spaces after `.' in comments
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.
Jim Meyering [Mon, 6 Apr 1998 08:14:58 +0000 (08:14 +0000)]
(hash_insert): Remove declaration.
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.
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.
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.
Jim Meyering [Mon, 6 Apr 1998 00:26:54 +0000 (00:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 23:44:12 +0000 (23:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 23:43:58 +0000 (23:43 +0000)]
.
Jim Meyering [Sun, 5 Apr 1998 21:35:33 +0000 (21:35 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 21:32:26 +0000 (21:32 +0000)]
add braces to disambiguate ambiguous else
Jim Meyering [Sun, 5 Apr 1998 18:24:45 +0000 (18:24 +0000)]
.
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.
Jim Meyering [Sun, 5 Apr 1998 18:22:30 +0000 (18:22 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 18:22:11 +0000 (18:22 +0000)]
(jm_PREREQ_REGEX): New macro.
(jm_PREREQ): Use it here.
Jim Meyering [Sat, 4 Apr 1998 21:37:50 +0000 (21:37 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 18:17:10 +0000 (18:17 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 18:16:51 +0000 (18:16 +0000)]
(PARAMS): Define.
Jim Meyering [Sat, 4 Apr 1998 16:47:29 +0000 (16:47 +0000)]
.
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 `%'.
Jim Meyering [Sat, 4 Apr 1998 16:36:30 +0000 (16:36 +0000)]
stty: document new --file/-F option
Jim Meyering [Sat, 4 Apr 1998 16:28:11 +0000 (16:28 +0000)]
.
Jim Meyering [Sat, 4 Apr 1998 16:27:12 +0000 (16:27 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Apr 1998 16:20:15 +0000 (16:20 +0000)]
.
Jim Meyering [Sat, 4 Apr 1998 16:19:34 +0000 (16:19 +0000)]
.
Jim Meyering [Sat, 4 Apr 1998 10:36:32 +0000 (10:36 +0000)]
clean up comments
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'.
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.
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.
Jim Meyering [Sat, 4 Apr 1998 08:24:11 +0000 (08:24 +0000)]
.
Jim Meyering [Sat, 4 Apr 1998 08:11:22 +0000 (08:11 +0000)]
.
Jim Meyering [Sat, 4 Apr 1998 08:07:26 +0000 (08:07 +0000)]
.
Jim Meyering [Sat, 4 Apr 1998 08:06:24 +0000 (08:06 +0000)]
update comment
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.
Jim Meyering [Sat, 4 Apr 1998 08:03:48 +0000 (08:03 +0000)]
.
Jim Meyering [Sat, 4 Apr 1998 08:02:23 +0000 (08:02 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 1 Apr 1998 06:47:32 +0000 (06:47 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 Apr 1998 06:47:25 +0000 (06:47 +0000)]
.
Jim Meyering [Wed, 1 Apr 1998 06:46:52 +0000 (06:46 +0000)]
(TESTS): Add cr-1.
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.
Jim Meyering [Tue, 31 Mar 1998 23:11:50 +0000 (23:11 +0000)]
.
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.
Jim Meyering [Tue, 31 Mar 1998 13:14:22 +0000 (13:14 +0000)]
Merge with the version from textutils.
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.
Jim Meyering [Tue, 31 Mar 1998 12:09:55 +0000 (12:09 +0000)]
add descriptive first-line comment
Jim Meyering [Tue, 31 Mar 1998 12:05:17 +0000 (12:05 +0000)]
(rpl_memcmp): Rename from memcmp.
Jim Meyering [Tue, 31 Mar 1998 07:50:22 +0000 (07:50 +0000)]
.
Jim Meyering [Sat, 28 Mar 1998 14:57:25 +0000 (14:57 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Mar 1998 14:56:49 +0000 (14:56 +0000)]
Add copyright.
Jim Meyering [Sat, 28 Mar 1998 14:56:11 +0000 (14:56 +0000)]
Add copyright.
[_AIX]: Add #pragma alloca.
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.
Jim Meyering [Fri, 27 Mar 1998 22:34:23 +0000 (22:34 +0000)]
.
Jim Meyering [Fri, 27 Mar 1998 22:33:37 +0000 (22:33 +0000)]
*** empty log message ***
Jim Meyering [Fri, 27 Mar 1998 22:29:05 +0000 (22:29 +0000)]
remove dcl of unused local, num_regs
Jim Meyering [Fri, 27 Mar 1998 12:40:03 +0000 (12:40 +0000)]
cpp-directive aesthetics
Jim Meyering [Fri, 27 Mar 1998 11:23:07 +0000 (11:23 +0000)]
new version from Uli
Jim Meyering [Thu, 26 Mar 1998 16:27:28 +0000 (16:27 +0000)]
.
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.
Jim Meyering [Wed, 25 Mar 1998 07:38:24 +0000 (07:38 +0000)]
s/@samp/@email/ for e-mail addresses
Jim Meyering [Mon, 23 Mar 1998 23:52:30 +0000 (23:52 +0000)]
.
Jim Meyering [Mon, 23 Mar 1998 23:49:18 +0000 (23:49 +0000)]
.
Jim Meyering [Mon, 23 Mar 1998 23:19:01 +0000 (23:19 +0000)]
update from automake-2.1h