summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-11-27Remove decls of strtod, strtol, strtoul; no longerJim Meyering
needed now that we assume C89. Include "c-strtod.h". (xstrtod): Call c_strtod, not strtod.
2003-11-24upgrade to automake-1.7dJim Meyering
2003-11-20(usage): Output bug-reporting address.Jim Meyering
2003-11-19(usage): Mention that FILE1 and FILE2 must be sortedJim Meyering
on the join fields. Suggestion from Bruce Robertson.
2003-11-18`od -c -w9999999' could segfaultJim Meyering
(dump): Use xnmalloc/free, not alloca.
2003-11-16Fix read-from-free'd-buffer error detected by valgrind.Jim Meyering
(remove_line): Don't return a pointer to data in a freed buffer. Instead, arrange to free the buffer on the subsequent call.
2003-11-12(extract_dirs_from_files): Avoid useless copy operations.Jim Meyering
This avoids a warning valgrind about memcpy with overlapping source and destination.
2003-11-09Support new options: --preserve-root and --no-preserve-root.Jim Meyering
2003-11-09Support new options: --preserve-root and --no-preserve-root.Jim Meyering
2003-11-09Include "root-dev-ino.h".Jim Meyering
(chopt_init): Initialize new member. (change_file_owner): Support rm's new --preserve-root option.
2003-11-09Include "root-dev-ino.h".Jim Meyering
(remove_cwd_entries): Remove now-obsolete FIXME comment. (remove_dir): Support rm's new --preserve-root option.
2003-11-09(usage): Describe new options.Jim Meyering
2003-11-09(usage): Describe new options.Jim Meyering
2003-11-09Include "root-dev-ino.h".Jim Meyering
(process_file): Use newly-factored-out ROOT_DEV_INO_CHECK and ROOT_DEV_INO_WARN macros. (get_root_dev_ino): Remove function definition, now that it's been moved to a separate file.
2003-11-09Initialized new member.Jim Meyering
2003-11-09.Jim Meyering
2003-11-09Include "dev-ino.h".Jim Meyering
(struct rm_options): Add new member: root_dev_ino.
2003-11-09Include "dev-ino.h".Jim Meyering
(struct Chown_option): Add new member: root_dev_ino.
2003-11-06whoops. One more.Jim Meyering
2003-11-06(paste_parallel): Use `sizeof *var' rather than hard-coding `sizeof FILE*'.Jim Meyering
2003-11-06(who): Free `utmp_buf' so there is no confusion aboutJim Meyering
whether it's leaked or not.
2003-11-06(main): Free `fstatus' so there is no confusion aboutJim Meyering
whether it's leaked or not.
2003-11-06Fix 'cut' problems with size_t overflow and unsigned int.Jim Meyering
More generally, resize integer variables to fit use more precisely. (ADD_RANGE_PAIR): Remove unnecessary parens. (struct range_pair): Make members to be of type size_t, not unsigned. (max_range_endpoint, eol_range_start): Now size_t, not unsigned. (suppress_non_delimited, output_delimiter_specified, have_read_stdin, print_kth, set_fields): Now bool, nt int. (delim): Now unsigned char, not int. (mark_printable_field, is_printable_field, is_range_start_index, set_fields, set_fields, cut_bytes, cut_fields): Use size_t, not unsigned, for field and byte counts. (hash_int): Use uintptr_t, not unsigned, for pointers converted to integers. This squeezes more info out of them. (set_fields, cut_bytes, cut_fields, main): Use bool, not int, for booleans. (set_fields): Allocate zeroed byte array with xzalloc, not xcalloc.
2003-11-05.Jim Meyering
2003-11-05Cast NULL to `(char *)' in call to variadic function,Jim Meyering
parse_long_options, so that it works even on systems for which sizeof char* != sizeof int.
2003-11-05(spec_init): Fix typo in last change.Jim Meyering
2003-11-05(main): Cast NULL to `(char *)' inJim Meyering
call to variadic version_etc function, so that it works even on systems for which sizeof char* != sizeof int.
2003-11-05(case_GETOPT_VERSION_CHAR): Cast NULL to `(char *)' inJim Meyering
call to variadic version_etc function, so that it works even on systems for which sizeof char* != sizeof int.
2003-11-05(users): Free `utmp_buf' explicitly so that peopleJim Meyering
don't mistake this for a real leak.
2003-11-04.Jim Meyering
2003-11-04(ADD_FIELD, initseq, getseq): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(fold_file): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(store_char): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(memrchr): Remove #if-0'd function.Jim Meyering
(tac_stdin_to_mem): Clean up #if-0'd code.
2003-11-04(new_key): Use xzalloc, not xcalloc.Jim Meyering
2003-11-04(show_date): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(decode_format_string): Remove unnecessary casts.Jim Meyering
Use more maintainable `sizeof *var'. (main): Call decode_format_string rather than decode_one_format, now that `spec' may be NULL.
2003-11-04(decode_format_string, dump_strings): Use x2nrealloc rather than xrealloc.Jim Meyering
2003-11-04(ADD_RANGE_PAIR): Use x2nrealloc rather than xrealloc,Jim Meyering
to avoid potential overflow in pointer arithmetic. (set_fields): Use not `1', but rather `sizeof *printable_field' as second argument to xcalloc.
2003-11-04(next_file_name): Use `sizeof *var' rather thanJim Meyering
hard-coding `sizeof size_t'.
2003-11-04(AUTHORS): Add my name.Jim Meyering
2003-11-04(main): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.Jim Meyering
The former is more maintainable and usually shorter.
2003-11-04(initseq, add_field, make_blank): Use `sizeof *var' ratherJim Meyering
than `sizeof EXPLICIT_TYPE'. The former is more maintainable and usually shorter.
2003-11-02(alloc_and_compile_regex, main): Use `sizeof *var' ratherJim Meyering
than `sizeof EXPLICIT_TYPE'. The former is more maintainable and usually shorter.
2003-11-02(new_item, record_relation): Use `sizeof *var' ratherJim Meyering
than `sizeof EXPLICIT_TYPE'. The former is more maintainable and usually shorter.
2003-11-02(add_fs_type, add_excluded_fs_type, main): Use `sizeof *var' ratherJim Meyering
than `sizeof EXPLICIT_TYPE'. The former is more maintainable and usually shorter. (main): Also remove anachronistic cast of xmalloc return value.
2003-11-02(make_path_private): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.Jim Meyering
The former is more maintainable and usually shorter.
2003-11-02(copy_internal): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.Jim Meyering
The former is more maintainable and usually shorter.
2003-11-02(inittables): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.Jim Meyering
The former is more maintainable and usually shorter. (sort): Split a long line.
2003-11-02(append_normal_char, append_range, append_char_class)Jim Meyering
(append_repeated_char, append_equiv_class, spec_init): Use more maintainable and usually-shorter `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.