]> git.ipfire.org Git - thirdparty/coreutils.git/log
thirdparty/coreutils.git
30 years agoDeclare stat, xstat.
Jim Meyering [Sun, 1 Oct 1995 20:17:25 +0000 (20:17 +0000)] 
Declare stat, xstat.

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

30 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);

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

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

30 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>.

30 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.

30 years ago.
Jim Meyering [Wed, 27 Sep 1995 04:06:28 +0000 (04:06 +0000)] 
.

30 years ago(show_point): Ignore mtab entries with either
Jim Meyering [Tue, 26 Sep 1995 04:18:55 +0000 (04:18 +0000)] 
(show_point): Ignore mtab entries with either
nonexistent mount points or with inconsistent device number.
From Eirik Fuller <eirik@synopsys.com>.

30 years ago.
Jim Meyering [Mon, 25 Sep 1995 04:14:36 +0000 (04:14 +0000)] 
.

30 years agoProtoize.
Jim Meyering [Sun, 24 Sep 1995 13:36:13 +0000 (13:36 +0000)] 
Protoize.

30 years ago[REL_ALLOC]: #ifdef-out dcls of unused variables. TEXTUTILS-1_12_2
Jim Meyering [Sat, 23 Sep 1995 20:55:02 +0000 (20:55 +0000)] 
[REL_ALLOC]: #ifdef-out dcls of unused variables.

30 years ago.
Jim Meyering [Sat, 23 Sep 1995 20:46:22 +0000 (20:46 +0000)] 
.

30 years ago(print_kth): Change order of args in compare, and reverse sense of comparison
Jim Meyering [Sat, 23 Sep 1995 20:42:52 +0000 (20:42 +0000)] 
(print_kth): Change order of args in compare, and reverse sense of comparison
(Hence, no semantic change).

30 years agoMerge in changes for ConvexOS 11.0.
Jim Meyering [Sat, 23 Sep 1995 20:28:39 +0000 (20:28 +0000)] 
Merge in changes for ConvexOS 11.0.

30 years agoNew version from FSF.
Jim Meyering [Sat, 23 Sep 1995 20:28:10 +0000 (20:28 +0000)] 
New version from FSF.

30 years ago(md5_check): Distinguish between open/read failure and checksum mismatch.
Jim Meyering [Sat, 23 Sep 1995 20:22:05 +0000 (20:22 +0000)] 
(md5_check): Distinguish between open/read failure and checksum mismatch.

30 years ago.
Jim Meyering [Sat, 23 Sep 1995 20:21:22 +0000 (20:21 +0000)] 
.

30 years ago.
Jim Meyering [Sat, 23 Sep 1995 20:09:52 +0000 (20:09 +0000)] 
.

30 years ago.
Jim Meyering [Sat, 23 Sep 1995 19:56:32 +0000 (19:56 +0000)] 
.

30 years agoUpdate to reflect changes in md5sum.c.
Jim Meyering [Thu, 21 Sep 1995 18:17:14 +0000 (18:17 +0000)] 
Update to reflect changes in md5sum.c.
Add FIXME with Karl's comm suggestion.

30 years ago(main): Reverse order of `check' and `compute sums' blocks in if-else
Jim Meyering [Wed, 20 Sep 1995 12:47:37 +0000 (12:47 +0000)] 
(main): Reverse order of `check' and `compute sums' blocks in if-else
chain to make it a little more readable.

30 years ago.
Jim Meyering [Tue, 19 Sep 1995 14:30:59 +0000 (14:30 +0000)] 
.

30 years agoRewrite confusing comment.
Jim Meyering [Tue, 19 Sep 1995 12:59:49 +0000 (12:59 +0000)] 
Rewrite confusing comment.

30 years ago(checkfp): Rearrange loop to avoid duplicate test.
Jim Meyering [Tue, 19 Sep 1995 12:50:34 +0000 (12:50 +0000)] 
(checkfp): Rearrange loop to avoid duplicate test.
Move a couple dcls from function scope into inner block.

30 years ago.
Jim Meyering [Tue, 19 Sep 1995 12:48:46 +0000 (12:48 +0000)] 
.

