Jim Meyering [Mon, 6 Nov 1995 04:58:56 +0000 (04:58 +0000)]
Protoize.
Jim Meyering [Sun, 5 Nov 1995 16:58:15 +0000 (16:58 +0000)]
(join): Protoize. Somehow, protoize missed this one.
Jim Meyering [Sun, 5 Nov 1995 13:16:57 +0000 (13:16 +0000)]
.
Jim Meyering [Sun, 5 Nov 1995 13:16:24 +0000 (13:16 +0000)]
Protect prototypes with __P.
Jim Meyering [Sun, 5 Nov 1995 13:12:54 +0000 (13:12 +0000)]
Move prototypes after struct declarations.
Remove prototypes for xmalloc, xrealloc.
(new_control_record): Cast arg 1 to realloc.
Jim Meyering [Sun, 5 Nov 1995 13:02:44 +0000 (13:02 +0000)]
Protoize.
Jim Meyering [Sun, 5 Nov 1995 12:59:52 +0000 (12:59 +0000)]
[__P]: Test PROTOTYPES, not __STDC__.
Protoize.
Jim Meyering [Sun, 5 Nov 1995 05:51:53 +0000 (05:51 +0000)]
(close_output_file): Set output_stream to NULL so we don't recurse
endlessly between this function and cleanup.
Jim Meyering [Sun, 5 Nov 1995 05:48:57 +0000 (05:48 +0000)]
(unquote): Add casts to avoid signed char* from/to char* warnings.
Jim Meyering [Fri, 3 Nov 1995 20:03:44 +0000 (20:03 +0000)]
.
Jim Meyering [Fri, 3 Nov 1995 20:03:18 +0000 (20:03 +0000)]
.
Jim Meyering [Fri, 3 Nov 1995 20:02:00 +0000 (20:02 +0000)]
New version from glibc.
Jim Meyering [Fri, 3 Nov 1995 20:01:13 +0000 (20:01 +0000)]
(remove_file, remove_dir): Use euidaccess instead of euidaccess_stat.Likewise.
Jim Meyering [Fri, 3 Nov 1995 20:00:24 +0000 (20:00 +0000)]
(do_move): Use euidaccess instead of euidaccess_stat.Likewise.
Jim Meyering [Fri, 3 Nov 1995 19:59:44 +0000 (19:59 +0000)]
(copy): Use euidaccess instead of euidaccess_stat.
Jim Meyering [Fri, 3 Nov 1995 19:56:08 +0000 (19:56 +0000)]
New version from glibc.
Jim Meyering [Thu, 2 Nov 1995 17:11:51 +0000 (17:11 +0000)]
Add `const' attribute to some parameters.
Jim Meyering [Thu, 2 Nov 1995 17:11:17 +0000 (17:11 +0000)]
.
Jim Meyering [Thu, 2 Nov 1995 17:11:04 +0000 (17:11 +0000)]
.
Jim Meyering [Thu, 2 Nov 1995 17:08:24 +0000 (17:08 +0000)]
Protoize.
Jim Meyering [Thu, 2 Nov 1995 17:06:52 +0000 (17:06 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.
Jim Meyering [Tue, 31 Oct 1995 12:52:29 +0000 (12:52 +0000)]
(isdigits, convint): Remove these.
(main): Use xstrtol instead.
Jim Meyering [Tue, 31 Oct 1995 12:52:14 +0000 (12:52 +0000)]
.
Jim Meyering [Tue, 31 Oct 1995 12:39:18 +0000 (12:39 +0000)]
Add `const' attribute to some parameters.
Jim Meyering [Tue, 31 Oct 1995 12:36:43 +0000 (12:36 +0000)]
protoize.
Jim Meyering [Tue, 31 Oct 1995 12:34:48 +0000 (12:34 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.
Jim Meyering [Tue, 31 Oct 1995 02:22:23 +0000 (02:22 +0000)]
(usage, next_line_num, main): Protoize.
Jim Meyering [Tue, 31 Oct 1995 02:21:37 +0000 (02:21 +0000)]
Add `const' attribute to some parameters.
Jim Meyering [Tue, 31 Oct 1995 02:21:13 +0000 (02:21 +0000)]
Add `const' attribute to some parameters.
Jim Meyering [Mon, 30 Oct 1995 21:01:35 +0000 (21:01 +0000)]
Protoize.
Jim Meyering [Mon, 30 Oct 1995 21:00:36 +0000 (21:00 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.
Jim Meyering [Mon, 30 Oct 1995 18:00:05 +0000 (18:00 +0000)]
(eaccess_stat): Make static.
Jim Meyering [Mon, 30 Oct 1995 17:53:48 +0000 (17:53 +0000)]
(copy): Update one of the calls to eaccess_stat to use 3 arguments. Ugh!
Jim Meyering [Sun, 29 Oct 1995 20:44:54 +0000 (20:44 +0000)]
.
Jim Meyering [Sun, 29 Oct 1995 20:44:14 +0000 (20:44 +0000)]
.
Jim Meyering [Sun, 29 Oct 1995 20:38:01 +0000 (20:38 +0000)]
(xwrite): Give output buffer parameter const attribute.
(output): Likewise for both parameters.
(tac): Likewise for file name parameter.
(tac_file): Likewise.
Jim Meyering [Sun, 29 Oct 1995 20:35:11 +0000 (20:35 +0000)]
protoize.
Jim Meyering [Sun, 29 Oct 1995 20:33:04 +0000 (20:33 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.
Jim Meyering [Sun, 29 Oct 1995 20:24:53 +0000 (20:24 +0000)]
(bsd_sum_file): Give file name parameter const attribute.
(sysv_sum_file): Likewise.
Jim Meyering [Sun, 29 Oct 1995 20:20:08 +0000 (20:20 +0000)]
Protoize.
Jim Meyering [Sun, 29 Oct 1995 20:19:26 +0000 (20:19 +0000)]
(main): Move function body to end of file.
Remove forward dcls.
Jim Meyering [Sun, 29 Oct 1995 20:15:54 +0000 (20:15 +0000)]
(nl_file): Give parameter const attribute.
Protoize.
Jim Meyering [Sun, 29 Oct 1995 20:12:32 +0000 (20:12 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.
Jim Meyering [Sun, 29 Oct 1995 20:05:29 +0000 (20:05 +0000)]
(main): Move function body to end of file.
Remove forward dcls and protoize.
Jim Meyering [Sun, 29 Oct 1995 19:29:19 +0000 (19:29 +0000)]
Rename --file to --reference.
Leave --file as an alias, for now. It will be removed later.
(usage): Update, but don't mention --file.
Jim Meyering [Sun, 29 Oct 1995 19:28:59 +0000 (19:28 +0000)]
.
Jim Meyering [Sun, 29 Oct 1995 19:21:08 +0000 (19:21 +0000)]
.
Jim Meyering [Sun, 29 Oct 1995 19:20:36 +0000 (19:20 +0000)]
[TEST_STANDALONE]: Define.
Jim Meyering [Sun, 29 Oct 1995 19:20:12 +0000 (19:20 +0000)]
.
Jim Meyering [Sun, 29 Oct 1995 14:26:48 +0000 (14:26 +0000)]
(mostlyclean): Remove *.info.
Jim Meyering [Sun, 29 Oct 1995 14:23:11 +0000 (14:23 +0000)]
(distclean): Remove .deps.
Jim Meyering [Sun, 29 Oct 1995 14:22:15 +0000 (14:22 +0000)]
.
Jim Meyering [Sun, 29 Oct 1995 14:20:13 +0000 (14:20 +0000)]
.
Jim Meyering [Sun, 29 Oct 1995 12:14:37 +0000 (12:14 +0000)]
(INCLUDE, COMPILE): New variables.
(.c.o): Rewrite to be more like src/Makefile.in.
Add line that (--with-autodeps) will include mkdep-Makefile.
Jim Meyering [Sat, 28 Oct 1995 21:07:18 +0000 (21:07 +0000)]
.
Jim Meyering [Sat, 28 Oct 1995 21:04:08 +0000 (21:04 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Oct 1995 21:02:57 +0000 (21:02 +0000)]
.
Jim Meyering [Sat, 28 Oct 1995 21:01:01 +0000 (21:01 +0000)]
(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.
Jim Meyering [Sat, 28 Oct 1995 05:55:34 +0000 (05:55 +0000)]
.
Jim Meyering [Sat, 28 Oct 1995 05:52:24 +0000 (05:52 +0000)]
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.
Jim Meyering [Sat, 28 Oct 1995 05:51:44 +0000 (05:51 +0000)]
.
Jim Meyering [Fri, 27 Oct 1995 15:12:31 +0000 (15:12 +0000)]
(batch_convert): Close input stream also when it's not stdin.
Jim Meyering [Thu, 26 Oct 1995 13:20:25 +0000 (13:20 +0000)]
(main): Use xfopen, not xtmpopen to open final output file.
Jim Meyering [Thu, 26 Oct 1995 13:19:10 +0000 (13:19 +0000)]
(xtmpfopen): New function -- for opening temp files.
Use it instead of xfopen.
Jim Meyering [Thu, 26 Oct 1995 05:14:53 +0000 (05:14 +0000)]
.
Jim Meyering [Thu, 26 Oct 1995 05:14:41 +0000 (05:14 +0000)]
(xfopen): Rewrite using open/fdopen in order to set
proper permissions on temporary files. Reported by Erik Corry
(erik@kroete2.freinet.de).
Jim Meyering [Tue, 24 Oct 1995 04:24:06 +0000 (04:24 +0000)]
.
Jim Meyering [Tue, 24 Oct 1995 04:17:33 +0000 (04:17 +0000)]
.
Jim Meyering [Sat, 21 Oct 1995 12:52:05 +0000 (12:52 +0000)]
.
Jim Meyering [Sat, 21 Oct 1995 12:50:56 +0000 (12:50 +0000)]
.
Jim Meyering [Fri, 20 Oct 1995 04:29:00 +0000 (04:29 +0000)]
.
Jim Meyering [Fri, 20 Oct 1995 04:26:56 +0000 (04:26 +0000)]
(BEGIN_STATE): Use INT_MAX - 1 so as not to interfere with large repeat counts.
(struct E_string): New struct.
(find_closing_delim): Take E_string arg rather than char* and length.
(find_bracketed_repeat): Likewise.
(star_digits_closebracket): New function.
(append_char_class): No longer give diagnostic.
(append_equiv_class): No longer give diagnostic.
(build_spec_list): Give them here instead, allowing things like [:*][:upper:]
that got errors before.
Take E_string arg rather than char*.
Convert switch stmts into if-then so as to use ES_MATCH.
Jim Meyering [Thu, 19 Oct 1995 22:40:10 +0000 (22:40 +0000)]
.
Jim Meyering [Thu, 19 Oct 1995 22:39:16 +0000 (22:39 +0000)]
.
Jim Meyering [Thu, 19 Oct 1995 22:38:39 +0000 (22:38 +0000)]
Indent cpp directives.
Jim Meyering [Thu, 19 Oct 1995 15:42:45 +0000 (15:42 +0000)]
(build_spec_list): Propagate interface change.
(parse_str): Likewise.
Jim Meyering [Thu, 19 Oct 1995 15:33:33 +0000 (15:33 +0000)]
(struct E_string): Define.
(unquote): Convert string to E_string instead of overwriting input.
Backslash-escaped non-special characters are marked as quoted in E_string.
(build_spec_list): Convert outer switch stmt to an if-stmt.
(parse_str): Update sole caller of unquote.
Jim Meyering [Thu, 19 Oct 1995 14:21:35 +0000 (14:21 +0000)]
New version from FSF.
Jim Meyering [Thu, 19 Oct 1995 13:29:34 +0000 (13:29 +0000)]
Break lines longer than 79-80 chars.
Jim Meyering [Thu, 19 Oct 1995 04:10:45 +0000 (04:10 +0000)]
.
Jim Meyering [Wed, 18 Oct 1995 22:05:29 +0000 (22:05 +0000)]
Use HAVE_SYS_WAIT_H, not _POSIX_VERSION in conditional
inclusion of sys/wait.h.
[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
[endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.
Jim Meyering [Wed, 18 Oct 1995 22:05:06 +0000 (22:05 +0000)]
Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.
Jim Meyering [Wed, 18 Oct 1995 17:02:07 +0000 (17:02 +0000)]
(duplicate_entry): Always return 0 if !D_INO_IN_DIRENT, rather than
if _POSIX_SOURCE
Jim Meyering [Wed, 18 Oct 1995 16:33:52 +0000 (16:33 +0000)]
.
Jim Meyering [Wed, 18 Oct 1995 16:28:14 +0000 (16:28 +0000)]
.
Jim Meyering [Wed, 18 Oct 1995 16:11:58 +0000 (16:11 +0000)]
(main): Fail if the same file system type was both selected and excluded.
Jim Meyering [Wed, 18 Oct 1995 16:08:13 +0000 (16:08 +0000)]
[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
Jim Meyering [Wed, 18 Oct 1995 16:07:44 +0000 (16:07 +0000)]
[endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.
[endgrent]: Remove unused definition.
Jim Meyering [Wed, 18 Oct 1995 15:59:12 +0000 (15:59 +0000)]
[HAVE_ENDGRENT]: Define away endgrent.
[HAVE_ENDPWENT]: Define away endpwent.
Jim Meyering [Wed, 18 Oct 1995 15:57:50 +0000 (15:57 +0000)]
Use _POSIX_VERSION, not _POSIX_SOURCE.
Jim Meyering [Wed, 18 Oct 1995 14:31:14 +0000 (14:31 +0000)]
Merge latest change from FSF.
Jim Meyering [Wed, 18 Oct 1995 14:29:16 +0000 (14:29 +0000)]
Get latest from FSF.
Jim Meyering [Wed, 18 Oct 1995 03:48:29 +0000 (03:48 +0000)]
.
Jim Meyering [Wed, 18 Oct 1995 03:45:44 +0000 (03:45 +0000)]
Prootize.
Jim Meyering [Tue, 17 Oct 1995 14:01:00 +0000 (14:01 +0000)]
Add `const' attribute to dcls of lots of formals.
Jim Meyering [Tue, 17 Oct 1995 13:49:32 +0000 (13:49 +0000)]
Protoize.
Jim Meyering [Tue, 17 Oct 1995 13:47:48 +0000 (13:47 +0000)]
Protoize.
Jim Meyering [Tue, 17 Oct 1995 13:43:00 +0000 (13:43 +0000)]
Reorder functions to obviate forward dcls. Remove forward dcls.
Jim Meyering [Tue, 17 Oct 1995 13:39:44 +0000 (13:39 +0000)]
Reorder functions to obviate forward dcls. Remove forward dcls.
Jim Meyering [Tue, 17 Oct 1995 13:35:26 +0000 (13:35 +0000)]
Protoize. Reorder functions to obviate forward dcls. Remove forward dcls.