summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-01-10(copy_internal): Don't allow cp (or mv, when workingJim Meyering
across a partition boundary) to overwrite a non-directory with a directory.
2001-01-09add commentJim Meyering
2001-01-09(top_level_src_path, top_level_dst_path): New globals.Jim Meyering
(copy_internal): Use them. (copy): Set them.
2001-01-08whoops. move printf args, tooJim Meyering
2001-01-07(usage): Split long message string.Jim Meyering
2001-01-07Split a string that was longer than 2048 bytes.Jim Meyering
2001-01-07(usage): Split a string that was longer than 2048 bytes.Jim Meyering
2001-01-07back out last, prematurely-committed, changeJim Meyering
2001-01-07Correct the indentation of an `#endif'.Jim Meyering
2001-01-07clean up after commit hook testingJim Meyering
2001-01-07testing -- commit should failJim Meyering
2001-01-07testing -- commit should failJim Meyering
2001-01-07testing -- commit should failJim Meyering
2001-01-07(usage): Untabify.Jim Meyering
2001-01-07(parse_group): Normalize spelling.Jim Meyering
2001-01-04(main): Fail when --rfc-822 (-R) is specified alongJim Meyering
with a format string. Reported by Jochen Hein.
2001-01-03Use the more precise algorithm of GNU "make" to decide whetherJim Meyering
a file is in the future, by looking at high-resolution time stamps if available. (TIMESPEC_NS): New macro. (current_time): Initialize to the minimum value. (current_time_ns): New var. (main): Do not bother to initialize current_time; it's no longer needed. (get_current_time): New function. (print_long_format): Use it when a file appears to be in the future. Get the nanoseconds of the file's time stamp, if available, and use that to decide whether the file appears to be in the future.
2001-01-03(main): Remove embedded \n from diagnostic.Jim Meyering
2001-01-03(long_time_expected_width, print_long_format): FixJim Meyering
bug: the initial byte passed to strftime wasn't initialized to a nonzero value after the buffer was reallocated.
2001-01-03(dcgettext): New macro.Jim Meyering
2001-01-03(decode_switches): Use dcgettext with LC_TIME,Jim Meyering
not plain gettext, to get the translations of time formats.
2001-01-03(long_time_expected_width): New function.Jim Meyering
(print_long_format): Use it, so that we don't assume a particular width for time stamps in an internationalized environment.
2001-01-02(ulonglong_t): Define place-holder type to avoid some #if directives.Jim Meyering
(LONGEST_INTEGRAL_TYPE): Remove definition. (MAX_INTEGRAL_TYPE_SIZE): Use ulonglong_t instead of LONGEST_INTEGRAL_TYPE. (print_long_long): Compile this function even on systems without long long support. (decode_one_format): Remove #if directive.
2001-01-02(decode_one_format): Guard use of print_long_long withJim Meyering
`#if HAVE_UNSIGNED_LONG_LONG'. From Darren Salt. Change all `#ifdef HAVE_UNSIGNED_LONG_LONG' to use `#if' instead.
2001-01-02copyrightJim Meyering
2001-01-02(print_long_format):Jim Meyering
Report the year for files even slightly in the future. Avoid overflow problems near Y2038 on 32-bit hosts. To calculate "six months", take half the average Gregorian year, not 180 days.
2000-12-31Improve performance by invoking gettext twice at the start,Jim Meyering
instead of once for each file. (long_time_format): New var. (decode_switches): Initialize it, if format == long_format. (print_long_format): Use it.
2000-12-31(print_long_format): Don't dump core if strftime returns the empty string.Jim Meyering
2000-12-31(gobble_file): If not using long format, don't invoke acl; it's not needed.Jim Meyering
2000-12-31Avoid an unnecessary `stat' when using --dereference.Jim Meyering
(same_file_ok): Use stat only if lstat reported that the file was a symbolic link.
2000-12-28tweak commentJim Meyering
2000-12-28tweak commentJim Meyering
2000-12-28(same_file_ok): Fix *another* typo from my 2000-09-03 change: ↵Jim Meyering
s/tmp_dst_sb/tmp_src_sb/.
2000-12-28(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.Jim Meyering
2000-12-28(same_file_ok): Use a single auto var forJim Meyering
tmp_dst_sb, instead of two static vars. Likewise for tmp_src_sb.
2000-12-25(same_file_ok): Remove declaration and set of unusedJim Meyering
variables: src_sb_no_link, dst_sb_no_link.
2000-12-25For both ln and install, when using `--backup=simple --suffix=S',Jim Meyering
the suffix `S' wasn't used. (main): Actually use the local variable, `backup_suffix_string'.
2000-12-25(hash_compare_active_dir_ents): Return explicit `true'Jim Meyering
or `false', rather than relying on implicit int-to-enum cast.
2000-12-25(extract_dirs_from_files): Remove unused variable.Jim Meyering
(gobble_file): Move decl of local, val, into the scope where it's used.
2000-12-24(main): Actually use the local variable, `backup_suffix_string'.Jim Meyering
2000-12-23[HAVE_INTTYPES_H]: Include <inttypes.h>.Jim Meyering
2000-12-22(isaac_seed_machdep) [_ARCH_PPC]: Disable the codeJim Meyering
that would use the PPC mfspr `asm' code.
2000-12-19(UINTMAX_MAX): New macro, taken from C99.Jim Meyering
2000-12-19adjust indentationJim Meyering
2000-12-19Include physmem.h.Jim Meyering
(SORTALLOC, mergealloc, LINEALLOC): Remove. (sortalloc): Default to zero at program startup. (SORTALLOC_MIN, SORTALLOC_DEFAULT_MIN): New macros. (usage, main): Add support for new -S SIZE option. (specify_sort_size, default_sort_size): New functions. (initlines): Do not let alloc exceed limit. (findlines): Likewise. (checkfp, mergefps, sort): Use sortalloc to size everything else, instead of relying on precomputed sizes.
2000-12-16(uint_to_string): New function.Jim Meyering
(uid_to_name): Use it. (gid_to_name): Use it. Rename locals, user/group, to uid/gid.
2000-12-16(enum Change_status): Start with 1.Jim Meyering
2000-12-16(main): Rename local, group, to gid.Jim Meyering
2000-12-16(main): Rename locals, user/group, to uid/gid.Jim Meyering
2000-12-15(main): Reflect renaming: s/dereference/change_symlinks/.Jim Meyering