Commit Graph

11181 Commits

Author SHA1 Message Date
Jim Meyering fbf9eeb8d7 *** empty log message *** 2001-08-12 18:46:25 +00:00
Jim Meyering 4911e67aa8 Guard the above pathconf-using definitions with `#if HAVE_PATHCONF'
rather than with `#ifdef _POSIX_VERSION'.
2001-08-12 18:46:20 +00:00
Jim Meyering 66d5a12094 *** empty log message *** 2001-08-12 18:28:25 +00:00
Jim Meyering 4d94665d3d (PATH_MAX_FOR): Use pathconf via wrapper.
(NAME_MAX_FOR): Likewise.
(pathconf_wrapper): New function.
(validate_path): Declare length variables to be `long', not `int'.
Adjust corresponding printf-style specs to use %ld.
2001-08-12 18:28:19 +00:00
Jim Meyering e3b1f10354 *** empty log message *** 2001-08-12 18:23:28 +00:00
Jim Meyering d971214e89 *** empty log message *** 2001-08-12 17:52:27 +00:00
Jim Meyering 94fe1350f4 *** empty log message *** 2001-08-12 17:51:55 +00:00
Jim Meyering 494f552020 . 2001-08-12 17:51:44 +00:00
Jim Meyering 0b219591dd . 2001-08-12 17:50:42 +00:00
Jim Meyering 28154116c4 (main): Iterate over the sorted keys (rather than `while...each...'),
so this script produces the same output regardless of which version
of perl (e.g., perl5.6) is used.
2001-08-12 17:44:03 +00:00
Jim Meyering 4488d9300d *** empty log message *** 2001-08-12 17:37:26 +00:00
Jim Meyering bdf06b6060 ($program_name): Define.
(main): Use $program_name, rather than long-inaccurate `build-script'.
2001-08-12 17:37:18 +00:00
Jim Meyering 105f262769 *** empty log message *** 2001-08-12 13:26:08 +00:00
Jim Meyering 1f295ae62d Quote the first argument in each use of AC_DEFUN. 2001-08-12 13:26:00 +00:00
Jim Meyering 7c80315d48 . 2001-08-12 13:10:59 +00:00
Jim Meyering 93696dfa49 update from libc 2001-08-12 13:02:20 +00:00
Jim Meyering 2238faa8fd Include gtod.h -- should have been part of preceding delta 2001-08-12 13:00:15 +00:00
Jim Meyering 5bd7048dfe update from libc 2001-08-12 12:50:16 +00:00
Jim Meyering 43f4c1dfd6 update from libc 2001-08-12 12:49:11 +00:00
Jim Meyering 2634943070 . 2001-08-12 10:57:10 +00:00
Jim Meyering 73db00ea87 *** empty log message *** 2001-08-12 10:55:53 +00:00
Jim Meyering a9066ef619 *** empty log message *** 2001-08-12 09:19:37 +00:00
Jim Meyering 3e4950247e Include gtod.h.
(main): `Call' GETTIMEOFDAY_INIT, just in case the code ever changes
to make it necessary.
2001-08-12 08:47:35 +00:00
Jim Meyering 7292e5031b Work around non-compliant gettimeofday on Mac OS X 10.0.4,
(aka Darwin 1.3.7) that caused the date of the first file listed
in long output to be the current time rather than the file's mtime.
The real work is in m4/gettimeofday.m4 and the wrapper function,
lib/gettimeofday.c.

Include gtod.h.
(main): `Call' GETTIMEOFDAY_INIT.
(print_long_format): Add a comment about gettimeofday.
2001-08-12 08:47:19 +00:00
Jim Meyering 98950444e6 *** empty log message *** 2001-08-12 08:37:22 +00:00
Jim Meyering 1249a88daf (libfetish_a_SOURCES): Add gtod.h. 2001-08-12 08:33:25 +00:00
Jim Meyering 1d3ea9cba8 *** empty log message *** 2001-08-12 08:33:09 +00:00
Jim Meyering c04d364e49 *** empty log message *** 2001-08-12 08:31:50 +00:00
Jim Meyering e5e8774bc5 remove unused cruft 2001-08-12 08:30:36 +00:00
Jim Meyering 1a52475baa yes/no were reversed 2001-08-12 08:30:03 +00:00
Jim Meyering eac67711b5 *** empty log message *** 2001-08-10 19:02:06 +00:00
Jim Meyering 7ad9855775 *** empty log message *** 2001-08-10 19:02:00 +00:00
Jim Meyering bffeb8c5aa (print_long_format): Simplify previous patch for
listing negative sizes, by adding OFF_T_MAX - OFF_T_MIN + 1
instead of doing a fancy conditional shift.  This is simpler
and it avoids GCC's bogus compile-time warning about shift
counts.  (As a bonus, it is portable to hosts that do not use
twos-complement arithmetic.  :-)
2001-08-10 19:01:54 +00:00
Jim Meyering 97dcae2fb6 (print_long_format): Multiply the shift width by zero
to avoid a warning from gcc on hosts with an unsigned type for the
st_size member.
2001-08-10 08:13:03 +00:00
Jim Meyering 4e27c7372b *** empty log message *** 2001-08-10 07:51:56 +00:00
Jim Meyering 67ba4ac017 (print_long_format): If a file size is negative, assume
the typical case where it has wrapped around from a positive value.
2001-08-10 07:51:52 +00:00
Jim Meyering b84a28d9dd *** empty log message *** 2001-08-07 13:45:31 +00:00
Jim Meyering 0d1d166269 (cfcc_msg): Remove now-inaccurate part of comment.
From Bruno Haible.
2001-08-07 13:45:26 +00:00
Jim Meyering 62dbf128a5 *** empty log message *** 2001-08-07 12:10:39 +00:00
Jim Meyering 6258f69c2c (m4-check): New rule.
(local-check): Depend on it.
2001-08-07 12:10:10 +00:00
Jim Meyering fb3d202184 whoops 2001-08-07 11:32:28 +00:00
Jim Meyering ea9d247693 test both cp and mv 2001-08-07 11:31:06 +00:00
Jim Meyering 65cb579ccc . 2001-08-07 10:44:12 +00:00
Jim Meyering ebde935587 (TESTS): Add update. 2001-08-07 10:44:00 +00:00
Jim Meyering 01f160092e (copy_internal): Set *rename_succeeded, so that
the caller (mv) doesn't remove the source file.
2001-08-06 17:29:15 +00:00
Jim Meyering 053a9d88ee (usage): Correct the description of --update. 2001-08-06 17:28:37 +00:00
Jim Meyering 742dc8804a *** empty log message *** 2001-08-06 15:50:45 +00:00
Jim Meyering 11b02c5e13 finally make it work 2001-08-06 09:50:05 +00:00
Jim Meyering 0324f0f18b . 2001-08-06 09:49:14 +00:00
Jim Meyering 35559dd156 rename variables 2001-08-05 08:58:52 +00:00