platform/upstream/coreutils.git
28 years agoFrom FSF.
Jim Meyering [Mon, 6 Nov 1995 17:06:24 +0000 (17:06 +0000)]
From FSF.

28 years ago.
Jim Meyering [Mon, 6 Nov 1995 16:24:07 +0000 (16:24 +0000)]
.

28 years ago(usage): Remove last sentence. It is redundant.
Jim Meyering [Mon, 6 Nov 1995 14:01:46 +0000 (14:01 +0000)]
(usage): Remove last sentence.  It is redundant.

28 years ago[__P]: Define. Use it in prototyped forward decls.
Jim Meyering [Mon, 6 Nov 1995 05:06:25 +0000 (05:06 +0000)]
[__P]: Define.  Use it in prototyped forward decls.

28 years ago(store_columns): Remove spurious 2nd argument in call to read_line.
Jim Meyering [Mon, 6 Nov 1995 05:01:16 +0000 (05:01 +0000)]
(store_columns): Remove spurious 2nd argument in call to read_line.

28 years agoProtoize.
Jim Meyering [Mon, 6 Nov 1995 04:58:56 +0000 (04:58 +0000)]
Protoize.

28 years ago(join): Protoize. Somehow, protoize missed this one.
Jim Meyering [Sun, 5 Nov 1995 16:58:15 +0000 (16:58 +0000)]
(join): Protoize.  Somehow, protoize missed this one.

28 years ago.
Jim Meyering [Sun, 5 Nov 1995 13:16:57 +0000 (13:16 +0000)]
.

28 years agoProtect prototypes with __P.
Jim Meyering [Sun, 5 Nov 1995 13:16:24 +0000 (13:16 +0000)]
Protect prototypes with __P.

28 years agoMove prototypes after struct declarations.
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.

28 years agoProtoize.
Jim Meyering [Sun, 5 Nov 1995 13:02:44 +0000 (13:02 +0000)]
Protoize.

28 years ago[__P]: Test PROTOTYPES, not __STDC__.
Jim Meyering [Sun, 5 Nov 1995 12:59:52 +0000 (12:59 +0000)]
[__P]: Test PROTOTYPES, not __STDC__.
Protoize.

28 years ago(close_output_file): Set output_stream to NULL so we don't recurse
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.

28 years ago(unquote): Add casts to avoid signed char* from/to char* warnings.
Jim Meyering [Sun, 5 Nov 1995 05:48:57 +0000 (05:48 +0000)]
(unquote): Add casts to avoid signed char* from/to char* warnings.

28 years ago. FILEUTILS-3_12f
Jim Meyering [Fri, 3 Nov 1995 20:03:44 +0000 (20:03 +0000)]
.

28 years ago.
Jim Meyering [Fri, 3 Nov 1995 20:03:18 +0000 (20:03 +0000)]
.

28 years agoNew version from glibc.
Jim Meyering [Fri, 3 Nov 1995 20:02:00 +0000 (20:02 +0000)]
New version from glibc.

28 years ago(remove_file, remove_dir): Use euidaccess instead of euidaccess_stat.Likewise.
Jim Meyering [Fri, 3 Nov 1995 20:01:13 +0000 (20:01 +0000)]
(remove_file, remove_dir): Use euidaccess instead of euidaccess_stat.Likewise.

28 years ago(do_move): 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.

28 years ago(copy): Use euidaccess instead of euidaccess_stat.
Jim Meyering [Fri, 3 Nov 1995 19:59:44 +0000 (19:59 +0000)]
(copy): Use euidaccess instead of euidaccess_stat.

28 years agoNew version from glibc.
Jim Meyering [Fri, 3 Nov 1995 19:56:08 +0000 (19:56 +0000)]
New version from glibc.

28 years agoAdd `const' attribute to some parameters.
Jim Meyering [Thu, 2 Nov 1995 17:11:51 +0000 (17:11 +0000)]
Add `const' attribute to some parameters.

28 years ago.
Jim Meyering [Thu, 2 Nov 1995 17:11:17 +0000 (17:11 +0000)]
.

28 years ago.
Jim Meyering [Thu, 2 Nov 1995 17:11:04 +0000 (17:11 +0000)]
.

28 years agoProtoize.
Jim Meyering [Thu, 2 Nov 1995 17:08:24 +0000 (17:08 +0000)]
Protoize.