30 years agoProtoize.
Jim Meyering [Mon, 18 Sep 1995 12:44:47 +0000 (12:44 +0000)] 
Protoize.

30 years ago(main, usage): Remove -h, -s, -v short options.
Jim Meyering [Mon, 18 Sep 1995 12:36:12 +0000 (12:36 +0000)] 
(main, usage): Remove -h, -s, -v short options.
Rename --verbose to --warn, --quiet to --status.
(main): Handle --help and --version using parse_long_options.
(md5_check): Check ferror.

30 years ago(tempname): Replace `16' with a more readable expansion.
Jim Meyering [Thu, 14 Sep 1995 13:31:52 +0000 (13:31 +0000)] 
(tempname): Replace `16' with a more readable expansion.
Make sure that SEQ never exceeds 99999.

30 years ago(sort): Rename local: ntemp -> n_temp_files, to avoid confusion
Jim Meyering [Thu, 14 Sep 1995 13:09:27 +0000 (13:09 +0000)] 
(sort): Rename local: ntemp -> n_temp_files, to avoid confusion
with another local, ntmp.

30 years agoFix typo in comment.
Jim Meyering [Wed, 13 Sep 1995 13:15:35 +0000 (13:15 +0000)] 
Fix typo in comment.

30 years ago.
Jim Meyering [Fri, 11 Aug 1995 06:26:39 +0000 (06:26 +0000)] 
.

30 years ago.
Jim Meyering [Fri, 11 Aug 1995 06:26:12 +0000 (06:26 +0000)] 
.

30 years ago(main) [handling --string option]: Don't output nonstandard `b' binary flag.
Jim Meyering [Thu, 10 Aug 1995 21:11:24 +0000 (21:11 +0000)] 
(main) [handling --string option]: Don't output nonstandard `b' binary flag.

30 years ago. FILEUTILS-3_12a
Jim Meyering [Wed, 9 Aug 1995 05:33:24 +0000 (05:33 +0000)] 
.

30 years ago(my_strtol): Remove function.
Jim Meyering [Wed, 9 Aug 1995 05:33:19 +0000 (05:33 +0000)] 
(my_strtol): Remove function.
(main): Use xstrtol instead.

30 years agoInclude config.h.
Jim Meyering [Wed, 9 Aug 1995 05:15:31 +0000 (05:15 +0000)] 
Include config.h.
Define bcopy to memcpy if possible.

30 years agoIndent cpp directives.
Jim Meyering [Wed, 9 Aug 1995 05:14:06 +0000 (05:14 +0000)] 
Indent cpp directives.

30 years ago.
Jim Meyering [Wed, 9 Aug 1995 04:21:48 +0000 (04:21 +0000)] 
.

30 years ago(main): Fail if either --verbose or --quiet is specified
Jim Meyering [Wed, 9 Aug 1995 04:21:14 +0000 (04:21 +0000)] 
(main): Fail if either --verbose or --quiet is specified
when not verifying checksums.

30 years ago.
Jim Meyering [Wed, 9 Aug 1995 04:17:53 +0000 (04:17 +0000)] 
.

30 years ago.
Jim Meyering [Wed, 9 Aug 1995 04:17:27 +0000 (04:17 +0000)] 
.

30 years ago.
Jim Meyering [Wed, 9 Aug 1995 04:14:52 +0000 (04:14 +0000)] 
.

30 years agoInclude system.h.
Jim Meyering [Wed, 9 Aug 1995 03:57:17 +0000 (03:57 +0000)] 
Include system.h.

