platform/upstream/coreutils.git
29 years ago(tail_lines): Change one more `long' to `off_t'.
Jim Meyering [Thu, 25 May 1995 05:09:00 +0000 (05:09 +0000)]
(tail_lines): Change one more `long' to `off_t'.
Otherwise, tail didn't work on NetBSD.  From by Arne H. Juul.

29 years agomerge with 1.11.3
Jim Meyering [Thu, 25 May 1995 05:02:37 +0000 (05:02 +0000)]
merge with 1.11.3

29 years ago.
Jim Meyering [Mon, 22 May 1995 04:43:42 +0000 (04:43 +0000)]
.

29 years ago(__strtol): Remove prototype altogether.
Jim Meyering [Mon, 22 May 1995 04:43:36 +0000 (04:43 +0000)]
(__strtol): Remove prototype altogether.
Move inclusion of xstrtol.h back so that it follows system headers.

29 years ago.
Jim Meyering [Mon, 22 May 1995 04:32:53 +0000 (04:32 +0000)]
.

29 years ago(usage): Add one or two lines of descriptive text.
Jim Meyering [Mon, 22 May 1995 04:30:18 +0000 (04:30 +0000)]
(usage): Add one or two lines of descriptive text.

29 years ago.
Jim Meyering [Sun, 21 May 1995 18:46:56 +0000 (18:46 +0000)]
.

29 years ago.
Jim Meyering [Sun, 21 May 1995 18:46:33 +0000 (18:46 +0000)]
.

29 years ago.
Jim Meyering [Sun, 21 May 1995 18:46:11 +0000 (18:46 +0000)]
.

29 years ago.
Jim Meyering [Sun, 21 May 1995 12:32:03 +0000 (12:32 +0000)]
.

29 years ago(install-exec, install-exec): New targets. From Karl Berry.
Jim Meyering [Sun, 21 May 1995 12:27:45 +0000 (12:27 +0000)]
(install-exec, install-exec): New targets.  From Karl Berry.
(maintainer-clean): Renamed from realclean per GNU Standards.

29 years ago.
Jim Meyering [Sun, 21 May 1995 12:23:15 +0000 (12:23 +0000)]
.

29 years agomerge with 1.11.2
Jim Meyering [Sun, 21 May 1995 11:57:14 +0000 (11:57 +0000)]
merge with 1.11.2

29 years agomerge with 1.11.1b
Jim Meyering [Sun, 21 May 1995 11:44:22 +0000 (11:44 +0000)]
merge with 1.11.1b

29 years agomerge with 1.11.1a
Jim Meyering [Sat, 20 May 1995 13:28:24 +0000 (13:28 +0000)]
merge with 1.11.1a

29 years ago.
Jim Meyering [Sat, 20 May 1995 12:36:49 +0000 (12:36 +0000)]
.

29 years ago.
Jim Meyering [Sat, 20 May 1995 12:09:05 +0000 (12:09 +0000)]
.

29 years ago(look_up_char_class): Take a string length argument.
Jim Meyering [Sat, 20 May 1995 12:08:35 +0000 (12:08 +0000)]
(look_up_char_class): Take a string length argument.
Use strncmp, not strcmp and verify that string lengths are the same.
(append_char_class): Update caller.
From Andreas Schwab.

29 years ago(next_file_name): Move dcls of file-scope variables into this function.
Jim Meyering [Sat, 20 May 1995 11:52:36 +0000 (11:52 +0000)]
(next_file_name): Move dcls of file-scope variables into this function.
Don't rely on arithmetic being two's complement.

29 years ago[CLOSED, ENDLIST]: Don't cast constants to FILE pointers.
Jim Meyering [Sat, 20 May 1995 11:47:31 +0000 (11:47 +0000)]
[CLOSED, ENDLIST]: Don't cast constants to FILE pointers.
Instead, declare two FILE structs and use their addresses.

29 years ago(usage): Tweak wording.
Jim Meyering [Sat, 20 May 1995 11:41:13 +0000 (11:41 +0000)]
(usage): Tweak wording.

