platform/upstream/coreutils.git
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.

28 years agoProtoize.
Jim Meyering [Tue, 17 Oct 1995 13:49:32 +0000 (13:49 +0000)]
Protoize.

28 years agoProtoize.
Jim Meyering [Tue, 17 Oct 1995 13:47:48 +0000 (13:47 +0000)]
Protoize.

28 years agoReorder functions to obviate forward dcls. Remove forward dcls.
Jim Meyering [Tue, 17 Oct 1995 13:43:00 +0000 (13:43 +0000)]
Reorder functions to obviate forward dcls.  Remove forward dcls.

28 years agoReorder 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.

28 years agoProtoize. 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.

28 years agoProtoize. Reorder functions to obviate forward dcls.
Jim Meyering [Tue, 17 Oct 1995 13:13:19 +0000 (13:13 +0000)]
Protoize.  Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years agoProtoize.
Jim Meyering [Mon, 16 Oct 1995 21:30:25 +0000 (21:30 +0000)]
Protoize.
Reorder functions to obviate forward dcls.
Remove forward dcls.

28 years agoMove struct dcls to precede dcls of file-scope variables.
Jim Meyering [Mon, 16 Oct 1995 14:45:09 +0000 (14:45 +0000)]
Move struct dcls to precede dcls of file-scope variables.
(monthtab, keyhead): Separate variable dcls from type dcls.

28 years ago(usage): Move function definition to precede uses and
Jim Meyering [Mon, 16 Oct 1995 14:38:11 +0000 (14:38 +0000)]
(usage): Move function definition to precede uses and
remove remove forward dcl.
Protoize and add `const' attribute to dcls of lots of formals.

28 years ago.
Jim Meyering [Sat, 14 Oct 1995 01:39:01 +0000 (01:39 +0000)]
.

28 years ago(prjoin): Handle case in which file spec is 0.
Jim Meyering [Fri, 13 Oct 1995 17:22:58 +0000 (17:22 +0000)]
(prjoin): Handle case in which file spec is 0.
(add_field): Update assertions.
(decode_field_spec): For S == "0", set file spec to zero and don't modify
*FIELD_INDEX.  Otherwise, *FIELD_INDEX gets the zero-based index.

28 years agoAdd tests to exercize -o 0.
Jim Meyering [Fri, 13 Oct 1995 17:16:48 +0000 (17:16 +0000)]
Add tests to exercize -o 0.

28 years ago(prjoin): Rewrite loop that iterates over field specs.
Jim Meyering [Fri, 13 Oct 1995 13:16:34 +0000 (13:16 +0000)]
(prjoin): Rewrite loop that iterates over field specs.

28 years ago(add_field_list): Allow SPACE and TAB as well as `,' as list item separators.
Jim Meyering [Thu, 12 Oct 1995 21:42:52 +0000 (21:42 +0000)]
(add_field_list): Allow SPACE and TAB as well as `,' as list item separators.

28 years agoRemove bogus FIXME.
Jim Meyering [Thu, 12 Oct 1995 04:08:35 +0000 (04:08 +0000)]
Remove bogus FIXME.

28 years ago.
Jim Meyering [Mon, 9 Oct 1995 13:59:55 +0000 (13:59 +0000)]
.

28 years ago.
Jim Meyering [Mon, 9 Oct 1995 13:59:25 +0000 (13:59 +0000)]
.

28 years agoIndent cpp directives to reflect nesting.
Jim Meyering [Mon, 9 Oct 1995 03:48:08 +0000 (03:48 +0000)]
Indent cpp directives to reflect nesting.

28 years agoModified from glibc copy.
Jim Meyering [Mon, 9 Oct 1995 03:46:41 +0000 (03:46 +0000)]
Modified from glibc copy.

28 years ago(SOURCES): Add strpbrk.c..
Jim Meyering [Mon, 9 Oct 1995 03:42:21 +0000 (03:42 +0000)]
(SOURCES): Add strpbrk.c..
Remove bcopy.c.

28 years ago.
Jim Meyering [Mon, 9 Oct 1995 03:42:11 +0000 (03:42 +0000)]
.

28 years ago.
Jim Meyering [Sun, 8 Oct 1995 04:02:09 +0000 (04:02 +0000)]
.

28 years ago(main): Close input files.
Jim Meyering [Sun, 8 Oct 1995 04:02:00 +0000 (04:02 +0000)]
(main): Close input files.

28 years agoAdd alloca junk.
Jim Meyering [Sun, 8 Oct 1995 03:38:09 +0000 (03:38 +0000)]
Add alloca junk.

28 years ago.
Jim Meyering [Sun, 8 Oct 1995 03:30:22 +0000 (03:30 +0000)]
.

28 years ago(add_field): No longer return a value.
Jim Meyering [Sun, 8 Oct 1995 03:28:21 +0000 (03:28 +0000)]
(add_field): No longer return a value.
(decode_field_spec): New function.
(add_field_list): Rewrite to be more strict about what is accepted.
Before, `,1.2' was accepted as valid.
(main): Use xstrtol instead atoi.
Combine nearly identical -a and -v cases.

28 years ago.
Jim Meyering [Fri, 6 Oct 1995 19:23:31 +0000 (19:23 +0000)]
.

28 years ago.
Jim Meyering [Fri, 6 Oct 1995 02:55:44 +0000 (02:55 +0000)]
.

28 years agoInclude limits.h.
Jim Meyering [Fri, 6 Oct 1995 02:55:14 +0000 (02:55 +0000)]
Include limits.h.
[!INT_MAX]: Define it.

