rsync/rsync.git
19 years ago- Use "uchar" instead of "unsigned char".
Wayne Davison [Fri, 28 Jan 2005 21:01:21 +0000 (21:01 +0000)]
- Use "uchar" instead of "unsigned char".
- Tweaked an initializer to try to avoid a compiler warning.

19 years agoCall the right stat function based on USE_STAT64_FUNCS.
Wayne Davison [Fri, 28 Jan 2005 20:43:09 +0000 (20:43 +0000)]
Call the right stat function based on USE_STAT64_FUNCS.

19 years agoChanged direct call to fstat() into a call to do_fstat().
Wayne Davison [Fri, 28 Jan 2005 20:41:36 +0000 (20:41 +0000)]
Changed direct call to fstat() into a call to do_fstat().

19 years agoUse new USE_STAT64_FUNCS define.
Wayne Davison [Fri, 28 Jan 2005 20:33:55 +0000 (20:33 +0000)]
Use new USE_STAT64_FUNCS define.

19 years ago- Use off_t if SIZEOF_OFF_T is 8.
Wayne Davison [Fri, 28 Jan 2005 20:32:47 +0000 (20:32 +0000)]
- Use off_t if SIZEOF_OFF_T is 8.
- Define USE_STAT64_FUNCS if we defined STRUCT_STAT as
  "struct stat64".

19 years agoChanged "char" to "uchar" in delayed_bits's new_array() call.
Wayne Davison [Fri, 28 Jan 2005 20:24:23 +0000 (20:24 +0000)]
Changed "char" to "uchar" in delayed_bits's new_array() call.

19 years agoMake use of new HAVE_STRUCT_STAT64 define.
Wayne Davison [Fri, 28 Jan 2005 20:15:08 +0000 (20:15 +0000)]
Make use of new HAVE_STRUCT_STAT64 define.

19 years agoAdded a check for "struct stat64".
Wayne Davison [Fri, 28 Jan 2005 20:15:06 +0000 (20:15 +0000)]
Added a check for "struct stat64".

19 years agoDo a better job defining an int32. Also define SIZEOF_INT32
Wayne Davison [Fri, 28 Jan 2005 19:03:16 +0000 (19:03 +0000)]
Do a better job defining an int32.  Also define SIZEOF_INT32
instead of the (unused) LARGE_INT32 variable.

19 years ago- Changed the main core of system include files to use the same "#if"
Wayne Davison [Fri, 28 Jan 2005 18:50:54 +0000 (18:50 +0000)]
- Changed the main core of system include files to use the same "#if"
  idioms that configure uses.
- Use "#if" (not "#ifdef") for configure-defined macros.
- Use "#if !" (not "#ifndef") for configure-defined macros.

19 years agoUse "#if" (not "#ifdef") for configure-defined macros.
Wayne Davison [Fri, 28 Jan 2005 18:50:49 +0000 (18:50 +0000)]
Use "#if" (not "#ifdef") for configure-defined macros.

19 years agoMade log_open() static and made it die with an error if the
Wayne Davison [Fri, 28 Jan 2005 17:42:21 +0000 (17:42 +0000)]
Made log_open() static and made it die with an error if the
log-file can't be opened.

19 years agoNo need to call log_open() in start_accept_loop() because
Wayne Davison [Fri, 28 Jan 2005 17:33:57 +0000 (17:33 +0000)]
No need to call log_open() in start_accept_loop() because
rsync_module() calls log_init() before it gives up its privileges.

19 years agoDocument the "max verbosity" setting.
Wayne Davison [Fri, 28 Jan 2005 17:11:48 +0000 (17:11 +0000)]
Document the "max verbosity" setting.

19 years agoDocument the --verbose (-v) option for the daemon.
Wayne Davison [Fri, 28 Jan 2005 17:10:58 +0000 (17:10 +0000)]
Document the --verbose (-v) option for the daemon.

