Jim Meyering
2b3ce6fab9
Move main to the end.
...
Remove fwd dcls.
1995-11-09 23:16:13 +00:00
Jim Meyering
b951477c80
(translate_charset): Make parameter `const'.
1995-11-09 23:02:27 +00:00
Jim Meyering
0bf332a016
(struct pathstack): Move dcl to precede prototypes.
1995-11-09 23:00:32 +00:00
Jim Meyering
3e12088cf0
(enum filetype): Move dcl to precede prototypes.
...
(struct fileinfo): Likewise.
Add const attribute to some parameters.
1995-11-09 23:00:14 +00:00
Jim Meyering
c0d94c89ec
Protoize.
1995-11-09 17:02:23 +00:00
Jim Meyering
553eb65acd
(usage): Clarify descriptions of ignpar and ignbrk.
...
From Theodore Ts'o and Ulrich Windl.
1995-11-08 05:54:07 +00:00
Jim Meyering
b7df779b8b
New option: --verbose.
...
(main): Recognize it.
(usage): Document it.
From Marty Leisner <leisner@sdsp.mc.xerox.com >.
1995-11-07 04:56:08 +00:00
Jim Meyering
72ce8c67c5
(usage): Remove last sentence. It is redundant.
1995-11-06 14:01:46 +00:00
Jim Meyering
22132a47aa
[__P]: Define. Use it in prototyped forward decls.
1995-11-06 05:06:25 +00:00
Jim Meyering
0705aa7388
(store_columns): Remove spurious 2nd argument in call to read_line.
1995-11-06 05:01:16 +00:00
Jim Meyering
762769cf3b
Protoize.
1995-11-06 04:58:56 +00:00
Jim Meyering
82eae6c9b5
(join): Protoize. Somehow, protoize missed this one.
1995-11-05 16:58:15 +00:00
Jim Meyering
ce5f4177bc
Protect prototypes with __P.
1995-11-05 13:16:24 +00:00
Jim Meyering
48f3bca87e
Move prototypes after struct declarations.
...
Remove prototypes for xmalloc, xrealloc.
(new_control_record): Cast arg 1 to realloc.
1995-11-05 13:12:54 +00:00
Jim Meyering
adf0ec7008
Protoize.
1995-11-05 13:02:44 +00:00
Jim Meyering
5b4dde5a7b
[__P]: Test PROTOTYPES, not __STDC__.
...
Protoize.
1995-11-05 12:59:52 +00:00
Jim Meyering
2224409994
(close_output_file): Set output_stream to NULL so we don't recurse
...
endlessly between this function and cleanup.
1995-11-05 05:51:53 +00:00
Jim Meyering
30d11429a9
(unquote): Add casts to avoid signed char* from/to char* warnings.
1995-11-05 05:48:57 +00:00
Jim Meyering
6875b205d6
(remove_file, remove_dir): Use euidaccess instead of euidaccess_stat.Likewise.
1995-11-03 20:01:13 +00:00
Jim Meyering
47306242ec
(do_move): Use euidaccess instead of euidaccess_stat.Likewise.
1995-11-03 20:00:24 +00:00
Jim Meyering
83780d95f0
(copy): Use euidaccess instead of euidaccess_stat.
1995-11-03 19:59:44 +00:00
Jim Meyering
83b9d5e9ef
Add `const' attribute to some parameters.
1995-11-02 17:11:51 +00:00
Jim Meyering
aa084c8407
Protoize.
1995-11-02 17:08:24 +00:00
Jim Meyering
ac821ab1ef
Reorder functions to obviate forward dcls.
...
Remove forward dcls.
1995-11-02 17:06:52 +00:00
Jim Meyering
6e146d4216
(isdigits, convint): Remove these.
...
(main): Use xstrtol instead.
1995-10-31 12:52:29 +00:00
Jim Meyering
aa6cde5ca1
Add `const' attribute to some parameters.
1995-10-31 12:39:18 +00:00
Jim Meyering
05a5e42609
protoize.
1995-10-31 12:36:43 +00:00
Jim Meyering
11a013bf87
Reorder functions to obviate forward dcls.
...
Remove forward dcls.
1995-10-31 12:34:48 +00:00
Jim Meyering
de4de17bc5
(usage, next_line_num, main): Protoize.
1995-10-31 02:22:23 +00:00
Jim Meyering
b0302bb3a6
Add `const' attribute to some parameters.
1995-10-31 02:21:37 +00:00
Jim Meyering
334f8dcbb7
Add `const' attribute to some parameters.
1995-10-31 02:21:13 +00:00
Jim Meyering
47eaf4a1e8
Protoize.
1995-10-30 21:01:35 +00:00
Jim Meyering
1e30b2f8c4
Reorder functions to obviate forward dcls.
...
Remove forward dcls.
1995-10-30 21:00:36 +00:00
Jim Meyering
f05befc26c
(copy): Update one of the calls to eaccess_stat to use 3 arguments. Ugh!
1995-10-30 17:53:48 +00:00
Jim Meyering
40f0f4d2e8
(xwrite): Give output buffer parameter const attribute.
...
(output): Likewise for both parameters.
(tac): Likewise for file name parameter.
(tac_file): Likewise.
1995-10-29 20:38:01 +00:00
Jim Meyering
4fa07774d6
protoize.
1995-10-29 20:35:11 +00:00
Jim Meyering
7567c84e76
Reorder functions to obviate forward dcls.
...
Remove forward dcls.
1995-10-29 20:33:04 +00:00
Jim Meyering
a87c771012
(bsd_sum_file): Give file name parameter const attribute.
...
(sysv_sum_file): Likewise.
1995-10-29 20:24:53 +00:00
Jim Meyering
a2535fc95f
Protoize.
1995-10-29 20:20:08 +00:00
Jim Meyering
d2aaf842b4
(main): Move function body to end of file.
...
Remove forward dcls.
1995-10-29 20:19:26 +00:00
Jim Meyering
13e93efe91
(nl_file): Give parameter const attribute.
...
Protoize.
1995-10-29 20:15:54 +00:00
Jim Meyering
af1033c63c
Reorder functions to obviate forward dcls.
...
Remove forward dcls.
1995-10-29 20:12:32 +00:00
Jim Meyering
768f92072f
(main): Move function body to end of file.
...
Remove forward dcls and protoize.
1995-10-29 20:05:29 +00:00
Jim Meyering
8b92864e1d
Rename --file to --reference.
...
Leave --file as an alias, for now. It will be removed later.
(usage): Update, but don't mention --file.
1995-10-29 19:29:19 +00:00
Jim Meyering
b1c9ce6621
[TEST_STANDALONE]: Define.
1995-10-29 19:20:36 +00:00
Jim Meyering
c5716550a6
(md5_check): Use the same message format when the single file has a
...
read error or checksum mismatch as when there are more.
Write diagnostic to stderr, not stdout.
1995-10-28 21:01:01 +00:00
Jim Meyering
013277d331
New option --reference=FILE (-r FILE) analogous to the
...
like-named touch option.
(main): Recognize it and give diagnostic for misuse.
(usage): Describe briefly.
From Franc,ois Pinard.
(batch_convert): Close input stream also when it's not stdin.
(main): Reorganize to do option-consistency checks before all else.
1995-10-28 05:52:24 +00:00
Jim Meyering
ca59b76b50
(batch_convert): Close input stream also when it's not stdin.
1995-10-27 15:12:31 +00:00
Jim Meyering
b9485b8d52
(main): Use xfopen, not xtmpopen to open final output file.
1995-10-26 13:20:25 +00:00
Jim Meyering
66b9285a6f
(xtmpfopen): New function -- for opening temp files.
...
Use it instead of xfopen.
1995-10-26 13:19:10 +00:00