Commit Graph

697 Commits

Author SHA1 Message Date
Jim Meyering
85bb215ab8 (basename): Use strrchr, not rindex.
[!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex.
1995-01-27 15:23:48 +00:00
Jim Meyering
b38a5a7a17 . 1995-01-27 15:01:25 +00:00
Jim Meyering
4ecaaf1fa7 . 1995-01-27 15:00:54 +00:00
Jim Meyering
428920f8fc . 1995-01-27 14:41:51 +00:00
Jim Meyering
4e2a9fa5f2 . 1995-01-27 05:39:25 +00:00
Jim Meyering
1a41e74d32 . 1995-01-27 05:37:03 +00:00
Jim Meyering
66444bdafb Remove/rewrite some comments. 1995-01-27 05:36:14 +00:00
Jim Meyering
b554fee401 . 1995-01-27 05:22:23 +00:00
Jim Meyering
293530a4c8 . 1995-01-25 04:32:58 +00:00
Jim Meyering
8b285f6be9 * fmt.c (copy_rest): Replace ||' with &&'. Before, a paragraph
not followed by a newline would be followed by data copied from
uninitialized storage.  Repeat by `printf abc|fmt|od -ac'.
Reported by Franc,ois Pinard.
1995-01-25 04:32:15 +00:00
Jim Meyering
851162a0da Rename macros with FP_ prefix. Use FLOAT_ instead.
AIX-2.2.1 declares a typedef, FP_DOUBLE, that conflicted.
Be careful to use off_t instead of explicit `unsigned long'.
Otherwise, systems like 4.4BSD lose on calls to fseek that
expect off_t (which is long long on that system).
(parse_old_offset): Use xstrtoul
(main): Likewise.
1995-01-25 04:19:46 +00:00
Jim Meyering
41fc246374 Don't use legal' when you mean valid'. 1995-01-17 13:57:22 +00:00
Jim Meyering
cfaf788606 Fix typo: seperator -> separator. 1995-01-12 05:03:08 +00:00
Jim Meyering
98b530a36d Remove FIXMEs.
(get_width_format): Use stub function if not all of the needed math
functions are available.  From Ulrich.
(main): Give reason for failure.
1995-01-08 20:20:19 +00:00
Jim Meyering
9485d96553 See log in textutils/lib/. 1995-01-08 19:33:34 +00:00
Jim Meyering
f30ca710d9 . 1995-01-08 19:30:12 +00:00
Jim Meyering
4ad4a00de4 Add some FIXME comments. 1994-12-31 18:38:23 +00:00
Jim Meyering
81f671740e Include "system.h".
Don't explicitly include headers that it includes.
Use error, not `fprintf (stderr'.
1994-12-31 18:32:47 +00:00
Jim Meyering
d6b36e21cb Minor indentation change.
(usage): Change wording a little.
1994-12-31 18:17:34 +00:00
Jim Meyering
47d3dc6fc3 From Ulrich Drepper. 1994-12-31 18:04:40 +00:00
Jim Meyering
d4ba41692f . 1994-12-31 17:56:47 +00:00
Jim Meyering
a872332ad9 . 1994-12-31 17:55:01 +00:00
Jim Meyering
e8bb8dff6a . 1994-12-31 17:54:33 +00:00
Jim Meyering
e0c2f72ee5 . 1994-12-31 17:53:04 +00:00
Jim Meyering
60d3ac3f15 . 1994-12-31 17:51:57 +00:00
Jim Meyering
e50ceb339f still checking 1994-12-31 17:46:31 +00:00
Jim Meyering
6a8f231a9c checking whether cvs lock works 1994-12-31 17:43:19 +00:00
Jim Meyering
029da0400b (print_factors): Increase size of FACTOR array to 128. 1994-12-31 17:39:22 +00:00
Jim Meyering
3de797b535 Indent.
Add deactivated assertions.
1994-12-31 17:33:56 +00:00
Jim Meyering
14842c9a59 Use readtoken. 1994-12-31 15:28:51 +00:00
Jim Meyering
652d4c6cd6 . 1994-12-27 13:39:54 +00:00
Jim Meyering
59097c0922 Include "error.h" rather than simply declaring `void error ();'. 1994-12-27 13:36:22 +00:00
Jim Meyering
dcb4b37240 * dd.c (skip): Use safe_read instead of read.
(copy): Use full_write instead of write.
	From Bruno Haible.
1994-12-27 13:12:52 +00:00
Jim Meyering
410e779e8d * sync.c (main): Make error message accurate. 1994-12-27 13:08:05 +00:00
Jim Meyering
d7cd6fb738 Write file name instead of filename. 1994-12-27 05:28:58 +00:00
Jim Meyering
ca39edc494 . 1994-12-27 02:50:40 +00:00
Jim Meyering
2ea2c7bf78 [member]: Use strchr instead of index. 1994-12-27 02:47:50 +00:00
Jim Meyering
b772193f4b . 1994-12-27 02:46:10 +00:00
Jim Meyering
c84154eb28 * test.c (term): Running `./test \( a -o b' got a seg fault.
From Klaus.Reichl@aut.alcatel.at.
1994-12-27 00:33:03 +00:00
Jim Meyering
72bb9e6307 Rearrange to accept a user-specified set of suffix chars (must be
a subset of master list), each with a hard-coded value.
1994-12-22 05:10:32 +00:00
Jim Meyering
7c141b258d (main): Update xstrtol calls to be consistent with new decl. 1994-12-22 05:08:40 +00:00
Jim Meyering
2999aefb84 . 1994-12-20 05:26:56 +00:00
Jim Meyering
a9f1783e20 * src/*.c: Include "error.h" instead of simply declaring
`void error ();'.
1994-12-20 05:26:44 +00:00
Jim Meyering
6bb619d33c Begin overhaul. 1994-12-20 05:24:13 +00:00
Jim Meyering
0477175963 . 1994-12-20 05:10:42 +00:00
Jim Meyering
eaa5cc3f91 . 1994-12-20 05:05:55 +00:00
Jim Meyering
735c6a9adc (test_stat, binary_operator): Use safe_stat instead of SAFE_STAT.
(unary_operator): Use safe_lstat instead of SAFE_LSTAT.
1994-12-20 04:51:10 +00:00
Jim Meyering
6d59e126b5 (print_entry): Use safe_stat instead of SAFE_STAT. 1994-12-20 04:50:25 +00:00
Jim Meyering
bb705c7c3e (dir_ok): Use safe_stat instead of SAFE_STAT. 1994-12-20 04:49:55 +00:00
Jim Meyering
398dbbb832 (numerous functions): Give char* filename arguments the const attribute. 1994-12-20 04:27:35 +00:00