28 years ago[!HAVE_UTIME_H]: Don't declare struct utimbuf here.
Jim Meyering [Fri, 6 Oct 1995 02:53:42 +0000 (02:53 +0000)]
[!HAVE_UTIME_H]: Don't declare struct utimbuf here.
[!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.

28 years ago.
Jim Meyering [Fri, 6 Oct 1995 02:51:04 +0000 (02:51 +0000)]
.

28 years ago(read_filesystem_list): Cast -1 to dev_t before assignment.
Jim Meyering [Thu, 5 Oct 1995 14:14:45 +0000 (14:14 +0000)]
(read_filesystem_list): Cast -1 to dev_t before assignment.

28 years ago(show_point): Cast -2 to dev_t before assignment.
Jim Meyering [Thu, 5 Oct 1995 14:12:29 +0000 (14:12 +0000)]
(show_point): Cast -2 to dev_t before assignment.

28 years agoprotoize
Jim Meyering [Wed, 4 Oct 1995 21:21:23 +0000 (21:21 +0000)]
protoize

28 years agoRemove forward dcl of usage.
Jim Meyering [Wed, 4 Oct 1995 21:20:40 +0000 (21:20 +0000)]
Remove forward dcl of usage.

28 years ago(usage): Move to precede all other functions.
Jim Meyering [Wed, 4 Oct 1995 21:19:28 +0000 (21:19 +0000)]
(usage): Move to precede all other functions.

28 years ago(main): Report `too few/many non-option arguments' then print --help
Jim Meyering [Wed, 4 Oct 1995 21:17:43 +0000 (21:17 +0000)]
(main): Report `too few/many non-option arguments' then print --help
output rather than just the latter.
Properly interpret obsolescent usage like `join -o 2.1 2.1 2.2'.
(usage): Describe POSIX -1, -2 options and deprecate -j* ones

28 years ago.
Jim Meyering [Wed, 4 Oct 1995 03:46:43 +0000 (03:46 +0000)]
.

28 years agoTest SA_INTERRUPT, not _POSIX_VERSION,
Jim Meyering [Wed, 4 Oct 1995 03:46:35 +0000 (03:46 +0000)]
Test SA_INTERRUPT, not _POSIX_VERSION,
to determine whether `sigaction' functions are available.
Reported by Paul Nevai <nevai@ops.mps.ohio-state.edu>.
Fix suggested by Karl Berry.

28 years ago(set_fields): Use memset (not open coded loop) to initialize array.
Jim Meyering [Tue, 3 Oct 1995 20:28:44 +0000 (20:28 +0000)]
(set_fields): Use memset (not open coded loop) to initialize array.

28 years agoConvert a lot of `int' types to `unsigned int' to avoid warnings from
Jim Meyering [Tue, 3 Oct 1995 20:21:32 +0000 (20:21 +0000)]
Convert a lot of `int' types to `unsigned int' to avoid warnings from
`gcc -Wall' about comparing signed and unsigned types.

28 years ago(main): Declare counter, N_STRINGS, to be an integral type, not `char'.
Jim Meyering [Tue, 3 Oct 1995 20:18:39 +0000 (20:18 +0000)]
(main): Declare counter, N_STRINGS, to be an integral type, not `char'.

28 years agoCorrect typos, mostly from Jens Schweikhardt.
Jim Meyering [Tue, 3 Oct 1995 19:05:47 +0000 (19:05 +0000)]
Correct typos, mostly from Jens Schweikhardt.

28 years ago.c
Jim Meyering [Sun, 1 Oct 1995 22:50:25 +0000 (22:50 +0000)]
.c

28 years agoRemove trailing whitespace.
Jim Meyering [Sun, 1 Oct 1995 22:49:07 +0000 (22:49 +0000)]
Remove trailing whitespace.

28 years agoDeclare stat, xstat.
Jim Meyering [Sun, 1 Oct 1995 22:40:11 +0000 (22:40 +0000)]
Declare stat, xstat.

28 years agoDeclare stat, xstat.
Jim Meyering [Sun, 1 Oct 1995 20:17:25 +0000 (20:17 +0000)]
Declare stat, xstat.

28 years ago(SOURCES): Add strtoul.
Jim Meyering [Sun, 1 Oct 1995 19:02:29 +0000 (19:02 +0000)]
(SOURCES): Add strtoul.

28 years ago(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy untruncated block
Jim Meyering [Sun, 1 Oct 1995 18:23:29 +0000 (18:23 +0000)]
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]: Copy untruncated block
counts from f_spare array into proper members of struct statfs.
From Eirik Fuller (eirik@netapp.com);

28 years ago. TEXTUTILS-1_13
Jim Meyering [Fri, 29 Sep 1995 04:50:31 +0000 (04:50 +0000)]
.

28 years ago.
Jim Meyering [Fri, 29 Sep 1995 04:49:08 +0000 (04:49 +0000)]
.

28 years ago(dired_dump_obstack): Don't generate any output if the obstack is empty.
Jim Meyering [Fri, 29 Sep 1995 04:09:22 +0000 (04:09 +0000)]
(dired_dump_obstack): Don't generate any output if the obstack is empty.
(main): Always initialize and dump subdired_obstack, not just if -R.
`ls -lDR dir dir2' was using uninitialized subdired_obstack.
Reported by Samuli K{rkk{inen <hskarkka@snakemail.hut.fi>.

28 years ago(decode_one_format): Remove spurious semicolon.
Jim Meyering [Wed, 27 Sep 1995 15:58:18 +0000 (15:58 +0000)]
(decode_one_format): Remove spurious semicolon.