28 years agoReorder functions to obviate forward dcls.
Jim Meyering [Thu, 2 Nov 1995 17:06:52 +0000 (17:06 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years ago(isdigits, convint): Remove these.
Jim Meyering [Tue, 31 Oct 1995 12:52:29 +0000 (12:52 +0000)]
(isdigits, convint): Remove these.
(main): Use xstrtol instead.

28 years ago.
Jim Meyering [Tue, 31 Oct 1995 12:52:14 +0000 (12:52 +0000)]
.

28 years agoAdd `const' attribute to some parameters.
Jim Meyering [Tue, 31 Oct 1995 12:39:18 +0000 (12:39 +0000)]
Add `const' attribute to some parameters.

28 years agoprotoize.
Jim Meyering [Tue, 31 Oct 1995 12:36:43 +0000 (12:36 +0000)]
protoize.

28 years agoReorder functions to obviate forward dcls.
Jim Meyering [Tue, 31 Oct 1995 12:34:48 +0000 (12:34 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years ago(usage, next_line_num, main): Protoize.
Jim Meyering [Tue, 31 Oct 1995 02:22:23 +0000 (02:22 +0000)]
(usage, next_line_num, main): Protoize.

28 years agoAdd `const' attribute to some parameters.
Jim Meyering [Tue, 31 Oct 1995 02:21:37 +0000 (02:21 +0000)]
Add `const' attribute to some parameters.

28 years agoAdd `const' attribute to some parameters.
Jim Meyering [Tue, 31 Oct 1995 02:21:13 +0000 (02:21 +0000)]
Add `const' attribute to some parameters.

28 years agoProtoize.
Jim Meyering [Mon, 30 Oct 1995 21:01:35 +0000 (21:01 +0000)]
Protoize.

28 years agoReorder functions to obviate forward dcls.
Jim Meyering [Mon, 30 Oct 1995 21:00:36 +0000 (21:00 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years ago(eaccess_stat): Make static.
Jim Meyering [Mon, 30 Oct 1995 18:00:05 +0000 (18:00 +0000)]
(eaccess_stat): Make static.

28 years ago(copy): Update one of the calls to eaccess_stat to use 3 arguments. Ugh!
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!

28 years ago.
Jim Meyering [Sun, 29 Oct 1995 20:44:54 +0000 (20:44 +0000)]
.

28 years ago.
Jim Meyering [Sun, 29 Oct 1995 20:44:14 +0000 (20:44 +0000)]
.

28 years ago(xwrite): Give output buffer parameter const attribute.
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.

28 years agoprotoize.
Jim Meyering [Sun, 29 Oct 1995 20:35:11 +0000 (20:35 +0000)]
protoize.

28 years agoReorder functions to obviate forward dcls.
Jim Meyering [Sun, 29 Oct 1995 20:33:04 +0000 (20:33 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years ago(bsd_sum_file): Give file name parameter const attribute.
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.

28 years agoProtoize.
Jim Meyering [Sun, 29 Oct 1995 20:20:08 +0000 (20:20 +0000)]
Protoize.

28 years ago(main): Move function body to end of file.
Jim Meyering [Sun, 29 Oct 1995 20:19:26 +0000 (20:19 +0000)]
(main): Move function body to end of file.
Remove forward dcls.

28 years ago(nl_file): Give parameter const attribute.
Jim Meyering [Sun, 29 Oct 1995 20:15:54 +0000 (20:15 +0000)]
(nl_file): Give parameter const attribute.
Protoize.

28 years agoReorder functions to obviate forward dcls.
Jim Meyering [Sun, 29 Oct 1995 20:12:32 +0000 (20:12 +0000)]
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years ago(main): Move function body to end of file.
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.

28 years agoRename --file to --reference.
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.

28 years ago.
Jim Meyering [Sun, 29 Oct 1995 19:28:59 +0000 (19:28 +0000)]
.

28 years ago.
Jim Meyering [Sun, 29 Oct 1995 19:21:08 +0000 (19:21 +0000)]
.

28 years ago[TEST_STANDALONE]: Define.
Jim Meyering [Sun, 29 Oct 1995 19:20:36 +0000 (19:20 +0000)]
[TEST_STANDALONE]: Define.

28 years ago.
Jim Meyering [Sun, 29 Oct 1995 19:20:12 +0000 (19:20 +0000)]
.

28 years ago(mostlyclean): Remove *.info.
Jim Meyering [Sun, 29 Oct 1995 14:26:48 +0000 (14:26 +0000)]
(mostlyclean): Remove *.info.

28 years ago(distclean): Remove .deps.
Jim Meyering [Sun, 29 Oct 1995 14:23:11 +0000 (14:23 +0000)]
(distclean): Remove .deps.

28 years ago.
Jim Meyering [Sun, 29 Oct 1995 14:22:15 +0000 (14:22 +0000)]
.

28 years ago.
Jim Meyering [Sun, 29 Oct 1995 14:20:13 +0000 (14:20 +0000)]
.

28 years ago(INCLUDE, COMPILE): New variables.
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.

28 years ago.
Jim Meyering [Sat, 28 Oct 1995 21:07:18 +0000 (21:07 +0000)]
.

28 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 1995 21:04:08 +0000 (21:04 +0000)]
*** empty log message ***

28 years ago.
Jim Meyering [Sat, 28 Oct 1995 21:02:57 +0000 (21:02 +0000)]
.

28 years ago(md5_check): Use the same message format when the single file has a
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.

28 years ago.
Jim Meyering [Sat, 28 Oct 1995 05:55:34 +0000 (05:55 +0000)]
.

28 years agoNew option --reference=FILE (-r FILE) analogous to the
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.

28 years ago.
Jim Meyering [Sat, 28 Oct 1995 05:51:44 +0000 (05:51 +0000)]
.

28 years ago(batch_convert): Close input stream also when it's not stdin.
Jim Meyering [Fri, 27 Oct 1995 15:12:31 +0000 (15:12 +0000)]
(batch_convert): Close input stream also when it's not stdin.

28 years ago(main): Use xfopen, not xtmpopen to open final output file.
Jim Meyering [Thu, 26 Oct 1995 13:20:25 +0000 (13:20 +0000)]
(main): Use xfopen, not xtmpopen to open final output file.

28 years ago(xtmpfopen): New function -- for opening temp files.
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.

28 years ago.
Jim Meyering [Thu, 26 Oct 1995 05:14:53 +0000 (05:14 +0000)]
.

28 years ago(xfopen): Rewrite using open/fdopen in order to set
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).

28 years ago.
Jim Meyering [Tue, 24 Oct 1995 04:24:06 +0000 (04:24 +0000)]
.

28 years ago.
Jim Meyering [Tue, 24 Oct 1995 04:17:33 +0000 (04:17 +0000)]
.

28 years ago.
Jim Meyering [Sat, 21 Oct 1995 12:52:05 +0000 (12:52 +0000)]
.

28 years ago.
Jim Meyering [Sat, 21 Oct 1995 12:50:56 +0000 (12:50 +0000)]
.

28 years ago.
Jim Meyering [Fri, 20 Oct 1995 04:29:00 +0000 (04:29 +0000)]
.

28 years ago(BEGIN_STATE): Use INT_MAX - 1 so as not to interfere with large repeat counts.
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.

28 years ago.
Jim Meyering [Thu, 19 Oct 1995 22:40:10 +0000 (22:40 +0000)]
.

28 years ago.
Jim Meyering [Thu, 19 Oct 1995 22:39:16 +0000 (22:39 +0000)]
.

28 years agoIndent cpp directives.
Jim Meyering [Thu, 19 Oct 1995 22:38:39 +0000 (22:38 +0000)]
Indent cpp directives.

28 years ago(build_spec_list): Propagate interface change.
Jim Meyering [Thu, 19 Oct 1995 15:42:45 +0000 (15:42 +0000)]
(build_spec_list): Propagate interface change.
(parse_str): Likewise.

28 years ago(struct E_string): Define.
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.

28 years agoNew version from FSF.
Jim Meyering [Thu, 19 Oct 1995 14:21:35 +0000 (14:21 +0000)]
New version from FSF.

28 years agoBreak lines longer than 79-80 chars.
Jim Meyering [Thu, 19 Oct 1995 13:29:34 +0000 (13:29 +0000)]
Break lines longer than 79-80 chars.

28 years ago.
Jim Meyering [Thu, 19 Oct 1995 04:10:45 +0000 (04:10 +0000)]
.

28 years agoUse HAVE_SYS_WAIT_H, not _POSIX_VERSION in conditional
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.

28 years agoUse HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.
Jim Meyering [Wed, 18 Oct 1995 22:05:06 +0000 (22:05 +0000)]
Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.

28 years ago(duplicate_entry): Always return 0 if !D_INO_IN_DIRENT, rather than
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

28 years ago.
Jim Meyering [Wed, 18 Oct 1995 16:33:52 +0000 (16:33 +0000)]
.

28 years ago.
Jim Meyering [Wed, 18 Oct 1995 16:28:14 +0000 (16:28 +0000)]
.

28 years ago(main): Fail if the same file system type was both selected and excluded.
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.

28 years ago[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.
Jim Meyering [Wed, 18 Oct 1995 16:08:13 +0000 (16:08 +0000)]
[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.

28 years ago[endpwent]: Test !HAVE_ENDPWENT 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.

28 years ago[HAVE_ENDGRENT]: Define away endgrent.
Jim Meyering [Wed, 18 Oct 1995 15:59:12 +0000 (15:59 +0000)]
[HAVE_ENDGRENT]: Define away endgrent.
[HAVE_ENDPWENT]: Define away endpwent.

28 years agoUse _POSIX_VERSION, not _POSIX_SOURCE.
Jim Meyering [Wed, 18 Oct 1995 15:57:50 +0000 (15:57 +0000)]
Use _POSIX_VERSION, not _POSIX_SOURCE.

28 years agoMerge latest change from FSF.
Jim Meyering [Wed, 18 Oct 1995 14:31:14 +0000 (14:31 +0000)]
Merge latest change from FSF.

28 years agoGet latest from FSF.
Jim Meyering [Wed, 18 Oct 1995 14:29:16 +0000 (14:29 +0000)]
Get latest from FSF.

28 years ago.
Jim Meyering [Wed, 18 Oct 1995 03:48:29 +0000 (03:48 +0000)]
.

28 years agoProotize.
Jim Meyering [Wed, 18 Oct 1995 03:45:44 +0000 (03:45 +0000)]
Prootize.

28 years agoAdd `const' attribute to dcls of lots of formals.
Jim Meyering [Tue, 17 Oct 1995 14:01:00 +0000 (14:01 +0000)]
Add `const' attribute to dcls of lots of formals.