summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-08Avoid triggering a bug in OSF/Tru64's sedJim Meyering
that would cause an unwarranted test failure.
2004-02-07*** empty log message ***Jim Meyering
2004-02-07*** empty log message ***Jim Meyering
2004-02-07(cp_option_init): Don't initialize xstat member.Jim Meyering
2004-02-07(cp_option_init): Likewise.Jim Meyering
2004-02-07(re_protect): Use `XSTAT (x, ...)' in place of `*(x->xstat) (...)'.Jim Meyering
(do_copy): Declare/use local xstat rather than x->xstat. (main): Remove code that set x.xstat.
2004-02-07Remove xstat function pointer member. The way it was used was notJim Meyering
portable, since some systems (OSF V5.1, Solaris 2.5.1) provide static inline `stat' and `lstat' functions, thus making the tests of `xstat == lstat' in copy.c always fail. (struct cp_options) [xstat]: Remove member. (XSTAT): New macro.
2004-02-07Remove xstat function pointer member. The way it was used was notJim Meyering
portable, since some systems (OSF V5.1, Solaris 2.5.1) provide static inline `stat' and `lstat' functions, thus making the tests of `xstat == lstat' in copy.c always fail. (copy_dir): Set `.dereference' member, not .xstat. (copy_internal): Use `XSTAT (x, ...)' in place of `*(x->xstat) (...)'. Use `x->dereference == DEREF_NEVER' in place of `x->xstat == lstat'. (valid_options): Remove now-obsolete FIXME comments.
2004-02-07.Jim Meyering
2004-02-07.Jim Meyering
2004-02-07.Jim Meyering
2004-02-07(gnu_ftp_host-alpha, etc.): Un-factor .gnu.org suffix,Jim Meyering
so that emit_upload_commands can use these variables, too.
2004-02-07(emit_upload_commands): new targetJim Meyering
(alpha beta major): `$(MAKE)' it.
2004-02-07.Jim Meyering
2004-02-07.Jim Meyering
2004-02-07add missing quoteJim Meyering
2004-02-07.Jim Meyering
2004-02-07*** empty log message ***Jim Meyering
2004-02-06*** empty log message ***Jim Meyering
2004-02-06Remove `du' stack space test.Jim Meyering
Apparently, `ulimit -s N' isn't portable enough. This test will be restored (with a guard against losing ulimit) in its own file later.
2004-02-06remove stray `done' diagnosticJim Meyering
2004-02-06*** empty log message ***Jim Meyering
2004-02-06(deep): Remove progress-style diagnostics,Jim Meyering
since this test doesn't take long enough to merit them. Run du on $tmp (the containing dir), not $deep, the full path to leaf.
2004-02-06*** empty log message ***Jim Meyering
2004-02-06(signatures): Remove definition.Jim Meyering
Now, automake's gnupload handles this. (%.sig: %): Remove now-unused rule. (rel-files): Use automake's $(DIST_ARCHIVES), rather than `$(distdir).tar.bz2 $(distdir).tar.gz'. (emit-upload-commands): Adjust to use gnupload.
2004-02-05(human_time): Correct merge problem.Jim Meyering
2004-02-05*** empty log message ***Jim Meyering
2004-02-05*** empty log message ***Jim Meyering
2004-02-05Don't dump core if localtime returns NULL (possible onJim Meyering
hosts with 64-bit time_t and 32-bit int). Print "??" if the current clock can't be converted by localtime. This won't happen until the year 2*31 + 1900, but we don't want to dump core even if the current clock has the wrong value.
2004-02-05Don't dump core if localtime returns NULL (possible onJim Meyering
hosts with 64-bit time_t and 32-bit int). Include "inttostr.h". (batch_convert, main): If time conversion fails, exit with nonzero status. (show_date): Return int to report conversion failure. Print the time as an int if localtime fails.
2004-02-05Include "inttostr.h".Jim Meyering
(human_time): Print the date/time as a number of seconds since the epoch if it can't be converted by localtime. This is better than just saying "invalid", and is consistent with what "ls" does. Don't dump core if the year has more than 48 digits; this isn't possible on any contemporary host, but we might as well do it right.
2004-02-05*** empty log message ***Jim Meyering
2004-02-05(human_time): Accept time rather than pointer-to-const-time parameter,Jim Meyering
for clarity. All callers changed.
2004-02-05(ST_TIME_CMP_NS, ST_TIME_CMP): Define.Jim Meyering
(ATIME_CMP, CTIME_CMP, MTIME_CMP, TIMESPEC_NS): Likewise. From coreutils' system.h.
2004-02-05*** empty log message ***Jim Meyering
2004-02-05(ST_TIME_CMP_NS, ST_TIME_CMP): Remove definitions.Jim Meyering
(ATIME_CMP, CTIME_CMP, MTIME_CMP, TIMESPEC_NS): Likewise. Now, those are all defined in timespec.h. Include timespec.h.
2004-02-05Don't include timespec.h, now that system.h does it.Jim Meyering
2004-02-05*** empty log message ***Jim Meyering
2004-02-04*** empty log message ***Jim Meyering
2004-02-03*** empty log message ***Jim Meyering
2004-02-03*** empty log message ***Jim Meyering
2004-02-03(print_numbers): Use 'double' for loop index, notJim Meyering
'int', to avoid problems with integer overflow. On almost all machines 'double' works in every case where 'int' works, and it works on other cases besides.
2004-02-02*** empty log message ***Jim Meyering
2004-02-02*** empty log message ***Jim Meyering
2004-02-02*** empty log message ***Jim Meyering
2004-02-02(do_stat): Remove extra trailing newline from default formats.Jim Meyering
2004-02-02.Jim Meyering
2004-02-02*** empty log message ***Jim Meyering
2004-02-02(nice invocation): Add examples.Jim Meyering
Prompted by suggestion from Dan Jacobson. (factor invocation): Add an example. Update timing numbers for a more modern CPU.
2004-02-02*** empty log message ***Jim Meyering