summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2001-11-17(tail_forever): Add a cast.Jim Meyering
2001-11-17Remove `unsigned' attribute from type of global `prefix'.Jim Meyering
(copy_rest): Cast to (unsigned char *) before dereferencing. (get_prefix): Likewise.
2001-11-14(file_lines): Remove unnecessary cast.Jim Meyering
(tail_lines): Could have called file_lines even though the first lseek failed. Fix that.
2001-11-13split a line that was too longJim Meyering
2001-11-13(file_lines): Add a parameter, start_pos.Jim Meyering
Work properly even when the read pointer is not at beginning of file. (tail_lines): Call file_lines for any regular file, as long as lseek can be used to seek to its end, not just when the initial read pointer is at beginning of file.
2001-11-13(tail_lines): Move declaration of local `length' into scope where it's used.Jim Meyering
(tail_file): Likewise for local `stats'.
2001-11-13`tail /proc/ksyms' would segfault on Linux.Jim Meyering
(tail_lines): Use status of lseek (...SEEK_END) call in deciding whether to call file_lines or pipe_lines. From Herbert Xu.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
2001-11-11(struct tspec): Declare function pointer with prototype.Jim Meyering
2001-11-11(main): Declare function pointer with prototype.Jim Meyering
2001-11-11(usage): Fix typo in last change to usage.Jim Meyering
2001-11-11(count_items): Mark parameter as unused.Jim Meyering
2001-11-11(struct_month_cmp): Guard definition with the sameJim Meyering
cpp directive that guards the use.
2001-11-11(xwrite): Remove assertion that size_t N >= 0.Jim Meyering
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(main, usage): Split --help output into smaller pieces.Jim Meyering
2001-11-11(struct COLUMN) [print_func]: Declare as a protype.Jim Meyering
(struct COLUMN) [char_func]: Declare as a protype.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(parse_old_offset): Declare to be static.Jim Meyering
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
2001-11-11(make_blank): Declare to be static.Jim Meyering
(prfield): Declare local to be of type size_t, not int.
2001-11-11(make_blank): Declare to be static.Jim Meyering
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.
2001-11-11(usage): Split --help output into smaller pieces.Jim Meyering
Use fputs, not printf.