19 years ago- Moved read_only variable here from options.c
Wayne Davison [Fri, 28 Jan 2005 17:10:16 +0000 (17:10 +0000)]
- Moved read_only variable here from options.c
- Set read_only to 1 if the module is read-only.
- Make sure that the verbose level is 0 before we parse the client's
  options.

19 years ago- Added --verbose option parsing to the daemon options.
Wayne Davison [Fri, 28 Jan 2005 17:07:54 +0000 (17:07 +0000)]
- Added --verbose option parsing to the daemon options.
- Moved read_only into clientserver.c.

19 years agoGot rid of unused mmap section.
Wayne Davison [Fri, 28 Jan 2005 17:06:41 +0000 (17:06 +0000)]
Got rid of unused mmap section.

19 years agoChanged HAVE_OFF64_T to SIZEOF_OFF64_T.
Wayne Davison [Fri, 28 Jan 2005 16:27:02 +0000 (16:27 +0000)]
Changed HAVE_OFF64_T to SIZEOF_OFF64_T.

19 years agoChanged HAVE_OFF64_T to SIZEOF_OFF64_T.
Wayne Davison [Fri, 28 Jan 2005 16:21:37 +0000 (16:21 +0000)]
Changed HAVE_OFF64_T to SIZEOF_OFF64_T.

19 years agoImproved the option summaries.
Wayne Davison [Fri, 28 Jan 2005 09:55:36 +0000 (09:55 +0000)]
Improved the option summaries.

19 years agoImproved the option-descriptions in the --help text.
Wayne Davison [Fri, 28 Jan 2005 09:55:18 +0000 (09:55 +0000)]
Improved the option-descriptions in the --help text.

19 years agoMore --delete-before improvements.
Wayne Davison [Fri, 28 Jan 2005 08:01:33 +0000 (08:01 +0000)]
More --delete-before improvements.

19 years agoOne minor tweak to the --delete-before option-passing code.
Wayne Davison [Fri, 28 Jan 2005 07:50:00 +0000 (07:50 +0000)]
One minor tweak to the --delete-before option-passing code.

19 years agoDocument --delete-before.
Wayne Davison [Fri, 28 Jan 2005 07:39:59 +0000 (07:39 +0000)]
Document --delete-before.

19 years agoAdded back support for the --delete-before option so that future
Wayne Davison [Fri, 28 Jan 2005 07:39:09 +0000 (07:39 +0000)]
Added back support for the --delete-before option so that future
verions of rsync can more easily change the default that --delete
implies and still support explicit --delete-before functionality
when interacting with older versions.

19 years agoAdded a sanity check for the SIZEOF_INT64 define.
Wayne Davison [Fri, 28 Jan 2005 06:51:44 +0000 (06:51 +0000)]
Added a sanity check for the SIZEOF_INT64 define.

19 years agoUse the new SIZEOF_INT64 define instead of INT64_IS_OFF_T.
Wayne Davison [Fri, 28 Jan 2005 06:46:33 +0000 (06:46 +0000)]
Use the new SIZEOF_INT64 define instead of INT64_IS_OFF_T.

19 years ago- Switched the int64 code over to using the improved SIZEOF_*
Wayne Davison [Fri, 28 Jan 2005 06:45:16 +0000 (06:45 +0000)]
- Switched the int64 code over to using the improved SIZEOF_*
  macros.
- Define SIZEOF_INT64 to a value that is useable at compile time.
- Got rid of INT64_IS_OFF_T.

19 years agoSwitched the checks for "long long" and "off64_t" to use the
Wayne Davison [Fri, 28 Jan 2005 06:43:48 +0000 (06:43 +0000)]
Switched the checks for "long long" and "off64_t" to use the
AC_CHECK_SIZEOF() macro since it now fully supports cross-
compiling.

