summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-01-17(main): Likewise.Jim Meyering
2001-01-17(PACKAGE): Likewise.Jim Meyering
2001-01-17(main): Likewise.Jim Meyering
2001-01-17(case_GETOPT_VERSION_CHAR): Use PACKAGE, not GNU_PACKAGE.Jim Meyering
2001-01-17(main): Use PACKAGE, not GNU_PACKAGE.Jim Meyering
2001-01-17(usage): Convert each TAB in --help output to a sequence of 8 spaces.Jim Meyering
2001-01-17(main): Use PACKAGE, not GNU_PACKAGE.Jim Meyering
2001-01-14(UINT_MAX_32_BITS): Define.Jim Meyering
Use UINT_MAX_32_BITS in the cpp conditions that determine the `word32' typedef. Using a literal `0xffffffff' failed with HPUX10.20's /bin/cc.
2001-01-14[RENAME_TRAILING_SLASH_BUG]: Use the rename wrapper.Jim Meyering
2001-01-13add comment to go along with last changeJim Meyering
2001-01-13(same_file_ok): When moving a symlink onto itself,Jim Meyering
don't remove the symlink. Reported by David Luyer as Debian bug#82089, via Michael Stone.
2001-01-10(copy_internal): Add a comment.Jim Meyering
Set *copy_into_self in the new code that detects that. Make diagnostic more consistent: s/won't/will not/. [move_mode, copy_into_self]: Give a diagnstic here, now that we have the top_level_* globals. Remove the corresponding diagnostic from mv.c. Add a FIXME comment.
2001-01-10(do_move): Remove diagnostic, now that copy.c issues it.Jim Meyering
Set `fail' to nonzero in the primary `if (copy_into_self)' block rather than in its own tiny one below.
2001-01-10[struct entry] (node): Describe how it's used,Jim Meyering
now that we've overloaded it a little, in order to detect and diagnose the copying-directory-into-self problem. (new_file): Remove global. (htab): Declare global to be static. (remember_created): Insert file name instead of dummy pointer, so that copy.c can use the just-created directory name to detect the copying-directory-into-self problem.
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.