29 years agoRemove backquote.
Jim Meyering [Fri, 19 May 1995 16:49:33 +0000 (16:49 +0000)]
Remove backquote.

29 years ago(record_line_starts): Remove set-but-not-used, file-scope variable.
Jim Meyering [Fri, 19 May 1995 15:59:40 +0000 (15:59 +0000)]
(record_line_starts): Remove set-but-not-used, file-scope variable.

29 years agoNo longer include safe-l?stat.h.
Jim Meyering [Fri, 19 May 1995 15:23:18 +0000 (15:23 +0000)]
No longer include safe-l?stat.h.

29 years agoOops. Test $tr, not `tr' from PATH.
Jim Meyering [Thu, 18 May 1995 18:20:57 +0000 (18:20 +0000)]
Oops.  Test $tr, not `tr' from PATH.

29 years agoTest [:lower:] to [:upper:] and vice versa.
Jim Meyering [Thu, 18 May 1995 18:20:12 +0000 (18:20 +0000)]
Test [:lower:] to [:upper:] and vice versa.

29 years agoSave error output in t*.err.
Jim Meyering [Tue, 16 May 1995 17:19:46 +0000 (17:19 +0000)]
Save error output in t*.err.

29 years ago.
Jim Meyering [Tue, 16 May 1995 17:19:32 +0000 (17:19 +0000)]
.

29 years agoRemove spurious space for missing arg2.
Jim Meyering [Tue, 16 May 1995 17:14:11 +0000 (17:14 +0000)]
Remove spurious space for missing arg2.

29 years agoAlways print message at end, not just upon failure.
Jim Meyering [Tue, 16 May 1995 17:13:39 +0000 (17:13 +0000)]
Always print message at end, not just upon failure.

29 years ago.
Jim Meyering [Mon, 15 May 1995 16:43:39 +0000 (16:43 +0000)]
.

29 years ago.
Jim Meyering [Mon, 15 May 1995 06:00:33 +0000 (06:00 +0000)]
.

29 years ago(usage): Add one- and two-line descriptions to --help output.
Jim Meyering [Mon, 15 May 1995 04:53:56 +0000 (04:53 +0000)]
(usage): Add one- and two-line descriptions to --help output.
From Karl.

29 years ago.
Jim Meyering [Sat, 13 May 1995 18:35:36 +0000 (18:35 +0000)]
.

29 years ago(usage): Include one- or two-line synopsis in --help output.
Jim Meyering [Sat, 13 May 1995 18:34:54 +0000 (18:34 +0000)]
(usage): Include one- or two-line synopsis in --help output.
From Karl Berry.

29 years ago.
Jim Meyering [Sat, 13 May 1995 14:05:46 +0000 (14:05 +0000)]
.

29 years ago(maintainer-clean): Rename from realclean.
Jim Meyering [Sat, 13 May 1995 13:55:56 +0000 (13:55 +0000)]
(maintainer-clean): Rename from realclean.
(.PHONY): New dependencies.
[.c.o]: Remove -I. since safe-l?stat.h is no longer used.

29 years ago.
Jim Meyering [Sat, 13 May 1995 13:39:07 +0000 (13:39 +0000)]
.

29 years ago(make_path): Use stat, not SAFE_STAT.
Jim Meyering [Sat, 13 May 1995 13:30:10 +0000 (13:30 +0000)]
(make_path): Use stat, not SAFE_STAT.
Use strchr, not index.  Adjust defines accordingly.

29 years ago(parse_user_spec): Use strchr, not index.
Jim Meyering [Sat, 13 May 1995 13:25:42 +0000 (13:25 +0000)]
(parse_user_spec): Use strchr, not index.
[!HAVE_STRING_H]: Define strchr in terms of index, not the other way around.

29 years ago(rmdir): Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:20:19 +0000 (13:20 +0000)]
(rmdir): Use stat, not safe_stat.

29 years ago(rename): Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:19:07 +0000 (13:19 +0000)]
(rename): Use stat, not safe_stat.
(rename): Compare src and dest inode numbers rather than src
inode and dest *dev* when determining whether src and dest refer
to the same file.  From marc@math.cornell.edu (Marc Parmet).