19 years agoUse SIGNED_CHAR_OK instead of HAVE_UNSIGNED_CHAR.
Wayne Davison [Fri, 28 Jan 2005 02:01:18 +0000 (02:01 +0000)]
Use SIGNED_CHAR_OK instead of HAVE_UNSIGNED_CHAR.

19 years ago- Made some of the tests work better when cross-compiling.
Wayne Davison [Fri, 28 Jan 2005 02:00:40 +0000 (02:00 +0000)]
- Made some of the tests work better when cross-compiling.
- Added descriptions for all config.h variables that had none.
- Changed HAVE_UNSIGNED_CHAR to SIGNED_CHAR_OK.
- Got rid of (the unused) HAVE_SHORT_INO_T.
- Changed version to 2.6.4cvs (long overdue).

19 years agoAdded a few more details of changes since 2.6.3.
Wayne Davison [Fri, 28 Jan 2005 01:56:50 +0000 (01:56 +0000)]
Added a few more details of changes since 2.6.3.

19 years agoMention the latest changes plus a few missed items.
Wayne Davison [Fri, 28 Jan 2005 00:01:54 +0000 (00:01 +0000)]
Mention the latest changes plus a few missed items.

19 years agoDocment the new --delay-updates option.
Wayne Davison [Thu, 27 Jan 2005 22:47:23 +0000 (22:47 +0000)]
Docment the new --delay-updates option.

19 years agoImplement the new --delay-updates option.
Wayne Davison [Thu, 27 Jan 2005 22:46:36 +0000 (22:46 +0000)]
Implement the new --delay-updates option.

19 years agoAdded the new --delay-updates option.
Wayne Davison [Thu, 27 Jan 2005 22:46:14 +0000 (22:46 +0000)]
Added the new --delay-updates option.

19 years ago- Output the new flist time stats (when available).
Wayne Davison [Thu, 27 Jan 2005 22:23:30 +0000 (22:23 +0000)]
- Output the new flist time stats (when available).
- For protocol 29 and above, send the flist time stats to the
  client side (as needed).

19 years agoSet the new stats.flist_buildtime and stats.flist_xfertime values.
Wayne Davison [Thu, 27 Jan 2005 22:21:45 +0000 (22:21 +0000)]
Set the new stats.flist_buildtime and stats.flist_xfertime values.

19 years ago- Added a caveat to the definition of the int64 type.
Wayne Davison [Thu, 27 Jan 2005 21:55:11 +0000 (21:55 +0000)]
- Added a caveat to the definition of the int64 type.
- Added two time values to the stats struct.

19 years agoAdded a missing newline to an error message.
Wayne Davison [Thu, 27 Jan 2005 21:45:32 +0000 (21:45 +0000)]
Added a missing newline to an error message.

19 years agoBumped the copyright year to 2005.
Wayne Davison [Thu, 27 Jan 2005 21:42:56 +0000 (21:42 +0000)]
Bumped the copyright year to 2005.

19 years agoAdded .rsync-filter.
Wayne Davison [Tue, 25 Jan 2005 18:16:34 +0000 (18:16 +0000)]
Added .rsync-filter.

19 years agoIf rsync is put in the background, output fewer progress-report
Wayne Davison [Tue, 25 Jan 2005 17:16:13 +0000 (17:16 +0000)]
If rsync is put in the background, output fewer progress-report
lines.

19 years ago- Use the "--filter=._-" option instead of --exclude-from=- if the
Wayne Davison [Tue, 25 Jan 2005 12:13:53 +0000 (12:13 +0000)]
- Use the "--filter=._-" option instead of --exclude-from=- if the
  protocol being saved is >= 29.
- Call the new get_rule_prefix() function to figure out the right
  rule prefix.
- Strip out the --filter and -f options from the cached command-line.

19 years ago- Moved the code that turns rule flags into chars into a new
Wayne Davison [Tue, 25 Jan 2005 12:10:31 +0000 (12:10 +0000)]
- Moved the code that turns rule flags into chars into a new
  function called get_rule_prefix().