30 years ago(md5_check): Fail if no valid line is found.
Jim Meyering [Wed, 9 Aug 1995 02:50:09 +0000 (02:50 +0000)] 
(md5_check): Fail if no valid line is found.
Don't use the word `fail' unless there were failures --
say `all N tests passed.'

30 years agowork on updating md5sum
Jim Meyering [Tue, 8 Aug 1995 05:37:39 +0000 (05:37 +0000)] 
work on updating md5sum

30 years ago.
Jim Meyering [Tue, 8 Aug 1995 04:59:01 +0000 (04:59 +0000)] 
.

30 years ago(mergefps) [lint]: Initialize SAVEALLOC to avoid spurious
Jim Meyering [Tue, 8 Aug 1995 04:58:46 +0000 (04:58 +0000)] 
(mergefps) [lint]: Initialize SAVEALLOC to avoid spurious
compiler warning.  From Ulrich Drepper.

30 years ago(read_line) [lint]: Initialize CHARS to avoid spurious
Jim Meyering [Tue, 8 Aug 1995 04:58:23 +0000 (04:58 +0000)] 
(read_line) [lint]: Initialize CHARS to avoid spurious
compiler warning.  From Ulrich Drepper.

30 years agoAnnotate localizable strings with _(...). From Franc,ois.
Jim Meyering [Tue, 8 Aug 1995 04:37:34 +0000 (04:37 +0000)] 
Annotate localizable strings with _(...).  From Franc,ois.

30 years ago.
Jim Meyering [Tue, 8 Aug 1995 04:31:02 +0000 (04:31 +0000)] 
.

30 years agoDeclare xmalloc, xrealloc rather than including xalloc.h. SH-UTILS-1_12a
Jim Meyering [Mon, 7 Aug 1995 22:21:03 +0000 (22:21 +0000)] 
Declare xmalloc, xrealloc rather than including xalloc.h.

30 years ago.
Jim Meyering [Mon, 7 Aug 1995 16:09:10 +0000 (16:09 +0000)] 
.

30 years agoAdd FIXME comments.
Jim Meyering [Mon, 7 Aug 1995 16:07:28 +0000 (16:07 +0000)] 
Add FIXME comments.

30 years ago(is_number): Rename from isnumber.
Jim Meyering [Mon, 7 Aug 1995 16:06:43 +0000 (16:06 +0000)] 
(is_number): Rename from isnumber.

30 years ago.
Jim Meyering [Mon, 7 Aug 1995 14:57:56 +0000 (14:57 +0000)] 
.

30 years agoAnnotate localizable strings with _(...). From Franc,ois.
Jim Meyering [Mon, 7 Aug 1995 14:57:29 +0000 (14:57 +0000)] 
Annotate localizable strings with _(...).  From Franc,ois.

30 years agoSort examples. textutils-1_12_1
Jim Meyering [Sun, 6 Aug 1995 20:02:27 +0000 (20:02 +0000)] 
Sort examples.

30 years ago.
Jim Meyering [Sun, 6 Aug 1995 04:54:08 +0000 (04:54 +0000)] 
.

30 years ago.
Jim Meyering [Sun, 6 Aug 1995 04:52:09 +0000 (04:52 +0000)] 
.

30 years ago(validate): Remove const attribute from formal #1.
Jim Meyering [Sat, 5 Aug 1995 05:09:21 +0000 (05:09 +0000)] 
(validate): Remove const attribute from formal #1.
It may be modified.

30 years ago(__P): No longer define this. It's not used.
Jim Meyering [Sat, 5 Aug 1995 04:58:31 +0000 (04:58 +0000)] 
(__P): No longer define this.  It's not used.

30 years ago.
Jim Meyering [Sat, 5 Aug 1995 04:22:16 +0000 (04:22 +0000)] 
.

30 years agoProtoize.
Jim Meyering [Sat, 5 Aug 1995 03:36:29 +0000 (03:36 +0000)] 
Protoize.

30 years agoProtoize.
Jim Meyering [Sat, 5 Aug 1995 03:19:56 +0000 (03:19 +0000)] 
Protoize.

30 years ago(isnumber): Rename to is_number.
Jim Meyering [Sat, 5 Aug 1995 03:13:16 +0000 (03:13 +0000)] 
(isnumber): Rename to is_number.
(parse_user_spec): Rename uses, too.

30 years ago.
Jim Meyering [Sat, 5 Aug 1995 03:11:30 +0000 (03:11 +0000)] 
.

30 years ago(save_cwd, restore_cwd, free_cwd): Remove functions.
Jim Meyering [Sat, 5 Aug 1995 03:10:27 +0000 (03:10 +0000)] 
(save_cwd, restore_cwd, free_cwd): Remove functions.
New versions have been broken out into save-cwd.c.
(du_files): Adapt to handle status code returned by new versions
of save_cwd and restore_cwd.
(count_entry): Likewise.

30 years ago(decode_switches): Set SORT_TYPE. Before, ls -c was sorting
Jim Meyering [Sat, 5 Aug 1995 03:09:41 +0000 (03:09 +0000)] 
(decode_switches): Set SORT_TYPE.  Before, ls -c was sorting
by name, rather than change time.  Reported by Ken Estes
(m-ke0082@sparky.cs.nyu.edu).

30 years ago(SOURCES, OBJECTS, DISTFILES): Update for new files, save-cwd.[ch].
Jim Meyering [Sat, 5 Aug 1995 03:08:09 +0000 (03:08 +0000)] 
(SOURCES, OBJECTS, DISTFILES): Update for new files, save-cwd.[ch].

30 years ago(isnumber): Rename to is_number to avoid conflict with
Jim Meyering [Sat, 5 Aug 1995 03:06:41 +0000 (03:06 +0000)] 
(isnumber): Rename to is_number to avoid conflict with
FreeBSD 2.0.5 macro definition.  Reported by David O'Brien
(obrien@sea.legent.com).

30 years ago.
Jim Meyering [Fri, 4 Aug 1995 15:23:25 +0000 (15:23 +0000)] 
.

30 years ago(SOURCES, OBJECTS, DISTFILES): Update for new files.
Jim Meyering [Fri, 4 Aug 1995 15:15:24 +0000 (15:15 +0000)] 
(SOURCES, OBJECTS, DISTFILES): Update for new files.

30 years ago.
Jim Meyering [Fri, 4 Aug 1995 15:09:12 +0000 (15:09 +0000)] 
.

30 years ago(_getopt_internal) [lint]: Initialize INDFOUND to
Jim Meyering [Fri, 4 Aug 1995 14:30:19 +0000 (14:30 +0000)] 
(_getopt_internal) [lint]: Initialize INDFOUND to
avoid warning from gcc.

30 years ago.
Jim Meyering [Thu, 3 Aug 1995 16:44:17 +0000 (16:44 +0000)] 
.

30 years ago.
Jim Meyering [Wed, 2 Aug 1995 04:26:31 +0000 (04:26 +0000)] 
.

30 years ago.
Jim Meyering [Sun, 30 Jul 1995 23:58:28 +0000 (23:58 +0000)] 
.

30 years ago.
Jim Meyering [Sun, 30 Jul 1995 23:58:06 +0000 (23:58 +0000)] 
.

30 years ago(md5_check): Use getline instead of fgets.
Jim Meyering [Sun, 30 Jul 1995 23:57:03 +0000 (23:57 +0000)] 
(md5_check): Use getline instead of fgets.

30 years agoNew version -- now derived from the line in libc.
Jim Meyering [Sun, 30 Jul 1995 18:42:09 +0000 (18:42 +0000)] 
New version -- now derived from the line in libc.

30 years agoGet new copy from FSF.
Jim Meyering [Sun, 30 Jul 1995 05:30:04 +0000 (05:30 +0000)] 
Get new copy from FSF.

30 years ago[memcpy]: Define to bcopy if needed.
Jim Meyering [Sun, 30 Jul 1995 05:12:30 +0000 (05:12 +0000)] 
[memcpy]: Define to bcopy if needed.
(md5_buffer): Explicitely cast SWAP expressions to unsigned
to avoid warning.

30 years agoAdd parens to clarify ?: expression.
Jim Meyering [Sun, 30 Jul 1995 05:03:26 +0000 (05:03 +0000)] 
Add parens to clarify ?: expression.

30 years ago(check): Print `disorder on...' message on standard error, not stdout.
Jim Meyering [Sun, 30 Jul 1995 05:02:37 +0000 (05:02 +0000)] 
(check): Print `disorder on...' message on standard error, not stdout.
This is a minor concession to POSIX which says `no output shall be produced'.
(main): Fix -k so it works. -k 2,3 was being treated like -k 2.
Reported by Marcus Daniels <marcus@sysc.pdx.edu>.