29 years ago(mkdir): Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:13:04 +0000 (13:13 +0000)]
(mkdir): Use stat, not safe_stat.

29 years agoUndef __P before defining.
Jim Meyering [Sat, 13 May 1995 13:10:38 +0000 (13:10 +0000)]
Undef __P before defining.
Guard definition with simpler `#if __STDC__'.

29 years ago(isdir): Usage stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:07:54 +0000 (13:07 +0000)]
(isdir): Usage stat, not safe_stat.

29 years ago(statfs): Use stat, not safe_stat.
Jim Meyering [Sat, 13 May 1995 13:06:46 +0000 (13:06 +0000)]
(statfs): Use stat, not safe_stat.

29 years ago(eaccess_stat): Make statp and path arguments const.
Jim Meyering [Sat, 13 May 1995 13:05:35 +0000 (13:05 +0000)]
(eaccess_stat): Make statp and path arguments const.
(euidaccess): Make statp argument const.  Use stat, not safe_stat.

29 years agoRemove unnecessary definitions for r?index.
Jim Meyering [Sat, 13 May 1995 13:02:08 +0000 (13:02 +0000)]
Remove unnecessary definitions for r?index.
Update definitions for ISDIGIT.

29 years agoRemove safe-l?stat.[ch]in and related rules.
Jim Meyering [Sat, 13 May 1995 12:57:46 +0000 (12:57 +0000)]
Remove safe-l?stat.[ch]in and related rules.

29 years ago(argmatch): Include sys/types.h and declare length argument with type size_t.
Jim Meyering [Sat, 13 May 1995 12:55:49 +0000 (12:55 +0000)]
(argmatch): Include sys/types.h and declare length argument with type size_t.

29 years ago(basename): Make arg const.
Jim Meyering [Sat, 13 May 1995 12:52:57 +0000 (12:52 +0000)]
(basename): Make arg const.

29 years agoUse stat (lstat), not safe_stat (safe_lstat).
Jim Meyering [Sat, 13 May 1995 12:48:33 +0000 (12:48 +0000)]
Use stat (lstat), not safe_stat (safe_lstat).

29 years agomaintainer-clean, PHONY, ...
Jim Meyering [Sat, 13 May 1995 12:22:27 +0000 (12:22 +0000)]
maintainer-clean, PHONY, ...

29 years agoUse l?stat, not safe_l?stat.
Jim Meyering [Sat, 13 May 1995 02:31:46 +0000 (02:31 +0000)]
Use l?stat, not safe_l?stat.

29 years ago(usage): Remove duplicate descriptions of --help and --version.
Jim Meyering [Sat, 13 May 1995 02:26:18 +0000 (02:26 +0000)]
(usage): Remove duplicate descriptions of --help and --version.
From Karl Berry.

29 years ago(movefile): Remove a single trailing slash from destdir before concatenating
Jim Meyering [Sat, 13 May 1995 02:21:40 +0000 (02:21 +0000)]
(movefile): Remove a single trailing slash from destdir before concatenating
with `/' and filename for `ok to overwrite...' message.

29 years agoTest tr in $PATH, not ./tr.
Jim Meyering [Fri, 12 May 1995 02:11:06 +0000 (02:11 +0000)]
Test tr in $PATH, not ./tr.

29 years agomerge with 1.11.1
Jim Meyering [Thu, 11 May 1995 14:06:53 +0000 (14:06 +0000)]
merge with 1.11.1

29 years agomerge with 1.11.g
Jim Meyering [Wed, 10 May 1995 14:22:19 +0000 (14:22 +0000)]
merge with 1.11.g

29 years ago.
Jim Meyering [Sun, 7 May 1995 18:37:14 +0000 (18:37 +0000)]
.

29 years ago.
Jim Meyering [Fri, 5 May 1995 14:58:59 +0000 (14:58 +0000)]
.

29 years ago(save_stdin): Don't hard-code /tmp.
Jim Meyering [Fri, 5 May 1995 05:09:58 +0000 (05:09 +0000)]
(save_stdin): Don't hard-code /tmp.
[DEFAULT_TMPDIR]: Use this instead.

