Jim Meyering [Mon, 13 Aug 2001 10:33:28 +0000 (10:33 +0000)]
(AUTHORS): Mark string for translation, since it contains the English word `and'.
Jim Meyering [Mon, 13 Aug 2001 10:27:02 +0000 (10:27 +0000)]
(author_mark_check): New rule.
(local-check): Depend on it.
Jim Meyering [Mon, 13 Aug 2001 08:44:57 +0000 (08:44 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Aug 2001 08:44:49 +0000 (08:44 +0000)]
Change expected exit status to reflect the above.
Jim Meyering [Mon, 13 Aug 2001 08:37:02 +0000 (08:37 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Aug 2001 08:36:54 +0000 (08:36 +0000)]
(cp_option_init): Adjust initialization of `interactive',
and initialize new member, stdin_tty.
Jim Meyering [Mon, 13 Aug 2001 08:36:16 +0000 (08:36 +0000)]
(cp_option_init): Adjust initialization of `interactive',
and initialize new member, stdin_tty.
(main): Adjust initialization(s) of `interactive',
Jim Meyering [Mon, 13 Aug 2001 08:33:04 +0000 (08:33 +0000)]
(cp_option_init): Adjust initialization of `interactive',
and initialize new member, stdin_tty.
(main): Adjust initialization(s) of `interactive',
Jim Meyering [Mon, 13 Aug 2001 08:32:10 +0000 (08:32 +0000)]
(enum Interactive): New type.
(struct cp_options) [interactive]: Change type to Interactive.
(struct cp_options) [stdin_tty]: New member.
Jim Meyering [Mon, 13 Aug 2001 08:31:03 +0000 (08:31 +0000)]
(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.
Jim Meyering [Mon, 13 Aug 2001 06:30:14 +0000 (06:30 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Aug 2001 06:30:10 +0000 (06:30 +0000)]
(<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.
Jim Meyering [Sun, 12 Aug 2001 20:11:49 +0000 (20:11 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 20:11:39 +0000 (20:11 +0000)]
(xgetcwd) [defined __GLIBC__ && __GLIBC__ >= 2]:
Simply `return getcwd (NULL, 0);'.
[! (defined __GLIBC__ && __GLIBC__ >= 2)]:
Use 1300 as initial value for length, not PATH_MAX.
Jim Meyering [Sun, 12 Aug 2001 18:49:13 +0000 (18:49 +0000)]
Clean up cpp syntax.
Jim Meyering [Sun, 12 Aug 2001 18:46:25 +0000 (18:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 18:46:20 +0000 (18:46 +0000)]
Guard the above pathconf-using definitions with `#if HAVE_PATHCONF'
rather than with `#ifdef _POSIX_VERSION'.
Jim Meyering [Sun, 12 Aug 2001 18:28:25 +0000 (18:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 18:28:19 +0000 (18:28 +0000)]
(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.
Jim Meyering [Sun, 12 Aug 2001 18:23:28 +0000 (18:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 17:52:27 +0000 (17:52 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 17:51:55 +0000 (17:51 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 17:51:44 +0000 (17:51 +0000)]
.
Jim Meyering [Sun, 12 Aug 2001 17:50:42 +0000 (17:50 +0000)]
.
Jim Meyering [Sun, 12 Aug 2001 17:44:03 +0000 (17:44 +0000)]
(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.
Jim Meyering [Sun, 12 Aug 2001 17:37:26 +0000 (17:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 17:37:18 +0000 (17:37 +0000)]
($program_name): Define.
(main): Use $program_name, rather than long-inaccurate `build-script'.
Jim Meyering [Sun, 12 Aug 2001 13:26:08 +0000 (13:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 13:26:00 +0000 (13:26 +0000)]
Quote the first argument in each use of AC_DEFUN.
Jim Meyering [Sun, 12 Aug 2001 13:10:59 +0000 (13:10 +0000)]
.
Jim Meyering [Sun, 12 Aug 2001 13:02:20 +0000 (13:02 +0000)]
update from libc
Jim Meyering [Sun, 12 Aug 2001 13:00:15 +0000 (13:00 +0000)]
Include gtod.h -- should have been part of preceding delta
Jim Meyering [Sun, 12 Aug 2001 12:50:16 +0000 (12:50 +0000)]
update from libc
Jim Meyering [Sun, 12 Aug 2001 12:49:11 +0000 (12:49 +0000)]
update from libc
Jim Meyering [Sun, 12 Aug 2001 10:57:10 +0000 (10:57 +0000)]
.
Jim Meyering [Sun, 12 Aug 2001 10:55:53 +0000 (10:55 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 09:19:37 +0000 (09:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 08:47:35 +0000 (08:47 +0000)]
Include gtod.h.
(main): `Call' GETTIMEOFDAY_INIT, just in case the code ever changes
to make it necessary.
Jim Meyering [Sun, 12 Aug 2001 08:47:19 +0000 (08:47 +0000)]
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.
Jim Meyering [Sun, 12 Aug 2001 08:37:22 +0000 (08:37 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 08:33:25 +0000 (08:33 +0000)]
(libfetish_a_SOURCES): Add gtod.h.
Jim Meyering [Sun, 12 Aug 2001 08:33:09 +0000 (08:33 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 08:31:50 +0000 (08:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 08:30:36 +0000 (08:30 +0000)]
remove unused cruft
Jim Meyering [Sun, 12 Aug 2001 08:30:03 +0000 (08:30 +0000)]
yes/no were reversed
Jim Meyering [Fri, 10 Aug 2001 19:02:06 +0000 (19:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Aug 2001 19:02:00 +0000 (19:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Aug 2001 19:01:54 +0000 (19:01 +0000)]
(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. :-)
Jim Meyering [Fri, 10 Aug 2001 08:13:03 +0000 (08:13 +0000)]
(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.
Jim Meyering [Fri, 10 Aug 2001 07:51:56 +0000 (07:51 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Aug 2001 07:51:52 +0000 (07:51 +0000)]
(print_long_format): If a file size is negative, assume
the typical case where it has wrapped around from a positive value.
Jim Meyering [Tue, 7 Aug 2001 13:45:31 +0000 (13:45 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Aug 2001 13:45:26 +0000 (13:45 +0000)]
(cfcc_msg): Remove now-inaccurate part of comment.
From Bruno Haible.
Jim Meyering [Tue, 7 Aug 2001 12:10:39 +0000 (12:10 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Aug 2001 12:10:10 +0000 (12:10 +0000)]
(m4-check): New rule.
(local-check): Depend on it.
Jim Meyering [Tue, 7 Aug 2001 11:32:28 +0000 (11:32 +0000)]
whoops
Jim Meyering [Tue, 7 Aug 2001 11:31:06 +0000 (11:31 +0000)]
test both cp and mv
Jim Meyering [Tue, 7 Aug 2001 10:44:12 +0000 (10:44 +0000)]
.
Jim Meyering [Tue, 7 Aug 2001 10:44:00 +0000 (10:44 +0000)]
(TESTS): Add update.
Jim Meyering [Mon, 6 Aug 2001 17:29:15 +0000 (17:29 +0000)]
(copy_internal): Set *rename_succeeded, so that
the caller (mv) doesn't remove the source file.
Jim Meyering [Mon, 6 Aug 2001 17:28:37 +0000 (17:28 +0000)]
(usage): Correct the description of --update.
Jim Meyering [Mon, 6 Aug 2001 15:50:45 +0000 (15:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Aug 2001 09:50:05 +0000 (09:50 +0000)]
finally make it work
Jim Meyering [Mon, 6 Aug 2001 09:49:14 +0000 (09:49 +0000)]
.
Jim Meyering [Sun, 5 Aug 2001 08:58:52 +0000 (08:58 +0000)]
rename variables
Jim Meyering [Sun, 5 Aug 2001 08:53:04 +0000 (08:53 +0000)]
Reflect renaming.
Jim Meyering [Sun, 5 Aug 2001 08:52:48 +0000 (08:52 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Aug 2001 08:50:14 +0000 (08:50 +0000)]
(TESTS): Add i-3.
Jim Meyering [Sun, 5 Aug 2001 08:48:05 +0000 (08:48 +0000)]
.
Jim Meyering [Sun, 5 Aug 2001 08:47:20 +0000 (08:47 +0000)]
.
Jim Meyering [Sun, 5 Aug 2001 08:46:34 +0000 (08:46 +0000)]
Reflect name and usage changes.
Jim Meyering [Sun, 5 Aug 2001 08:45:36 +0000 (08:45 +0000)]
Reflect name and usage changes.
Jim Meyering [Sun, 5 Aug 2001 08:42:53 +0000 (08:42 +0000)]
Renamed from root-only.
Jim Meyering [Sun, 5 Aug 2001 03:40:52 +0000 (03:40 +0000)]
Require autoconf-2.52.
Jim Meyering [Sat, 4 Aug 2001 19:09:07 +0000 (19:09 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Aug 2001 17:55:10 +0000 (17:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Aug 2001 17:52:45 +0000 (17:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Aug 2001 17:52:38 +0000 (17:52 +0000)]
(__attribute__): Remove `|| __STRICT_ANSI__' from #if stmt,
to get in sync with glibc.
Jim Meyering [Sat, 4 Aug 2001 17:51:15 +0000 (17:51 +0000)]
fix typos
Jim Meyering [Sat, 4 Aug 2001 17:49:11 +0000 (17:49 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Aug 2001 17:33:17 +0000 (17:33 +0000)]
.
Jim Meyering [Sat, 4 Aug 2001 17:31:31 +0000 (17:31 +0000)]
.
Jim Meyering [Sat, 4 Aug 2001 17:20:07 +0000 (17:20 +0000)]
.
Jim Meyering [Sat, 4 Aug 2001 17:08:37 +0000 (17:08 +0000)]
(quote_name): Pass 0 to mbsnwidth, since the default
got changed and we want the default now.
Jim Meyering [Sat, 4 Aug 2001 17:07:43 +0000 (17:07 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Aug 2001 17:07:37 +0000 (17:07 +0000)]
Don't include <limits.h>.
Include <stdlib.h> and <string.h> unconditionally.
(iswcntrl, mbsinit, ISCNTRL): New macros.
(mbsnwidth): Use K&R style function declarations.
Don't bother checking for MB_LEN_MAX == 1, since the compiler
can optimize it when MB_CUR_MAX == 1.
The width of control characters is zero, not 1.
Jim Meyering [Sat, 4 Aug 2001 17:06:05 +0000 (17:06 +0000)]
(MBSW_REJECT_UNPRINTABLE, MBSW_REJECT_INVALID):
Renamed from MBSW_ACCEPT_UNPRINTABLE and MBSW_ACCEPT_INVALID
with inverted sense. All uses changed.
Jim Meyering [Sat, 4 Aug 2001 17:03:30 +0000 (17:03 +0000)]
.
Jim Meyering [Sat, 4 Aug 2001 17:02:18 +0000 (17:02 +0000)]
(jm_MACROS): Reflect s/jm_/AM_/ renamings.
Jim Meyering [Sat, 4 Aug 2001 17:00:11 +0000 (17:00 +0000)]
(jm_PREREQ_MBSWIDTH): No longer requires AM_C_PROTOTYPES.
Check for iswcntrl, mbsinit. Use AC_TRY_COMPILE, not AC_CHECK_DECLS,
for portability to Autoconf 2.13.
Jim Meyering [Sat, 4 Aug 2001 16:59:23 +0000 (16:59 +0000)]
(jm_AC_TYPE_UNSIGNED_LONG_LONG): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:59:09 +0000 (16:59 +0000)]
(jm_AC_TYPE_UINTMAX_T): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:58:55 +0000 (16:58 +0000)]
(AM_PATH_PROG_WITH_TEST): Quote first arg of AC_DEFUN.
(AM_PATH_PROG_WITH_TEST): Output "no" only if $1 isn't $4.
Jim Meyering [Sat, 4 Aug 2001 16:58:42 +0000 (16:58 +0000)]
(AM_LC_MESSAGES): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:58:23 +0000 (16:58 +0000)]
(AC_ISC_POSIX): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:58:07 +0000 (16:58 +0000)]
(jm_AC_HEADER_INTTYPES_H): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:57:45 +0000 (16:57 +0000)]
(jm_GLIBC21): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:56:32 +0000 (16:56 +0000)]
(AM_FUNC_GETLINE): Quote first arg of AC_DEFUN.
(AM_FUNC_GETLINE): Don't bother checking for string.h any more.
Jim Meyering [Sat, 4 Aug 2001 16:56:18 +0000 (16:56 +0000)]
(AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:55:58 +0000 (16:55 +0000)]
Upgrade to serial AM2.
(AM_ICONV): Renamed from jm_ICONV; all uses changed.
Add --with-libconv-prefix.
Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
(am_cv_func_iconv): Renamed from jm_cv_func_iconv.
(am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
(am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.