30 years ago.
Jim Meyering [Thu, 27 Jul 1995 20:22:29 +0000 (20:22 +0000)] 
.

30 years agoInitial revision
Jim Meyering [Thu, 27 Jul 1995 14:43:01 +0000 (14:43 +0000)] 
Initial revision

30 years agoremove trailing blanks
Jim Meyering [Thu, 27 Jul 1995 14:15:09 +0000 (14:15 +0000)] 
remove trailing blanks

30 years ago.
Jim Meyering [Thu, 27 Jul 1995 04:04:18 +0000 (04:04 +0000)] 
.

30 years ago.
Jim Meyering [Thu, 27 Jul 1995 03:57:20 +0000 (03:57 +0000)] 
.

30 years agoRemove spurious space.
Jim Meyering [Thu, 27 Jul 1995 03:57:10 +0000 (03:57 +0000)] 
Remove spurious space.

30 years ago(tail_bytes) [from_start]: For regular files, seek
Jim Meyering [Thu, 27 Jul 1995 03:56:35 +0000 (03:56 +0000)] 
(tail_bytes) [from_start]: For regular files, seek
relative to the initial input file pointer position, not
necessarily from the beginning of the file.
[!from_start]: Don't back up past the initial position of the
input file pointer.
(tail_lines): Call file_lines only if FD refers to a regular file
with its file pointer positioned at beginning of file.  Otherwise,
call pipe_lines.  This is a kludge.  Once there's a decent test
suite, fix this properly.
Before, (echo 1; echo 2) > k; sh -c 'read x; tail' < k
would output both lines of the input file even though the first had
already been read.  Reported by John Roll (john@panic.harvard.edu).