29 years ago.
Jim Meyering [Fri, 5 May 1995 05:03:56 +0000 (05:03 +0000)]
.

29 years ago(main): Use stat, not safe_stat. The latter was unnecessary.
Jim Meyering [Fri, 5 May 1995 05:03:50 +0000 (05:03 +0000)]
(main): Use stat, not safe_stat.  The latter was unnecessary.

29 years ago.
Jim Meyering [Fri, 5 May 1995 04:37:58 +0000 (04:37 +0000)]
.

29 years agoPatch from Mike to fix handling of +x.yn.
Jim Meyering [Fri, 5 May 1995 04:37:21 +0000 (04:37 +0000)]
Patch from Mike to fix handling of +x.yn.

29 years agoDon't hard-code /tmp.
Jim Meyering [Fri, 5 May 1995 04:16:12 +0000 (04:16 +0000)]
Don't hard-code /tmp.
[DEFAULT_TMPDIR]: Use this instead.

29 years ago.
Jim Meyering [Tue, 2 May 1995 04:04:39 +0000 (04:04 +0000)]
.

29 years ago(quote_filename): Never return NULL when quoting filenames
Jim Meyering [Tue, 2 May 1995 04:04:32 +0000 (04:04 +0000)]
(quote_filename): Never return NULL when quoting filenames
as C-strings.  --quote-name was quoting only strings containing
at least one C-quotable character.  Reported by David J. MacKenzie.

29 years ago(usage): Fix per kb's suggestions.
Jim Meyering [Sun, 30 Apr 1995 12:57:50 +0000 (12:57 +0000)]
(usage): Fix per kb's suggestions.

29 years agoUse __-protected versions of `format' and `printf' only with gcc-2.7 and later.
Jim Meyering [Thu, 27 Apr 1995 17:04:23 +0000 (17:04 +0000)]
Use __-protected versions of `format' and `printf' only with gcc-2.7 and later.

29 years agomerge with 1.11.f
Jim Meyering [Thu, 27 Apr 1995 06:06:46 +0000 (06:06 +0000)]
merge with 1.11.f

29 years ago(REGEX_FREE): Add back the `while (0)' hack
Jim Meyering [Thu, 27 Apr 1995 05:23:35 +0000 (05:23 +0000)]
(REGEX_FREE): Add back the `while (0)' hack
Put back ifdefs to protect unnecessary decl.

29 years agoLatest from RMS.
Jim Meyering [Thu, 27 Apr 1995 04:54:07 +0000 (04:54 +0000)]
Latest from RMS.

29 years ago.
Jim Meyering [Thu, 27 Apr 1995 04:51:57 +0000 (04:51 +0000)]
.

29 years ago(EMACS_INT): Define it to int. (BIG KLUDGE)
Jim Meyering [Wed, 26 Apr 1995 17:19:13 +0000 (17:19 +0000)]
(EMACS_INT): Define it to int.  (BIG KLUDGE)

29 years ago(REGEX_FREE): Define to `while (0) /* empty */' rather than nothing.
Jim Meyering [Wed, 26 Apr 1995 17:18:27 +0000 (17:18 +0000)]
(REGEX_FREE): Define to `while (0) /* empty */' rather than nothing.
Otherwise, some uses got warnings about empty if-clause.

Declare failure_stack_ptr only #ifdef REL_ALLOC.

29 years agoNew version from FSF.
Jim Meyering [Wed, 26 Apr 1995 17:02:38 +0000 (17:02 +0000)]
New version from FSF.

29 years ago(tempname): AND-off high bits of pid so that its decimal
Jim Meyering [Wed, 26 Apr 1995 16:12:01 +0000 (16:12 +0000)]
(tempname): AND-off high bits of pid so that its decimal
string representation is no longer than five digits.
From Hans Verkuil (hans@wyst.hobby.nl)

29 years ago.
Jim Meyering [Tue, 25 Apr 1995 05:40:06 +0000 (05:40 +0000)]
.

