Jim Meyering
7f2df50cee
Include <sys/types.h> before <dirent.h>.
...
This is required for Apple Darwin 6.3 (MacOS 10.2.3).
2003-02-21 07:06:33 +00:00
Jim Meyering
eb63743d48
(process_file): Reorganize the code to use only
...
one `sum' array, and change how -S works back to the way it was
before 2003-01-31. Patch by Bruno Haible.
2003-02-20 23:13:11 +00:00
Jim Meyering
4cf069e8a2
*** empty log message ***
2003-02-20 19:12:33 +00:00
Jim Meyering
46bfcaf2bb
*** empty log message ***
2003-02-20 19:11:08 +00:00
Jim Meyering
44e80d26cb
(usage) [%b]: Refer to %B.
2003-02-20 19:11:02 +00:00
Jim Meyering
409e7dd0b6
(print_stat): New format: %B (to print ST_NBLOCKSIZE).
...
(usage): Describe it.
2003-02-20 19:07:55 +00:00
Jim Meyering
4ebc314f18
.
2003-02-20 19:05:38 +00:00
Jim Meyering
4efd012fe0
*** empty log message ***
2003-02-20 17:59:37 +00:00
Jim Meyering
a4bbb4de7e
Add checks for the following:
...
BLOCK_SIZE, DU_BLOCK_SIZE, DF_BLOCK_SIZE, LS_BLOCK_SIZE.
2003-02-20 17:58:45 +00:00
Jim Meyering
9c46a8acf3
Rename phony target envvar-check to evar-check
...
so as not to conflict with the distributed file by the same name.
2003-02-20 17:52:11 +00:00
Jim Meyering
5c629d9ef4
(process_file): Set info->skip before any possible return.
...
Report correct usage for directories, not 0.
(process_file): Return for `file_type == FTW_DPRE'
_before_ recording the dev/ino of a directory.
2003-02-20 15:03:22 +00:00
Jim Meyering
c023e74aac
.
2003-02-20 13:45:48 +00:00
Jim Meyering
fca1c1173c
Now, df always displays the device file name corresponding to the
...
listed mount point under `Filesystem'. Before, for an unmounted
block- or character-special file argument, it would display the
command-line argument instead.
(show_disk): Return a value indicating whether
there was a match. Don't try to find a mount point here.
(show_entry): If show_disk doesn't find a match, call show_point.
2003-02-20 10:37:14 +00:00
Jim Meyering
59e474dc56
.
2003-02-20 10:36:52 +00:00
Jim Meyering
56644db507
*** empty log message ***
2003-02-20 10:35:27 +00:00
Jim Meyering
7d224e76de
*** empty log message ***
2003-02-20 10:34:21 +00:00
Jim Meyering
ac823e21c0
Include "mmap-stack.h".
...
(du_files): Add prototype with ATTRIBUTE_NORETURN.
Exit from this function, not from...
(main): ...here.
Instead, if possible, invoke du_files through a macro that
runs it with a large, mmap'd stack.
2003-02-19 22:20:45 +00:00
Jim Meyering
5c6facc555
*** empty log message ***
2003-02-19 19:09:06 +00:00
Jim Meyering
47de14a1c5
Merge in some clean-up and optimization changes from glibc's md5.c.
2003-02-19 19:09:01 +00:00
Jim Meyering
071bd2881a
Merge in some clean-up and optimization changes from glibc.
2003-02-19 19:08:49 +00:00
Jim Meyering
4738213e95
*** empty log message ***
2003-02-19 16:12:06 +00:00
Jim Meyering
7c9292d5c9
(usage): Change wording in --help output:
...
use FILENUM instead of `SIDE' and say what FILENUM means.
2003-02-19 16:11:39 +00:00
Jim Meyering
1860324779
*** empty log message ***
2003-02-19 16:06:34 +00:00
Jim Meyering
e2cd6ba3df
(print_header): Rather than using a hard-coded literal
...
string of spaces matching the length of the English `...Type' header,
output the right number of spaces to match the selected translation.
Reported by Yann Dirson and Jean Charles Delepine as Debian bug 131113.
2003-02-19 16:05:07 +00:00
Jim Meyering
efb6756c2e
*** empty log message ***
2003-02-19 16:02:44 +00:00
Jim Meyering
3a29026961
*** empty log message ***
2003-02-19 15:06:12 +00:00
Jim Meyering
44f8f70e7f
*** empty log message ***
2003-02-19 14:29:01 +00:00
Jim Meyering
23f6d41f94
Include "full-read.h".
...
(bytes_split, lines_split, line_bytes_split): Use full_read,
not safe_read. The way split was using the latter, a short read
could cause split to terminate before EOF.
(bytes_split): Remove unnecessary `else' after break.
(lines_split): Likewise. and correct misleading indentation.
2003-02-19 14:28:50 +00:00
Jim Meyering
d0944f6e8b
*** empty log message ***
2003-02-19 14:04:22 +00:00
Jim Meyering
07ef2a29cf
*** empty log message ***
2003-02-19 14:04:17 +00:00
Jim Meyering
af4ad8d695
fix comment
2003-02-19 14:03:44 +00:00
Jim Meyering
f0ecd05212
more clean-up. give more precise diagnostics
2003-02-19 14:02:43 +00:00
Jim Meyering
4d5aae90bb
*** empty log message ***
2003-02-19 12:59:31 +00:00
Jim Meyering
68f68b6bf2
(TESTS): Reflect renaming.
2003-02-19 12:59:14 +00:00
Jim Meyering
1b919c5c1e
new file. renamed from cat-tty-eof
2003-02-19 12:58:46 +00:00
Jim Meyering
4b26d67f58
Remove file. Rename to tty-eof.
2003-02-19 12:58:07 +00:00
Jim Meyering
f60bd3f4c8
comment out diagnostic
2003-02-19 12:56:37 +00:00
Jim Meyering
f3ecf0e5df
upgrade to automake-1.7.2b
2003-02-19 12:55:25 +00:00
Jim Meyering
49a3524823
*** empty log message ***
2003-02-19 08:44:45 +00:00
Jim Meyering
23bd5c8be5
*** empty log message ***
2003-02-19 08:40:10 +00:00
Jim Meyering
3ef0832f7a
(AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
...
to 1MB, so as not to render systems with no stack size limit (e.g.,
linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2003-02-19 08:39:55 +00:00
Jim Meyering
3ac28e3dee
*** empty log message ***
2003-02-18 21:17:11 +00:00
Jim Meyering
3bb9bacdd7
*** empty log message ***
2003-02-18 19:00:54 +00:00
Jim Meyering
714f398d7f
(sha_stream) [BLOCKSIZE]: Move definition to top of file.
...
Ensure that it is a multiple of 64.
Rearrange loop exit tests so as to avoid performing an
additional fread after encountering an error or EOF.
2003-02-18 19:00:40 +00:00
Jim Meyering
7496bc25b0
(md5_stream) [BLOCKSIZE]: Move definition to top of file.
...
Ensure that it is a multiple of 64.
Rearrange loop exit tests so as to avoid performing an
additional fread after encountering an error or EOF.
2003-02-18 19:00:16 +00:00
Jim Meyering
38b90cb669
*** empty log message ***
2003-02-18 14:01:32 +00:00
Jim Meyering
ae993355b7
(CLEANFILES): Remove ftw.h and search.h.
...
(DISTCLEANFILES): Add them here.
Add fnmatch.h, too.
2003-02-18 14:01:25 +00:00
Jim Meyering
d2c4a4e44d
cksum would perform an extra read after encountering EOF
...
(cksum): Exit the loop upon EOF, too.
Patch by Michael Bacarella.
2003-02-18 08:05:02 +00:00
Jim Meyering
b47c09ad60
*** empty log message ***
2003-02-18 08:02:41 +00:00
Jim Meyering
33c62fcef3
Generalize, clean-up, and test for
...
cat, cksum, md5sum, and sha1sum all in the same loop.
2003-02-18 07:59:58 +00:00