- Don't pass the per-dir .cvsignore rule from -C for protocols < 29.

19 years agoIn delete_files(), handle new DEL_NO_RECURSE flag (and use
Wayne Davison [Tue, 25 Jan 2005 12:07:13 +0000 (12:07 +0000)]
In delete_files(), handle new DEL_NO_RECURSE flag (and use
renamed DEL_FORCE_RECURSE flag.

19 years ago- The call to delete_file() needs DEL_NO_RECURSE when handling
Wayne Davison [Tue, 25 Jan 2005 12:05:20 +0000 (12:05 +0000)]
- The call to delete_file() needs DEL_NO_RECURSE when handling
  delete_before or delete_after or --dry-run will report too
  many deletions.
- Changed DEL_RECURSE to DEL_FORCE_RECURSE.

19 years agoAdded DEL_NO_RECURSE and changed DEL_RECURSE to DEL_FORCE_RECURSE.
Wayne Davison [Tue, 25 Jan 2005 12:02:08 +0000 (12:02 +0000)]
Added DEL_NO_RECURSE and changed DEL_RECURSE to DEL_FORCE_RECURSE.

19 years agoNeeded to call add_cvs_excludes() from one more code path.
Wayne Davison [Tue, 25 Jan 2005 11:55:03 +0000 (11:55 +0000)]
Needed to call add_cvs_excludes() from one more code path.

19 years agoRenamed several exclude-related functions/variables using new
Wayne Davison [Tue, 25 Jan 2005 10:39:14 +0000 (10:39 +0000)]
Renamed several exclude-related functions/variables using new
filter terminology.

19 years agoMention the latest new options.
Wayne Davison [Tue, 25 Jan 2005 04:00:31 +0000 (04:00 +0000)]
Mention the latest new options.

19 years agoAdded testing for --filter and merge-file features.
Wayne Davison [Tue, 25 Jan 2005 03:18:29 +0000 (03:18 +0000)]
Added testing for --filter and merge-file features.

19 years agoMention that --del is a popt alias for --delete-during, so there's
Wayne Davison [Tue, 25 Jan 2005 03:09:06 +0000 (03:09 +0000)]
Mention that --del is a popt alias for --delete-during, so there's
no need to refuse "del" by name -- just refusing "delete-during" or
"delete*" is sufficient.

19 years agoDocument the latest --delete options, including --delete-during.
Wayne Davison [Tue, 25 Jan 2005 03:09:02 +0000 (03:09 +0000)]
Document the latest --delete options, including --delete-during.

19 years ago- Changed --delete to go back to defaulting to the delete-before
Wayne Davison [Tue, 25 Jan 2005 03:08:58 +0000 (03:08 +0000)]
- Changed --delete to go back to defaulting to the delete-before
  functionality.
- Got rid of --delete-before.
- Added --delete-during.
- Added a popt alias for --delete-during:  --del.
- Fixed a bug in the generation of the proper --delete options
  for the server.
- Generate an error if the user tries to specify both --delete-during
  and --delete-after.

19 years agoDon't try to allocate zero bytes in push_local_excludes().
Wayne Davison [Tue, 25 Jan 2005 02:30:59 +0000 (02:30 +0000)]
Don't try to allocate zero bytes in push_local_excludes().

19 years agoDocument the new "filter" parameter.
Wayne Davison [Tue, 25 Jan 2005 00:53:07 +0000 (00:53 +0000)]
Document the new "filter" parameter.

19 years agoDocument --filter (-f) and -F, with lots of changes to the
Wayne Davison [Tue, 25 Jan 2005 00:53:03 +0000 (00:53 +0000)]
Document --filter (-f) and -F, with lots of changes to the
include/exclude sections, including a little restructuring.

19 years agoSome changes to support the new --filter option:
Wayne Davison [Tue, 25 Jan 2005 00:52:59 +0000 (00:52 +0000)]
Some changes to support the new --filter option:
- Changed XFLG_WORDS_ONLY to XFLG_NO_PREFIXES.
- Added XFLG_DEF_EXCLUDE and XFLG_ABS_PATH.
- Added some new MATCHFLG_* values for the new merge-file support.
- Put the "slash_cnt" var (in the exclude_struct) into a union with
  the new megelist pointer.

19 years ago- Added parsing for --filter (-f) and -F.
Wayne Davison [Tue, 25 Jan 2005 00:52:56 +0000 (00:52 +0000)]
- Added parsing for --filter (-f) and -F.
- Changed the include/exclude calls to work with the new XFLG_* values.

19 years agoAdded the "filter" parameter.
Wayne Davison [Tue, 25 Jan 2005 00:52:53 +0000 (00:52 +0000)]
Added the "filter" parameter.

19 years agoThe calls into the exclude system changed a little for the new --filter
Wayne Davison [Tue, 25 Jan 2005 00:52:50 +0000 (00:52 +0000)]
The calls into the exclude system changed a little for the new --filter
option:
- The special handling for cvs_exclude went away.
- Call push_local_excludes() and pop_local_excludes() instead of fiddling
  with the (no longer present) local_exclude_list var.

19 years agoImplemented the core of the merge-file and per-dir merge-file support
Wayne Davison [Tue, 25 Jan 2005 00:52:47 +0000 (00:52 +0000)]
Implemented the core of the merge-file and per-dir merge-file support
for the --filter option.  Some noteworthy changes:
- Added push_local_excludes() and pop_local_excludes() to implement
  the changes needed as we go from directory to directory (this takes
  the place of the old local_exclude_list var that only handled the
  .cvsignore files).  These per-dir excludes are linked into the same
  exclude list as the global excludes.
- The exclude list is transferred as filter rules to an rsync that
  talks protocol 29 or above.  It limits itself to just include/exclude
  rules for older rsyncs.

19 years agoSome exclude changes for the new --filter option, including:
Wayne Davison [Tue, 25 Jan 2005 00:52:44 +0000 (00:52 +0000)]
Some exclude changes for the new --filter option, including:
- Added module_dirlen var.
- Call set_excludes_dir() instead of setting exclude_path_prefix.
- Use the newest XFLG_* options.

19 years agoImproved the explanation for --omit-dir-times.
Wayne Davison [Tue, 25 Jan 2005 00:47:35 +0000 (00:47 +0000)]
Improved the explanation for --omit-dir-times.

19 years agoMoved the code that reads the extra byte for a modern inplace
Wayne Davison [Mon, 24 Jan 2005 17:19:04 +0000 (17:19 +0000)]
Moved the code that reads the extra byte for a modern inplace
transfer up nearer the code that reads the index.

19 years agoOptimized away the post-transfer directory loop in certain
Wayne Davison [Mon, 24 Jan 2005 06:19:58 +0000 (06:19 +0000)]
Optimized away the post-transfer directory loop in certain
circumstances.

19 years agoDocument --delete-before and --delete's new "during" behavior.
Wayne Davison [Mon, 24 Jan 2005 01:41:57 +0000 (01:41 +0000)]
Document --delete-before and --delete's new "during" behavior.

19 years agoAdded the delete-during handling (also selected with --delete) and
Wayne Davison [Mon, 24 Jan 2005 01:41:54 +0000 (01:41 +0000)]
Added the delete-during handling (also selected with --delete) and
added --delete-before for the old delete logic.

19 years agoMoved a call to add_cvs_exclude() from the delete code to one code-
Wayne Davison [Mon, 24 Jan 2005 01:41:51 +0000 (01:41 +0000)]
Moved a call to add_cvs_exclude() from the delete code to one code-
path in this file.  This avoids a potential duplication of the
cvs-excludes that would occur in the old logic.

19 years agoAdded code to implement the delete-during handling.
Wayne Davison [Mon, 24 Jan 2005 01:41:48 +0000 (01:41 +0000)]
Added code to implement the delete-during handling.

19 years agoMoved some of the delete code into flist.c since the generator now
Wayne Davison [Mon, 24 Jan 2005 01:41:45 +0000 (01:41 +0000)]
Moved some of the delete code into flist.c since the generator now
calls it for the delete-during handling.

19 years agoMoved some of the delete code from receiver.c to here and implemented
Wayne Davison [Mon, 24 Jan 2005 01:41:42 +0000 (01:41 +0000)]
Moved some of the delete code from receiver.c to here and implemented
the handling for delete_during (which is called from the generator).

19 years agoMention the --omit-dir-times option.
Wayne Davison [Mon, 24 Jan 2005 00:56:37 +0000 (00:56 +0000)]
Mention the --omit-dir-times option.

19 years agoDocument --omit-dir-times.
Wayne Davison [Mon, 24 Jan 2005 00:51:38 +0000 (00:51 +0000)]
Document --omit-dir-times.

19 years agoHonor the new omit_dir_times var.
Wayne Davison [Mon, 24 Jan 2005 00:51:34 +0000 (00:51 +0000)]
Honor the new omit_dir_times var.

19 years agoAdded --omit-dir-times (-O).
Wayne Davison [Mon, 24 Jan 2005 00:51:32 +0000 (00:51 +0000)]
Added --omit-dir-times (-O).

19 years agoMentioned the --dirs and --list-only options.
Wayne Davison [Mon, 24 Jan 2005 00:34:53 +0000 (00:34 +0000)]
Mentioned the --dirs and --list-only options.

19 years ago- Changed --keep-dirs (-k) into --dirs (-d).
Wayne Davison [Mon, 24 Jan 2005 00:17:42 +0000 (00:17 +0000)]
- Changed --keep-dirs (-k) into --dirs (-d).
- Document --list-only.

19 years ago- Changed --keep-dirs (-k) into --dirs (-d).
Wayne Davison [Mon, 24 Jan 2005 00:17:39 +0000 (00:17 +0000)]
- Changed --keep-dirs (-k) into --dirs (-d).
- Renamed keep_dirs to xfer_dirs.
- Mention --list-only in the --help.

19 years agoRenamed keep_dirs, "xfer_dirs".
Wayne Davison [Mon, 24 Jan 2005 00:17:36 +0000 (00:17 +0000)]
Renamed keep_dirs, "xfer_dirs".

19 years agoDocument the new --keep-dirs option.
Wayne Davison [Sun, 23 Jan 2005 16:49:09 +0000 (16:49 +0000)]
Document the new --keep-dirs option.

19 years agoGo back to requiring -r for deletes to happen.
Wayne Davison [Sun, 23 Jan 2005 07:27:01 +0000 (07:27 +0000)]
Go back to requiring -r for deletes to happen.

19 years agoWhen an option defined with POPT_ARG_VAL is being refused, we must
Wayne Davison [Sun, 23 Jan 2005 01:25:36 +0000 (01:25 +0000)]
When an option defined with POPT_ARG_VAL is being refused, we must
change it to POPT_ARG_NONE or it won't be refused.

19 years ago- Use the new delete_before var.
Wayne Davison [Sat, 22 Jan 2005 22:48:40 +0000 (22:48 +0000)]
- Use the new delete_before var.
- Check the "keep_dirs" var instead of "recurse" to decide if
  delete is appropriate.

19 years agoCheck the "keep_dirs" var instead of "recurse" to decide if
Wayne Davison [Sat, 22 Jan 2005 22:48:37 +0000 (22:48 +0000)]
Check the "keep_dirs" var instead of "recurse" to decide if
delete-after is appropriate.

19 years ago- We now set a delete_before variable for the --delete option.
Wayne Davison [Sat, 22 Jan 2005 22:48:34 +0000 (22:48 +0000)]
- We now set a delete_before variable for the --delete option.
- Reordered some of the options in the --help list.
- Made the popt-handling of the delete options simpler.
- Parse the new --keep-dirs option.
- Parse the new --list-only option.
- Set recurse to -1 (infinite) for the -r and -a options.
- Set keep_dirs for --list-only.

19 years ago- Implemented a new handling of the recurse variable: if it is
Wayne Davison [Sat, 22 Jan 2005 22:48:31 +0000 (22:48 +0000)]
- Implemented a new handling of the recurse variable:  if it is
  < 0, it specifies infinite recursion, otherwise it contains a
  count of how many levels of recursion we will allow.
- If the user is processing/listing a non-recursive directory/
  arg, send the contents.

19 years ago- Mustn't override a user-specified list_only value.
Wayne Davison [Sat, 22 Jan 2005 22:48:27 +0000 (22:48 +0000)]
- Mustn't override a user-specified list_only value.
- Moved the computing of the options for the server down until
  after we've figured out the protocol_version for the transfer.
- If we're talking to a protocol-29 server in list-only mode,
  force the new --list-only mode (which avoids the -r with
  --exclude="/*/*" kluge).
- Output the options we sent to the daemon if verbose > 1.

19 years agoChanged the order of a few of the options in the options summary.
Wayne Davison [Sat, 22 Jan 2005 20:32:03 +0000 (20:32 +0000)]
Changed the order of a few of the options in the options summary.

19 years agoMustn't override a user-specified list_only value.
Wayne Davison [Sat, 22 Jan 2005 20:28:17 +0000 (20:28 +0000)]
Mustn't override a user-specified list_only value.

19 years agoChanged a comment.
Wayne Davison [Sat, 22 Jan 2005 20:27:22 +0000 (20:27 +0000)]
Changed a comment.

19 years agoMoved the /proc/mounts literal string nearer to the top.
Wayne Davison [Sat, 22 Jan 2005 08:11:43 +0000 (08:11 +0000)]
Moved the /proc/mounts literal string nearer to the top.

19 years ago- Changed XMIT_TOP_DIR to XMIT_DEL_START.
Wayne Davison [Fri, 21 Jan 2005 00:34:37 +0000 (00:34 +0000)]
- Changed XMIT_TOP_DIR to XMIT_DEL_START.
- Changed FLAG_TOP_DIR to FLAG_DEL_START.

19 years agoDon't mention when the file-list is first allocated, just when it
Wayne Davison [Thu, 20 Jan 2005 23:57:35 +0000 (23:57 +0000)]
Don't mention when the file-list is first allocated, just when it
expands.

19 years agoIn delete_file(): got rid of DEL_NO_RECURSE code and added
Wayne Davison [Thu, 20 Jan 2005 23:51:57 +0000 (23:51 +0000)]
In delete_file(): got rid of DEL_NO_RECURSE code and added
DEL_RECURSE code.  Improved the verbose output of a recursively
deleted directory when --dry-run is specified.

19 years agoDecided that delete_in_dir()'s call to delete_file() would be
Wayne Davison [Thu, 20 Jan 2005 23:51:55 +0000 (23:51 +0000)]
Decided that delete_in_dir()'s call to delete_file() would be
better using DEL_RECURSE.

19 years agoChanged DEL_NO_RECURSE to DEL_RECURSE.
Wayne Davison [Thu, 20 Jan 2005 23:51:52 +0000 (23:51 +0000)]
Changed DEL_NO_RECURSE to DEL_RECURSE.

19 years agoMoved the dry_run check in set_perms() so that it only triggers if
Wayne Davison [Thu, 20 Jan 2005 23:01:34 +0000 (23:01 +0000)]
Moved the dry_run check in set_perms() so that it only triggers if
we don't have a stat-buffer (and returns 1, not 0).