30 years ago(have_read_stdin): New global variable.
Jim Meyering [Thu, 27 Jul 1995 03:45:11 +0000 (03:45 +0000)] 
(have_read_stdin): New global variable.
(md5_file, md5_check): Set it.
(main): Use it.

[OPENOPTS]: Depend explicitly on BINARY.
(md5_file): Take a new parameter, MD5_RESULT, and no longer
generate output.
(md5_check): Invoke md5_file instead of calling fopen directly.
When giving a diagnostic for a line with invalid format, also report
the line number.
(main): Generate output after a successful md5_file call.
[in many places]: Upon detection of an error, rather than exiting
immediately, issue a diagnostic, note that an error occurred and
exit later.

30 years ago(main): When too few arguments are given, don't just
Jim Meyering [Tue, 25 Jul 1995 04:50:04 +0000 (04:50 +0000)] 
(main): When too few arguments are given, don't just
issue the usage message; also report why.

30 years ago[_LIBC || STDC_HEADERS] (TOLOWER): Define to tolower.
Jim Meyering [Tue, 25 Jul 1995 02:48:00 +0000 (02:48 +0000)] 
[_LIBC || STDC_HEADERS] (TOLOWER): Define to tolower.

30 years ago(md5_check): New function -- extracted from main.
Jim Meyering [Sat, 22 Jul 1995 05:16:40 +0000 (05:16 +0000)] 
(md5_check): New function -- extracted from main.

30 years agoreformat comment
Jim Meyering [Fri, 21 Jul 1995 06:27:39 +0000 (06:27 +0000)] 
reformat comment

30 years ago.
Jim Meyering [Fri, 21 Jul 1995 06:23:11 +0000 (06:23 +0000)] 
.

30 years ago(md5_file): New function -- extracted from main.
Jim Meyering [Fri, 21 Jul 1995 06:18:58 +0000 (06:18 +0000)] 
(md5_file): New function -- extracted from main.
(main): Call the new function instead of doing all that in an if stmt.
Always use "%s" format rather than raw filename as format argument
in printf-style functions like error.  Otherwise, filenames containing
e.g. `%s' lose.
Remove all traces of `old format'.  There is only one format now.
The compatible one.

30 years ago(md5_stream): Update prototype.
Jim Meyering [Fri, 21 Jul 1995 04:48:03 +0000 (04:48 +0000)] 
(md5_stream): Update prototype.
[__P]: Define macro.