Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-04-27 | (opt_nul_terminate_output): Declare `static'. | Jim Meyering | |
2004-04-27 | (G_fail): Declare `static'. | Jim Meyering | |
2004-03-28 | Minor optimization: | Jim Meyering | |
(process_file): Don't record dev/inode for directories. Under some circumstances, without -c, du would mistakenly count the space of hard-linked files, not just the first one it encountered. Reported by Anthony Thyssen. (du_files): Don't ever clear the set of `seen' dev/inodes. | |||
2004-03-27 | (print_grand_total): Rename global from `print_totals'. | Jim Meyering | |
2004-03-27 | (main): Rearrange filtering loop to be a tiny bit more efficient. | Jim Meyering | |
2004-03-25 | (main): Remove now-unused declaration of `i'. | Jim Meyering | |
2004-03-25 | (main): Filter out file names of length zero before | Jim Meyering | |
invoking fts, so that they don't cause fatal errors. | |||
2004-03-24 | (EXPECTED_BYTES_PER_FILE_NAME, DEFAULT_PROJECTED_N_FILES): | Jim Meyering | |
Remove: not used. (usage): Say "NUL-terminated", not "NUL-separated". (main): Check for I/O error when istream is closed. Allow --files0-from=F even if F is empty; this specifies no files. (du_files): Now that we allow the list of files to be empty, handle that case. | |||
2004-03-23 | (main): Free the hash table, too. | Jim Meyering | |
2004-03-22 | (du_files): Return bool, rather than int. | Jim Meyering | |
(main): Call readtokens0_free. | |||
2004-03-22 | Include "readtokens0.h" rather than "readtokens.h". | Jim Meyering | |
(main): Use readtoken0 functions rather than readtokens. Don't use errno when diagnosing readtokens0 failure. | |||
2004-03-21 | (main): whoops. don't use errno for this diagnostic: | Jim Meyering | |
_("no files specified in %s"), | |||
2004-03-21 | du accepts a new option --from0-file=FILE, where FILE contains | Jim Meyering | |
a list of NUL-separated file names. Include "readtokens.h". (usage): Describe the new option, and adjust the `Usage': with this option, no FILE may be specified on the command line. (main): Handle the new option. | |||
2004-02-22 | (usage): Separate -H and --si. Say that the meaning | Jim Meyering | |
of -H will soon change to that of --dereference-args (-D). | |||
2004-01-21 | (usage): Use EXIT_SUCCESS, not 0, for clarity. | Jim Meyering | |
2004-01-04 | (usage): Mention that, with its current meaning, -H is deprecated. | Jim Meyering | |
2003-12-20 | Accept new option (-0, --null) that makes it so each | Jim Meyering | |
output line is NUL-terminated rather than newline-terminated. | |||
2003-12-19 | (FTS_CROSS_CHECK, DEBUG_OPT): Define. | Jim Meyering | |
(main): Make fts use FTS_TIGHT_CYCLE_CHECK. (main) [DU_DEBUG]: Accept -d option. | |||
2003-10-25 | (entry_hash): Adjust to reflect | Jim Meyering | |
type changes (unsigned int -> size_t) in hash.c. | |||
2003-10-18 | Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change | Jim Meyering | |
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise. | |||
2003-10-17 | (main): Simply assign to bit_flags. | Jim Meyering | |
Don't bother with bit arithmetic. | |||
2003-10-17 | Include "xfts.h". | Jim Meyering | |
(du_files): Use xfts_open, rather than fts_open. | |||
2003-10-17 | tweak comment | Jim Meyering | |
2003-10-09 | tweak comments | Jim Meyering | |
2003-10-05 | s/nftw/fts/g in a comment | Jim Meyering | |
2003-10-05 | (du_files): Mark diagnostic for translation. | Jim Meyering | |
2003-10-04 | (du_files): Ignore any failure of fts_close. | Jim Meyering | |
2003-10-04 | (du_files): Give better diagnostics for failed fts_open. | Jim Meyering | |
2003-10-04 | (MAX_N_DESCRIPTORS): Remove now-unused definition. | Jim Meyering | |
2003-10-04 | (enum) [HUMAN_SI_OPTION]: New member. | Jim Meyering | |
[long_options]: Use HUMAN_SI_OPTION, not 'H'. (main): Warn that the meaning of -H will soon change. | |||
2003-10-03 | Accept --no-dereference (-P). | Jim Meyering | |
2003-10-02 | Include "fts_.h", not ftw.h. | Jim Meyering | |
(opt_dereference_arguments, arg_length, suffix_length): Remove globals. (IS_FTW_DIR_TYPE): Remove definition. (IS_DIR_TYPE): Define. (is_symlink_to_dir): Remove now-unnecessary function. (process_file, du_files): Rewrite to use fts. | |||
2003-09-19 | `du -D symlink-to-dir' would mistakenly omit the slash in | Jim Meyering | |
lines like this: 24 symlink-to-dir/subdir (process_file): Fix offset calculation. Reported by Jeff Sheinberg as Debian bug #211591; http://bugs.debian.org/205251 | |||
2003-09-19 | (process_file): Remove useless disjunct. | Jim Meyering | |
2003-09-18 | (WRITTEN_BY): Rename from AUTHORS. | Jim Meyering | |
Begin each WRITTEN_BY string with `Written by ' and end it with `.'. Mark each WRITTEN_BY string as translatable. | |||
2003-09-18 | revert previous change | Jim Meyering | |
2003-09-18 | Update AUTHORS definition to be a comma-separated list of strings and/or update | Jim Meyering | |
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. | |||
2003-09-03 | (AUTHORS): Remove Larry McVoy's name, since the relatively | Jim Meyering | |
small amount of code from him was first moved to lib/human.c, and was subsequently rewritten entirely. | |||
2003-06-17 | (main): Call initialize_main. | Jim Meyering | |
2003-05-14 | (usage): Don't use `,' as the thousands separator | Jim Meyering | |
in e.g. 1,000,000 and 1,048,576. Instead, do this: `SIZE may be ..., MB 1000*1000, M 1024*1024 and so on...' | |||
2003-05-10 | Handle argc < optind. | Jim Meyering | |
2003-04-11 | Remove SPC in SPC-TAB sequence. | Jim Meyering | |
2003-04-11 | Remove anachronistic casts of xmalloc, | Jim Meyering | |
xrealloc, and xcalloc return values and of xrealloc's first argument. | |||
2003-03-08 | (process_file): If a file's size is not being counted | Jim Meyering | |
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 | `du -S' didn't work | Jim Meyering | |
Revert most of the `reorganization' change of 2003-02-20, and make the two-array approach work. | |||
2003-03-07 | Remove everything associated with mmap-stack.c. | Jim Meyering | |
This reverts the change of 2003-02-19. | |||
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-02-21 | New 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. |