summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-12-13(wc): Use ISSPACE and iswspace in addition to hard-codingJim Meyering
the ASCII space character.
2001-12-11(main):Jim Meyering
Include the word `fail' in some diagnostics to make it clearer that they indicate a failure. s/getting attributes/failed to get attributes/
2001-12-11split long lineJim Meyering
2001-12-11(change_file_mode, main):Jim Meyering
Include the word `fail' in some diagnostics to make it clearer that they indicate a failure. s/getting attributes/failed to get attributes/
2001-12-11(change_file_owner):Jim Meyering
Include the word `fail' in some diagnostics to make it clearer that they indicate a failure. s/getting attributes/failed to get attributes/
2001-12-11(main):Jim Meyering
Include the word `fail' in some diagnostics to make it clearer that they indicate a failure. s/getting attributes/failed to get attributes/
2001-12-11(re_protect):Jim Meyering
Include the word `fail' in some diagnostics to make it clearer that they indicate a failure. s/getting attributes/failed to get attributes/
2001-12-11Include the word `fail' in some diagnostics to make it clearerJim Meyering
that they indicate a failure. s/getting attributes/failed to get attributes/
2001-12-11(buggy_lseek_support): Remove function.Jim Meyering
(skip_via_lseek) [__linux__]: New function. (skip): Use skip_via_lseek, not buggy_lseek_support.
2001-12-03(usage): Don't split translatable strings in the middle of a sentence.Jim Meyering
2001-12-03(usage): Merge lone "\n" into adjacent string.Jim Meyering
2001-12-03(usage): Merge lone "\n" into adjacent string.Jim Meyering
2001-12-02Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions.
2001-12-02*** empty log message ***Jim Meyering
2001-12-02(touch): Extend the change of 2001-09-15 to work onJim Meyering
systems for which errno is set to EPERM in that case. Thus, e.g., `touch /' by non-root gives a better diagnostic on systems like SunOS4.
2001-12-02Don't emulate dd's skip=N for *all* character devices; lseek worksJim Meyering
just fine on non-tape character devices like /dev/mem and /dev/kmem. (buggy_lseek_support) [__linux__]: Emulate `skip=N' behavior using reads, not lseek for Linux tape devices (major == 9). Kernel lseek support for tapes is broken, up to and including linux-2.4.16. Reported by Herbert Xu.
2001-12-01Reflect renaming to, and new usage of these macros:Jim Meyering
HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION.
2001-12-01Rename just-added macros. Here are the new names:Jim Meyering
HELP_OPTION_DESCRIPTION VERSION_OPTION_DESCRIPTION
2001-12-01(EMIT_HELP_DESCRIPTION): New macro.Jim Meyering
(EMIT_VERSION_DESCRIPTION): New macro.
2001-12-01(usage): Use new macros, EMIT_HELP_DESCRIPTION and EMIT_VERSION_DESCRIPTIONJim Meyering
instead of hard-coding --help and --version descriptions.
2001-11-27The change of 2001-11-01 introduced a bug whereby some recursiveJim Meyering
listings didn't have a blank line between per-directory groups of files. (print_dir): Print a newline before each directory name except the first one, rather than after each except the last, since now (after the changes of 2001-11-01) detecting whether a `pending*' is the last would involve more work. Reported by Andreas Schwab. This change has no net effect. (main): Remove always-true conjunct and add a comment.
2001-11-27(SET_MODE) [O_BINARY]: Call setmode, not set_mode.Jim Meyering
2001-11-26Don't include "gtod.h"Jim Meyering
(main): Don't `call' GETTIMEOFDAY_INIT.
2001-11-26(cat): Don't test whether the full_write return value (of type size_t)Jim Meyering
is less than 0. Reported by Nelson H. F. Beebe, as a warning from Irix 6.5's C compiler.
2001-11-26*** empty log message ***Jim Meyering
2001-11-25(usage): Indent --help and --version strings to start in the 7th column.Jim Meyering
2001-11-25(usage): Indent --help and --version strings to start in the 7th column.Jim Meyering
2001-11-24(usage): Make --help and --version strings start in column 7.Jim Meyering
2001-11-23(usage): Note that ``Mandatory arguments to long options are mandatoryJim Meyering
for short options too.''
2001-11-23(usage): Use `output', not `print' in description ofJim Meyering
the --version option, so this message is consistent with all the rest.
2001-11-23Split usage strings so that --help and --versionJim Meyering
descriptions are alone in their own string.
2001-11-23Factor out some common strings to make translation easier.Jim Meyering
Split usage strings so that --help and --version descriptions are alone in their own string. Likewise for the one that says: Mandatory arguments to long options are mandatory for short options too.
2001-11-23(main): Don't split string in the middle of sentence.Jim Meyering
2001-11-23(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-23Use opaque type, Hash_table, not `struct hash_table'.Jim Meyering
2001-11-22(cp_option_init): Likewise.Jim Meyering
(do_copy): Call src_info_init.
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
2001-11-22(struct cp_options) [src_info]: New member.Jim Meyering
(src_info_init): Declare.
2001-11-22(triple_hash_no_name): New function.Jim Meyering
(src_info_init): New function. (copy_internal): Warn and return early for the second and subsequent occurrences of the same source file named on the command line.
2001-11-22(seen_file): Change type of `stats' parameter to pointer.Jim Meyering
(copy_internal): Update caller.
2001-11-22(struct F_triple): Rename from dest_info.Jim Meyering
(seen_file): Rename from seen_dest. Rename parameters accordingly. (record_file): Rename from record_dest. Rename parameters accordingly. (triple_hash): Rename from dest_info_hash. (triple_compare): Rename from dest_info_compare. (triple_free): Rename from dest_info_free.
2001-11-22(main): Add a literal format string to suppressJim Meyering
a warning from gcc's -Wformat-security.
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
(do_copy): Remove const attribute from declaration of parameter, x. dest_info_init now takes a parameter.
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
(main): dest_info_init now takes a parameter.
2001-11-22(cp_option_init): Initialize new member.Jim Meyering
(main): dest_info_init now takes a parameter.
2001-11-22Include hash.h.Jim Meyering
(struct cp_options) [dest_info]: New member.
2001-11-22copy.c shouldn't maintain static state.Jim Meyering
(dest_info): Remove declaration of file-scoped global. (dest_info_init): Require a parameter. Update all callers. (seen_dest): Require a hash table parameter. Update callers. (record_dest): Likewise.
2001-11-22csplit could get a failed assertion: printf 'a\n\n'|csplit - '/^$/' 2Jim Meyering
No longer include assert.h. (process_line_count): Remove invalid assertion.
2001-11-20remove FIXME comment about duplicate codeJim Meyering
2001-11-19(xlseek): New function.Jim Meyering
Call it instead of lseek, in most cases, so any failure is reported.