summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-03-07.Jim Meyering
2003-03-07(print_it): Use putchar, not fputs, to output a single character.Jim Meyering
2003-03-07(dired_dump_obstack): Use putchar, not fputs, to output a single character.Jim Meyering
2003-03-07(usage): Use putchar, not fputs, to output a single character.Jim Meyering
2003-03-07(output_one_tex_line, output_one_dumb_line):Jim Meyering
Use putchar, not fputs, to output a single character.
2003-03-07Remove everything associated with mmap-stack.c.Jim Meyering
This reverts the two changes of 2003-02-21.
2003-03-07Remove everything associated with mmap-stack.c.Jim Meyering
This reverts the change of 2003-02-19.
2003-03-05(print_esc): Remove pointless comparison of unsignedJim Meyering
integer with zero, to avoid a warning from Intel's ecc.
2003-03-05(process_file): Sizes must all be of type uintmax_t.Jim Meyering
Otherwise, for files or totals that are too big, numbers would be truncated. Patch mostly by Michael Stone.
2003-03-04(MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4.Jim Meyering
2003-03-04(usage): Capitalize consistently.Jim Meyering
2003-03-04(AD_pop_and_chdir): Call error here, now that restore_cwd no longer does it.Jim Meyering
2003-03-04(find_mount_point): Call error here, now that restore_cwd no longer does it.Jim Meyering
2003-03-03(remove_cwd_entries): Include the full filename ofJim Meyering
the offending file, not just the basename.
2003-03-03(remove_cwd_entries) [!ROOT_CAN_UNLINK_DIRS]: Give anJim Meyering
accurate diagnostic when failing to remove a file owned by some other user. Reported by Ivo Timmermans via Michael Stone. This fixes Debian bug# 178471.
2003-03-02(copy_internal) [un_backup]: When recovering from aJim Meyering
failure to create a hard link, do not remove the entry associating the source dev/ino with the destination file name.
2003-03-01(print_header): Don't embed spaces in a separate `Type'Jim Meyering
header string. Instead, put `Filesystem' and `Type' headers in the same string, so translators can use horizontal space as needed.
2003-02-28(copy_internal): When link fails because of anJim Meyering
existing destination file, unlink that file and try again.
2003-02-21.Jim Meyering
2003-02-21(usage): Tweak wording of %B description.Jim Meyering
2003-02-21Include "mmap-stack.h".Jim Meyering
(main): Invoke `run' through a macro that (when possible) runs it with a large, mmap'd stack.
2003-02-21New option: --apparent-size.Jim Meyering
(enum) [APPARENT_SIZE_OPTION]: New member. (long_options): Add it. (usage): Describe it. (main): Handle it. ['b']: Set apparent_size.
2003-02-21(apparent_size): New global.Jim Meyering
(print_only_size): Reflect the fact that we're printing byte counts, not ST_NBLOCKSIZE-byte-block counts. (print_size): Call print_only_size rather than duplicating its code. (process_file): Accumulate byte counts, rather than block counts.
2003-02-21(process_file): Always reset size_to_propagate_to_parent forJim Meyering
--separate-dirs (-S).
2003-02-20(process_file): Reorganize the code to use onlyJim Meyering
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(usage) [%b]: Refer to %B.Jim Meyering
2003-02-20(print_stat): New format: %B (to print ST_NBLOCKSIZE).Jim Meyering
(usage): Describe it.
2003-02-20.Jim Meyering
2003-02-20(process_file): Set info->skip before any possible return.Jim Meyering
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-20Now, df always displays the device file name corresponding to theJim Meyering
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-19Include "mmap-stack.h".Jim Meyering
(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(usage): Change wording in --help output:Jim Meyering
use FILENUM instead of `SIDE' and say what FILENUM means.
2003-02-19(print_header): Rather than using a hard-coded literalJim Meyering
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-19Include "full-read.h".Jim Meyering
(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-19upgrade to automake-1.7.2bJim Meyering
2003-02-18cksum would perform an extra read after encountering EOFJim Meyering
(cksum): Exit the loop upon EOF, too. Patch by Michael Bacarella.
2003-02-17(run): New function, preparing for use ofJim Meyering
RUN_WITH_BIG_STACK_*
2003-02-14Include "euidaccess.h".Jim Meyering
Remove declaration of euidaccess.
2003-02-12(portable_chars_only): Remove unnecessary `const'Jim Meyering
in cast to avoid warning from icc. Reported by Alexandre Duret-Lutz.
2003-02-10add comments and fix dumb typosJim Meyering
2003-02-10Don't include group-member.h.Jim Meyering
Include euidaccess.h. (eaccess): Rewrite function to set the real uid and gid temporarily to the effective uid and gid, then invoke 'access', and then set the real uid and gid back. On systems that lack setreuid or setregid, fall back on the kludges in euidaccess. Before, it would not work for e.g., files with ACLs, files that were marked immutable, or on file systems mounted read-only.
2003-02-09(test_stat): Remove function. It's job is done (onlyJim Meyering
when necessary) by the wrapper in lib/stat.c.
2003-02-08.Jim Meyering
2003-02-08.Jim Meyering
2003-02-08Correct now-invalid comment about cycle-detection.Jim Meyering
2003-02-06(print_boottime, print_deadprocs, print_runlevel):Jim Meyering
Fix memory allocation arithmetic.
2003-02-06(process_file): Don't return early for excluded filesJim Meyering
or for files whose dev/inode we've already seen.
2003-02-05(show_entry): Update sole use of show_disk.Jim Meyering
2003-02-04`df /dev/block-or-char-device-file--not-mounted' now reportsJim Meyering
the name of the file system on which the file resides, usually `/'. Before, it would leave the `Mounted on' field blank. (show_disk): Add parameter: STATP. If we don't find a matching device name, then resort to calling find_mount_point.
2003-02-04(show_disk): Move function to precede find_mount_point.Jim Meyering