Commit Graph
14506 Commits
Author SHA1 Message Date
Jim Meyering 1e4a6cbe1c (AUTHORS): Mark string for translation, since it contains the English word `and'. 2001-08-14 07:10:10 +00:00
Jim Meyering 543be22259 *** empty log message *** 2001-08-14 07:09:45 +00:00
Jim Meyering 6195ec1bc7 . 2001-08-14 06:59:30 +00:00
Jim Meyering f5342d557b *** empty log message *** 2001-08-14 06:56:03 +00:00
Jim Meyering 43a6f9d2d8 (AUTHORS): Mark string for translation, since it contains the English word `and'. 2001-08-14 06:54:27 +00:00
Jim Meyering 33795311ba whoops. remove the backslash, too. 2001-08-13 20:14:36 +00:00
Jim Meyering 60a8a47a86 *** empty log message *** 2001-08-13 20:11:15 +00:00
Jim Meyering 269f95aef7 (unlocked-io.h): Do not append "_unlocked" twice.
Port to Solaris 8, where 'sed' requires a space after the 'r'
command, and where sh dislikes "$/".  Clean up the spacing a bit.
Redirect output to $tmp just once.
2001-08-13 20:11:03 +00:00
Jim Meyering 23b6d0adbe *** empty log message *** 2001-08-13 10:34:09 +00:00
Jim Meyering a70f409dee *** empty log message *** 2001-08-13 10:33:40 +00:00
Jim Meyering 41a201e991 (AUTHORS): Mark string for translation, since it contains the English word `and'. 2001-08-13 10:33:28 +00:00
Jim Meyering 4c83ec781b (author_mark_check): New rule.
(local-check): Depend on it.
2001-08-13 10:27:02 +00:00
Jim Meyering 63cf4a9893 *** empty log message *** 2001-08-13 08:44:57 +00:00
Jim Meyering 57241aed6a Change expected exit status to reflect the above. 2001-08-13 08:44:49 +00:00
Jim Meyering fb9e0e1b1a *** empty log message *** 2001-08-13 08:37:02 +00:00
Jim Meyering fdb24f917f (cp_option_init): Adjust initialization of `interactive',
and initialize new member, stdin_tty.
2001-08-13 08:36:54 +00:00
Jim Meyering 2e91541147 (cp_option_init): Adjust initialization of `interactive',
and initialize new member, stdin_tty.
(main): Adjust initialization(s) of `interactive',
2001-08-13 08:36:16 +00:00
Jim Meyering ebb48992c0 (cp_option_init): Adjust initialization of `interactive',
and initialize new member, stdin_tty.
(main): Adjust initialization(s) of `interactive',
2001-08-13 08:33:04 +00:00
Jim Meyering 3b21e822ac (enum Interactive): New type.
(struct cp_options) [interactive]: Change type to Interactive.
(struct cp_options) [stdin_tty]: New member.
2001-08-13 08:32:10 +00:00
Jim Meyering 66c2f3a08a (overwrite_prompt): New function.
(copy_internal): Separate the mv-specific and non-move_mode code
that determines whether to prompt the user.
[move_mode]: Don't make mv fail (i.e. don't return 1) just because
the user declined to remove one or more of the files.
2001-08-13 08:31:03 +00:00
Jim Meyering c1c7368372 *** empty log message *** 2001-08-13 06:30:14 +00:00
Jim Meyering 7fda17ac4f (<errno.h>): Include.
(errno): Declare if not defined.
(addext): Work correctly when pathconf returns -1 and leaves
errno alone because there is no limit.  Also, work even if
pathconf returns a value greater than SIZE_MAX.
2001-08-13 06:30:10 +00:00
Jim Meyering 242256b45d *** empty log message *** 2001-08-12 20:11:49 +00:00
Jim Meyering 79dbd85e74 (xgetcwd) [defined __GLIBC__ && __GLIBC__ >= 2]:
Simply `return getcwd (NULL, 0);'.
[! (defined __GLIBC__ && __GLIBC__ >= 2)]:
Use 1300 as initial value for length, not PATH_MAX.
2001-08-12 20:11:39 +00:00
Jim Meyering 8982646a63 Clean up cpp syntax. 2001-08-12 18:49:13 +00:00
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