Jim Meyering
69a3ee0b49
.
1998-04-12 15:16:37 +00:00
Jim Meyering
8ed3137f52
(TYPE_MAXIMUM): Update from system.h.
1998-04-12 09:39:30 +00:00
Jim Meyering
d4257e63c7
Use STREQ rather than strcmp
1998-04-12 09:27:45 +00:00
Jim Meyering
7154d646cb
(wc): Declare per-file counters and `linepos' to be of type uintmax_t.
...
Declare bytes_read to be ssize_t.
1998-04-12 09:12:21 +00:00
Jim Meyering
b388203a65
Include safe-read.h instead of merely declaring safe_read.
1998-04-11 18:24:09 +00:00
Jim Meyering
66c7b3c41d
Include safe-read.h instead of merely declaring safe_read.
1998-04-11 18:23:13 +00:00
Jim Meyering
ac7b3c4fa9
[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.
1998-04-11 18:21:24 +00:00
Jim Meyering
b402870080
(noinst_HEADERS): Add safe-read.h.
1998-04-11 17:53:09 +00:00
Jim Meyering
1cbe202b0a
.
1998-04-11 17:52:28 +00:00
Jim Meyering
d618576e0e
split a couple long lines
1998-04-11 15:37:35 +00:00
Jim Meyering
51fe35760e
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.
1998-04-11 15:35:06 +00:00
Jim Meyering
8bbe8ab5d4
.
1998-04-11 15:05:20 +00:00
Jim Meyering
ba51843a2c
.
1998-04-11 15:04:39 +00:00
Jim Meyering
397d9be228
import version 2.231
1998-04-11 15:03:51 +00:00
Jim Meyering
dddfcab3b3
*** empty log message ***
1998-04-11 09:24:28 +00:00
Jim Meyering
00ea94587f
indent cpp directives
1998-04-09 07:28:10 +00:00
Jim Meyering
49875c1593
make there be two spaces after `.' in comments
1998-04-09 07:22:52 +00:00
Jim Meyering
7b9c4d3d03
(cph_hash_insert): Rename from now-conflicting hash_insert.
...
Also declare to be static.
1998-04-06 08:15:29 +00:00
Jim Meyering
3783d6be57
(hash_insert): Remove declaration.
1998-04-06 08:14:58 +00:00
Jim Meyering
632ebfa209
Change names/usage of hash-related functions to work with the above.
1998-04-06 08:11:35 +00:00
Jim Meyering
29cc8bf4f3
Lots of minor spec and name changes, and new comments.
...
From François Pinard.
1998-04-06 08:09:36 +00:00
Jim Meyering
50892edd61
Lots of minor spec and name changes, and new comments.
...
(hash_rehash): Rewritten to be easier on the allocator.
From François Pinard.
1998-04-06 08:09:11 +00:00
Jim Meyering
72193ba149
*** empty log message ***
1998-04-06 00:26:54 +00:00
Jim Meyering
854b5197ad
*** empty log message ***
1998-04-05 23:44:12 +00:00
Jim Meyering
d90641d9d8
.
1998-04-05 23:43:58 +00:00
Jim Meyering
300be5a250
*** empty log message ***
1998-04-05 21:35:33 +00:00
Jim Meyering
3911fadcf9
add braces to disambiguate ambiguous else
1998-04-05 21:32:26 +00:00
Jim Meyering
382ca69cec
.
1998-04-05 18:24:45 +00:00
Jim Meyering
9fc10dc6c3
(WIDE_CHAR_SUPPORT): Define.
...
This now depends on HAVE_BTOWC so systems that lack btowc (like
solaris-2.5.1) don't lose.
1998-04-05 18:24:18 +00:00
Jim Meyering
f0a8ebf596
*** empty log message ***
1998-04-05 18:22:30 +00:00
Jim Meyering
53c085b7e5
(jm_PREREQ_REGEX): New macro.
...
(jm_PREREQ): Use it here.
1998-04-05 18:22:11 +00:00
Jim Meyering
faa759b349
*** empty log message ***
1998-04-04 21:37:50 +00:00
Jim Meyering
398e92a2ec
*** empty log message ***
1998-04-04 18:17:10 +00:00
Jim Meyering
3483943ebc
(PARAMS): Define.
1998-04-04 18:16:51 +00:00
Jim Meyering
108b074aea
.
1998-04-04 16:47:29 +00:00
Jim Meyering
19fcb4356c
Use "%s", not device_name, as the format string, in case the
...
latter contains `%'.
1998-04-04 16:47:19 +00:00
Jim Meyering
c4b7f217a5
stty: document new --file/-F option
1998-04-04 16:36:30 +00:00
Jim Meyering
cb04f85936
.
1998-04-04 16:28:11 +00:00
Jim Meyering
902bbe7707
*** empty log message ***
1998-04-04 16:27:12 +00:00
Jim Meyering
c9a9ec9b53
.
1998-04-04 16:20:15 +00:00
Jim Meyering
840a08ccde
.
1998-04-04 16:19:34 +00:00
Jim Meyering
5fbcd963df
clean up comments
1998-04-04 10:36:32 +00:00
Jim Meyering
953c42bd52
(valid_options): Parenthesize assignment in while expr.
...
(main): Remove dcl of unused `cp'.
1998-04-04 09:38:47 +00:00
Jim Meyering
765122f558
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.
1998-04-04 09:30:39 +00:00
Jim Meyering
e46a424ce9
[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.
1998-04-04 09:08:04 +00:00
Jim Meyering
095c92bc46
.
1998-04-04 08:24:11 +00:00
Jim Meyering
7957dcc00a
.
1998-04-04 08:11:22 +00:00
Jim Meyering
108f8f2d04
.
1998-04-04 08:07:26 +00:00
Jim Meyering
39463d50ed
update comment
1998-04-04 08:06:24 +00:00
Jim Meyering
4a46351e06
Add conditionals so that running `make' in an
...
unconfigured source directory will get a reasonable diagnostic.
1998-04-04 08:05:18 +00:00