Commit Graph
20330 Commits
Author SHA1 Message Date
Jim Meyering eb04599224 *** empty log message *** 2001-09-30 11:33:04 +00:00
Jim Meyering 83e51f160b tail -F would segfault
(parse_options): Add missing `break;' from last change.
2001-09-30 11:32:58 +00:00
Jim Meyering 3bf61e47d8 *** empty log message *** 2001-09-30 06:26:57 +00:00
Jim Meyering 1c670cbcd2 (excluded_filename): 0 -> false, since it's a boolean context. 2001-09-30 06:26:46 +00:00
Jim Meyering 82f70b1ed9 *** empty log message *** 2001-09-29 10:30:41 +00:00
Jim Meyering 56a2795f38 *** empty log message *** 2001-09-29 10:29:25 +00:00
Jim Meyering dd39ed6e81 *** empty log message *** 2001-09-29 10:27:35 +00:00
Jim Meyering 726b66072a (jm_LIST_MOUNTED_FILESYSTEMS)
Check for these headers: sys/param.h sys/ucred.h sys/mount.h
sys/fs_types.h, and make the link-test for getfsstat guard #include
directives with appropriate #if HAVE_*_H tests so that we can
detect getfsstat on Apple Darwin1.3.7 systems.

Also fix harmless typo in cache variable name: s/getsstat/getfsstat/.
2001-09-29 10:27:28 +00:00
Jim Meyering 7bf6b048be *** empty log message *** 2001-09-29 09:37:13 +00:00
Jim Meyering 10a482fd41 (copy_internal): Call record_dest for all types of
files (for which this makes sense), not just regular ones.
2001-09-29 09:35:01 +00:00
Jim Meyering 16de496c5d *** empty log message *** 2001-09-29 08:13:26 +00:00
Jim Meyering 33e8cff715 (jm_LIST_MOUNTED_FILESYSTEMS)
[one-argument getmntent function]): Include stdio.h before mntent.h.
SunOS4.1.x needs it for the declaration of `FILE'.
Patch by Volker Borchert.
2001-09-29 08:13:18 +00:00
Jim Meyering 23eb5e1acd *** empty log message *** 2001-09-29 06:49:35 +00:00
Jim Meyering 900acbdbcb (wget-update): Add mkinstalldirs. 2001-09-29 06:49:25 +00:00
Jim Meyering 45d6772cfe *** empty log message *** 2001-09-28 19:58:37 +00:00
Jim Meyering fa805211ac *** empty log message *** 2001-09-28 19:55:51 +00:00
Jim Meyering eca1e2d890 (main): Call dest_info_init if necessary. 2001-09-28 19:55:06 +00:00
Jim Meyering 6027bfa668 (main): Call dest_info_init if necessary. 2001-09-28 19:53:21 +00:00
Jim Meyering 679295f1de (do_copy): Call dest_info_init if necessary. 2001-09-28 19:52:34 +00:00
Jim Meyering beee918e72 (dest_info_init): Declare. 2001-09-28 19:52:01 +00:00
Jim Meyering 9d0fbdaf36 Include "hash.h" and "same.h".
(struct Dest_info): Define.
(dest_info): Declare global.
(DEST_INFO_INITIAL_CAPACITY): Define.
(hash_pjw): New function.
(dest_info_hash): Likewise.
(dest_info_compare): Likewise.
(dest_info_init): Likewise.
(seen_dest): Likewise.
(record_dest): Likewise.
(copy_internal): If the destination exists, fail if it's in the set
of files that have already been created as part of this mv or cp.
(copy_internal) [move_mode]: Record the destination dev/ino/filename.
(copy_internal) [!move_mode, regular file]: Likewise.
2001-09-28 19:51:19 +00:00
Jim Meyering e60f34c475 Accept new option: --reply={yes,no,query}
(enum) [REPLY_OPTION]: Define.
(usage): Describe new option.
Split long usage string into smaller pieces.
(main): Handle new option.
2001-09-28 19:43:17 +00:00
Jim Meyering 1f987f7eed *** empty log message *** 2001-09-28 19:37:57 +00:00
Jim Meyering 5dffc8a83c * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
Check for strtoul and strtoumax,
as those declarations are made even in the signed case.
* xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
Likewise, for strtol and strtoimax.
2001-09-28 19:37:38 +00:00
Jim Meyering c9b0d2415a *** empty log message *** 2001-09-28 19:35:42 +00:00
Jim Meyering 9893f72169 *** empty log message *** 2001-09-28 19:35:01 +00:00
Jim Meyering 9a8547bc45 (strtol): Do not declare if HAVE_DECL_STRTOL.
(strtoul): Do not declare if HAVE_DECL_STRTOUL.
(strtoimax, strtoumax): Do not declare if already defined as a macro.
2001-09-28 19:34:31 +00:00
Jim Meyering 173be61cad . 2001-09-28 08:14:35 +00:00
Jim Meyering 855fc65068 *** empty log message *** 2001-09-28 08:08:41 +00:00
Jim Meyering 4f16f7f014 . 2001-09-28 08:06:04 +00:00
Jim Meyering 909593073d *** empty log message *** 2001-09-28 06:45:25 +00:00
Jim Meyering b2f1dc2045 *** empty log message *** 2001-09-26 08:51:53 +00:00
Jim Meyering 0cf127ff5c *** empty log message *** 2001-09-26 08:51:24 +00:00
Jim Meyering 7316ccbb5f *** empty log message *** 2001-09-26 08:33:14 +00:00
Jim Meyering 50ab0a78e0 *** empty log message *** 2001-09-26 08:27:49 +00:00
Jim Meyering ea59c2ae6d (USE_UNLOCKED_IO): Define to 1 if not already defined. 2001-09-26 08:27:42 +00:00
Jim Meyering 8cd9be5598 . 2001-09-26 08:22:37 +00:00
Jim Meyering dc374320b8 *** empty log message *** 2001-09-26 08:21:55 +00:00
Jim Meyering 5f97defa02 remove now-unused tmp/trap junk 2001-09-26 08:21:06 +00:00
Jim Meyering 8910e98330 exit from only one place: the end 2001-09-26 08:20:38 +00:00
Jim Meyering a11576bb59 portability tweaks 2001-09-26 08:19:17 +00:00
Jim Meyering de7d4fdb5f *** empty log message *** 2001-09-26 08:13:41 +00:00
Jim Meyering ddbaad372e (unlocked-io.h): Use $(SHELL). 2001-09-26 08:13:27 +00:00
Jim Meyering 70729acb60 . 2001-09-26 08:11:20 +00:00
Jim Meyering 5b60bebabb (unlocked-io.h): Rewrite to use a separate script,
rather than trying to embed it here.
(EXTRA_DIST): Add gen-uio.  Remove unlocked-io.hin
2001-09-26 08:11:01 +00:00
Jim Meyering 29f888398d . 2001-09-26 07:55:04 +00:00
Jim Meyering e2365ea11e *** empty log message *** 2001-09-26 07:53:18 +00:00
Jim Meyering 681607ae07 *** empty log message *** 2001-09-26 07:52:57 +00:00
Jim Meyering c82b876b6f Update to autoconf 2.50 version. 2001-09-26 07:44:23 +00:00
Jim Meyering ec6cab66bf *** empty log message *** 2001-09-25 13:01:36 +00:00