29 years agoProtect format and printf with __*__.
Jim Meyering [Mon, 24 Apr 1995 16:25:29 +0000 (16:25 +0000)]
Protect format and printf with __*__.

29 years agoFix mostly per Franc,ois' suggestions.
Jim Meyering [Sat, 22 Apr 1995 05:54:18 +0000 (05:54 +0000)]
Fix mostly per Franc,ois' suggestions.

29 years agoUpdate and add copyright.
Jim Meyering [Fri, 21 Apr 1995 17:29:15 +0000 (17:29 +0000)]
Update and add copyright.

29 years ago.
Jim Meyering [Fri, 21 Apr 1995 06:24:54 +0000 (06:24 +0000)]
.

29 years ago.
Jim Meyering [Fri, 21 Apr 1995 04:22:00 +0000 (04:22 +0000)]
.

29 years ago(add_tabstop): Give correct size when reallocating tab_list buffer.
Jim Meyering [Fri, 21 Apr 1995 04:12:33 +0000 (04:12 +0000)]
(add_tabstop): Give correct size when reallocating tab_list buffer.
From Geoff Odhner (geoff@franklin.com).

29 years ago.
Jim Meyering [Wed, 19 Apr 1995 03:58:38 +0000 (03:58 +0000)]
.

29 years ago.
Jim Meyering [Sat, 15 Apr 1995 13:15:02 +0000 (13:15 +0000)]
.

29 years ago(next_file_name): Don't reuse X as an index.
Jim Meyering [Fri, 14 Apr 1995 04:29:41 +0000 (04:29 +0000)]
(next_file_name): Don't reuse X as an index.
Declare new variable I instead.

29 years ago(write_block): Declare index I as unsigned int, not int.
Jim Meyering [Fri, 14 Apr 1995 04:27:46 +0000 (04:27 +0000)]
(write_block): Declare index I as unsigned int, not int.
(get_lcm): Likewise.
(dump_strings): Likewise.
(main): Likewise.
(dump): Cast BYTES_PER_BLOCK to off_t in MIN expression.
(dump_strings): Declare bufsize to be of type size_t, not int.

29 years agoRemove block of redundant comments describing options.
Jim Meyering [Fri, 14 Apr 1995 04:23:22 +0000 (04:23 +0000)]
Remove block of redundant comments describing options.
(usage): Remove reference to -l option.  It's not valid.

29 years ago.
Jim Meyering [Tue, 4 Apr 1995 21:19:44 +0000 (21:19 +0000)]
.

29 years ago.
Jim Meyering [Mon, 3 Apr 1995 13:53:18 +0000 (13:53 +0000)]
.

29 years ago.
Jim Meyering [Mon, 3 Apr 1995 13:52:54 +0000 (13:52 +0000)]
.

29 years ago(fold_file): Declare offset_out size_t.
Jim Meyering [Sat, 25 Mar 1995 21:09:34 +0000 (21:09 +0000)]
(fold_file): Declare offset_out size_t.

29 years ago(set_fields): Declare index unsigned.
Jim Meyering [Sat, 25 Mar 1995 21:08:36 +0000 (21:08 +0000)]
(set_fields): Declare index unsigned.

29 years agoDeclare as `unsigned int' all variables that were just `unsigned'.
Jim Meyering [Fri, 24 Mar 1995 23:40:41 +0000 (23:40 +0000)]
Declare as `unsigned int' all variables that were just `unsigned'.
(make_filename): Change type of arg to unsigned int.
(split_file): Change type of indices to unsigned int.

29 years agomerge with 1.11.e
Jim Meyering [Tue, 21 Mar 1995 03:50:10 +0000 (03:50 +0000)]
merge with 1.11.e

29 years ago.
Jim Meyering [Tue, 21 Mar 1995 03:45:22 +0000 (03:45 +0000)]
.

29 years ago(usage): Add ellipsis after `[OPTION]'.
Jim Meyering [Tue, 21 Mar 1995 03:45:15 +0000 (03:45 +0000)]
(usage): Add ellipsis after `[OPTION]'.
Use FILE, not deprecated PATH.  From Karl Berry.