summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-06-16(eval6): Accept new unary operator, quote.Jim Meyering
From Karl Heuer.
1997-06-16tweak error messageJim Meyering
1997-06-15(init_header) [T_BUF_FMT]: Output the 4-digit year (not theJim Meyering
2-digit abbreviation) in each page header. Reported by Noah Friedman.
1997-06-14(cut_fields): Detect when the input is empty and handleJim Meyering
that special case. Before `cut -f1 </dev/null' would improperly output a single newline. Reported by Phil Richards.
1997-06-12Add comment for posixly_correct.Jim Meyering
1997-06-11(docolon): Test (re_buffer.re_nsub > 0) rather thanJim Meyering
searching for `\(' to determine whether to return 0 or the empty string. Before it would improperly return '' if the pattern contained a substring like this: `\\('. From Karl Heuer. For example, running expr c : '\\(' should print `0'.
1997-05-29indent cpp directivesJim Meyering
1997-05-29update from automake-1.1pJim Meyering
1997-05-27Use base_name, not basename.Jim Meyering
1997-05-27clean up for -WallJim Meyering
1997-05-27Use base_name, not basename.Jim Meyering
1997-05-27Use base_name, not basename.Jim Meyering
Use X, not CP_OPTIONS.
1997-05-26(copy_internal): When preserving symlinks (--no-dereference) and theJim Meyering
destination file is a symlink, use stat (not xstat) to see if it points back to the source. Reported by James <james@albion.glarp.com>.
1997-05-25declare strip_trailing_slashesJim Meyering
1997-05-25Remove global variable opt_human_readable.Jim Meyering
(enum Output_units): Rename from output_size. Rename size_* to Unit_*. Add Unit_variable to correspond to --human-readable. (convert_blocks): Remove now-unused definition. (human_readable): Rename paramater n_bytes to n_blocks. Adjust conversions to reflect fact that input is now number of 512-byte blocks, not bytes. (print_size): New function. (du_files): Use print_size instead of open coding it. (count_entry): Always count in units of 512-byte blocks to delay. This lets du accumulate totals corresponding to a terabyte before overflowing 32-bit long int. Use print_size instead of open coding it.
1997-05-25(convert_blocks): Add definition.Jim Meyering
1997-05-25(convert_blocks): Remove definition.Jim Meyering
Indent cpp directives.
1997-05-25(convert_blocks): Remove now-unnecessary #undef.Jim Meyering
(du_files): Pass output_size unchanged to convert_blocks. No need to test output_size for size_bytes, convert_blocks handles that correctly. (count_entry): Likewise.
1997-05-25(main): Implement new --max-depth=N option.Jim Meyering
Based on the idea and a patch from Torbjorn Lindgren. (du_files): Likewise. (count_entry): Likewise. [AIX]: Remove unused #pragma alloca.
1997-05-25Remove FIXME.Jim Meyering
Add spurious curlies and an empty line.
1997-05-25New options: --ignore-fail-on-non-empty and --verbose.Jim Meyering
(remove_parents): Implement new options. (main): Likewise.
1997-05-01indent cpp-directivesJim Meyering
1997-05-01indent cpp-directivesJim Meyering
1997-04-27(STRTOX): Don't fail because of extra character(s) following aJim Meyering
character constant. Give the *warning* only if !POSIXLY_CORRECT.
1997-04-27(cfcc_msg): File-scope constant.Jim Meyering
(STRTOX): Use new constant as error message format string in macro. Suggestion from Andreas Schwab.
1997-04-07.Jim Meyering
1997-04-06(STRTOX): New macro to eliminate code duplication.Jim Meyering
(xstrtod, xstrtol, xstrtoul): Remove functions. Use the STRTOX instead.
1997-04-06Change most char* dcls to const char*.Jim Meyering
1997-04-06Reorder functions to obviate forward decls.Jim Meyering
1997-03-27(main): Implement new --max-depth=N option.Jim Meyering
Based on the idea and a patch from Torbjorn Lindgren. (du_files): Likewise. (count_entry): Likewise.
1997-03-19cpp-indentJim Meyering
Change a few #ifdef to #if. Remove 3 spurious #ifdef that were guarding an #undef each.
1997-03-19(check_format): Rename local, FORMAT_STRING, to avoid shadowing global.Jim Meyering
(print_numbers): Likewise.
1997-03-18(idle_string): Rename local, IDLE, to avoid shadowing global.Jim Meyering
1997-03-18(log_su): Resort to getpwuid if getlogin fails.Jim Meyering
If no tty name is found, use `none' in the log message. Based on a patch from Galen Hazelwood.
1997-03-14(main): Allow use of 0 (zero) as the margin offsetJim Meyering
argument to the -o option. Patch from Gary Anderson.
1997-03-14(main): Make sure c1 is not -1 before using it as anJim Meyering
array index. Patch from Greg McGary. Although this is truly a bug, I believe it would not cause tr to misbehave on most systems. I could not construct a test case with which this bug causes tr to generate invalid output.
1997-03-13(change_file_group): Use uid of -1 to indicateJim Meyering
we don't want to change the file's user ID.
1997-03-10(decode_switches): Ignore value of COLUMNS envionmentJim Meyering
variable when it is the empty string. Suggestion from Ulrich Drepper.
1997-03-01(usage): Fix typo in --help output. From Andreas Schwab.Jim Meyering
1997-02-27(re_protect): When there is any potential for ambiguity in a diagnostic,Jim Meyering
give explanatory diagnostic in addition to file name.
1997-02-27(copy_internal): When there is any potential forJim Meyering
ambiguity in a diagnostic, give explanatory diagnostic in addition to file name.
1997-02-20(factor): Rewrite inner loop to be more efficient.Jim Meyering
Patch from Torbjorn Granlund.
1997-02-20(main): Remove trailing slashes from command line arguments.Jim Meyering
Otherwise, running `mkdir x; chmod 644 x; ls -d x/' (note the trailing slash) makes ls fail with permission denied on at least Linux 1.2.13 and 2.0.14 systems.
1997-02-16Add missing paren.Jim Meyering
1997-02-16(parse_obsolescent_option): Reverse order of args in diagnostic.Jim Meyering
Remove `' quotes in diagnostic. (parse_options): Remove `' quotes in diagnostic.
1997-02-12fixed off-by-one errorJim Meyering
1997-02-12FIXME: major revamp to use FILE*; passed a few more testsJim Meyering
1997-02-09change wording in messageJim Meyering
1997-02-09update copyrightJim Meyering
1997-02-09update copyrights for 1997Jim Meyering