Jim Meyering
bd10536e76
.
2003-04-02 21:09:04 +00:00
Jim Meyering
8c14c2f53f
.
2003-04-02 10:20:58 +00:00
Jim Meyering
206427cd38
(false.c): Change all occurrences of (EXIT_SUCCESS)' to (EXIT_FAILURE)'.
...
Reported by Paul Jarc,
2003-04-02 07:21:40 +00:00
Jim Meyering
bb726ef20b
(is_empty_dir): Don't let a failing closedir
...
clobber errno. Spotted by Arnold Robbins.
2003-03-30 15:02:55 +00:00
Jim Meyering
2ec96a5e83
Fix typo in comment.
2003-03-30 12:11:50 +00:00
Jim Meyering
7c740a55c6
Remove Arnold Robbins' obsolete e-mail address
...
from `written by...' comment, at his request.
2003-03-27 22:40:37 +00:00
Jim Meyering
cb392d1022
Fix buffer overrun problem reported by TAKAI Kousuke, along
...
with some other POSIX incompatibilities.
(print_esc): Do not treat \x specially if
POSIXLY_CORRECT. Avoid buffer overrun if the format ends
in backslash. Treat incomplete escape sequences as strings
of characters, as POSIX requires.
(print_formatted): Allow multiple flags. Avoid buffer overrun
if the format is incomplete.
2003-03-27 14:59:26 +00:00
Jim Meyering
dd12de8477
.
2003-03-27 09:08:37 +00:00
Jim Meyering
2cd4a7d3cd
(struct cp_options): Add a comment.
2003-03-26 18:47:49 +00:00
Jim Meyering
92b524013b
D'oh.
2003-03-22 22:32:12 +00:00
Jim Meyering
1bf7ea8fd1
Don't include <sys/sysmacros.h>.
...
That is already done via system.h. Otherwise, the multiple
inclusion would evoke redefinition warnings from Cray's /bin/cc
(Cray Standard C Version 4.0.3 (057126) Mar 22 2003 22:02:28).
(human_fstype): Factor some directives `up', out of this function.
Cast away `const' to avoid error from Cray's /bin/cc.
2003-03-22 21:32:22 +00:00
Jim Meyering
0568c4e2d4
(valid_format): Also accept ' and '' as valid
...
format flag characters.
Do not require that a field width be specified.
Do not fail when given a field width of `0'.
2003-03-20 13:49:39 +00:00
Jim Meyering
991e476b56
.
2003-03-20 10:11:45 +00:00
Jim Meyering
bb6e39dc48
(all-local): Append $(EXEEXT) to use of `su'
...
(install-root): Likewise.
(install-exec-local): Likewise.
2003-03-19 23:17:12 +00:00
Jim Meyering
1564be8f74
.
2003-03-19 09:10:07 +00:00
Jim Meyering
ba84092326
[struct Word] (paren, period, punct, final): Change the
...
type of each member from bool <MEMBER>:1 to unsigned int <MEMBER>:1.
AIX 5.1's xlc could not compile the former.
2003-03-18 08:43:57 +00:00
Jim Meyering
5151ce79b2
(rm): Put two local variables in static storage,
...
so they can't be clobbered by the potential longjmp.
2003-03-16 10:16:14 +00:00
Jim Meyering
a32544a77f
.
2003-03-15 10:41:10 +00:00
Jim Meyering
b9fa45f2b0
remove ansi2knr junk
2003-03-14 20:23:12 +00:00
Jim Meyering
f406bff3f9
.
2003-03-14 20:10:15 +00:00
Jim Meyering
52ebb61da8
.
2003-03-14 13:54:36 +00:00
Jim Meyering
f69ed27d62
.
2003-03-14 13:16:21 +00:00
Jim Meyering
2506805702
.
2003-03-12 23:14:15 +00:00
Jim Meyering
a988982b19
(longopts): Don't hard-code `2' here.
...
Instead, just specify `&verbose', and ...
(main): ... remove the `case 2:' block for --verbose.
2003-03-11 20:48:36 +00:00
Jim Meyering
257b85ca8e
Don't segfault for a negative field width or precision in format string.
...
(UNSPECIFIED): Define.
(print_direc): Use the special value, UNSPECIFIED, to indicate
that field_width or precision has not been specified.
(print_formatted): Fail if field_width or precision is the
special value, UNSPECIFIED.
2003-03-11 20:25:18 +00:00
Jim Meyering
b44a6e8565
(INT_MIN): Define, if necessary.
2003-03-10 10:41:24 +00:00
Jim Meyering
79cb935030
fix typo in comment
2003-03-09 07:56:29 +00:00
Jim Meyering
25697ff274
(AD_stack_pop): Cast sizeof... to int before changing its sign.
...
This avoids a warning from gcc on 64-bit systems.
(pop_dir): Reverse order of sign change and cast, to be consistent
with the above.
2003-03-09 07:14:19 +00:00
Jim Meyering
34a6d6e2dd
Before, when using shred on a device, one had to specify --exact,
...
or be careful to choose a size that would not be rounded up and
exceed the maximum value; that could result in a failure of
the final write.
(do_wipefd): --exact is now the default for non-regular
files. Suggestion from Ben Elliston.
(usage): Say it.
2003-03-08 16:57:55 +00:00
Jim Meyering
3e9e352991
Remove now-unused #include and #define directives.
2003-03-08 14:30:28 +00:00
Jim Meyering
79065539dd
(check-misc): Check for use of `defined' in #define directives.
...
Change to $(srcdir) before running grep.
2003-03-08 14:30:14 +00:00
Jim Meyering
9d7d671604
.
2003-03-08 10:27:19 +00:00
Jim Meyering
66bada849b
(process_file): If a file's size is not being counted
...
e.g., because it's a hard link to a file we've already counted,
then don't print a line for it.
2003-03-08 10:21:19 +00:00
Jim Meyering
6c1a78b5d6
`du -S' didn't work
...
Revert most of the `reorganization' change of 2003-02-20,
and make the two-array approach work.
2003-03-08 10:18:19 +00:00
Jim Meyering
8f683f9314
*** empty log message ***
2003-03-08 10:14:33 +00:00
Jim Meyering
0da302c05a
*** empty log message ***
2003-03-08 10:10:59 +00:00
Jim Meyering
d53c43f440
*** empty log message ***
2003-03-08 09:50:12 +00:00
Jim Meyering
3ba019fec5
.
2003-03-08 09:48:27 +00:00
Jim Meyering
684f41944e
.
2003-03-07 23:37:10 +00:00
Jim Meyering
a1134e1eb6
(print_it): Use putchar, not fputs, to output a single character.
2003-03-07 23:24:53 +00:00
Jim Meyering
b24b4b4d59
(dired_dump_obstack): Use putchar, not fputs, to output a single character.
2003-03-07 23:22:54 +00:00
Jim Meyering
a98f67970e
(usage): Use putchar, not fputs, to output a single character.
2003-03-07 23:22:14 +00:00
Jim Meyering
aec039a4c1
(output_one_tex_line, output_one_dumb_line):
...
Use putchar, not fputs, to output a single character.
2003-03-07 23:21:45 +00:00
Jim Meyering
2b1a18e682
Remove everything associated with mmap-stack.c.
...
This reverts the two changes of 2003-02-21.
2003-03-07 20:01:35 +00:00
Jim Meyering
6d1bd5a97d
Remove everything associated with mmap-stack.c.
...
This reverts the change of 2003-02-19.
2003-03-07 19:47:18 +00:00
Jim Meyering
57bdc54b21
(print_esc): Remove pointless comparison of unsigned
...
integer with zero, to avoid a warning from Intel's ecc.
2003-03-05 17:44:08 +00:00
Jim Meyering
64baf18b09
(process_file): Sizes must all be of type uintmax_t.
...
Otherwise, for files or totals that are too big, numbers would
be truncated. Patch mostly by Michael Stone.
2003-03-05 06:35:18 +00:00
Jim Meyering
47fa65c648
(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.
2003-03-04 23:02:08 +00:00
Jim Meyering
b4f567deb9
(usage): Capitalize consistently.
2003-03-04 22:22:19 +00:00
Jim Meyering
e628a56597
(AD_pop_and_chdir): Call error here, now that restore_cwd no longer does it.
2003-03-04 21:30:27 +00:00