rsync.git
14 years agoNo more need to clear itemize_changes based on protocol_version.
Wayne Davison [Sat, 19 Feb 2005 22:16:33 +0000 (22:16 +0000)]
No more need to clear itemize_changes based on protocol_version.

14 years agoChanged some of the values of the MSG_* defines.
Wayne Davison [Sat, 19 Feb 2005 22:16:31 +0000 (22:16 +0000)]
Changed some of the values of the MSG_* defines.

14 years agoWe now use a regular expression to parse the (restored to its previous
Wayne Davison [Sat, 19 Feb 2005 19:36:54 +0000 (19:36 +0000)]
We now use a regular expression to parse the (restored to its previous
version) default logfile format.  Added parsing for a version of the
default logfile format where %o has been replaced with %i.

14 years agoDecided to leave the "log format" default the same as in
Wayne Davison [Sat, 19 Feb 2005 17:38:51 +0000 (17:38 +0000)]
Decided to leave the "log format" default the same as in
earlier versions.

14 years agoIf the "log format" has a %i in it, set itemize_daemon_changes.
Wayne Davison [Sat, 19 Feb 2005 17:37:40 +0000 (17:37 +0000)]
If the "log format" has a %i in it, set itemize_daemon_changes.

14 years ago- Don't log a delete message to the daemon log in dry-run mode.
Wayne Davison [Sat, 19 Feb 2005 17:23:08 +0000 (17:23 +0000)]
- Don't log a delete message to the daemon log in dry-run mode.
- The daemon's wrote/read log message now uses the terms
  sent/received.

14 years agoDecide whether to log a delete message via the default format by
Wayne Davison [Sat, 19 Feb 2005 03:54:13 +0000 (03:54 +0000)]
Decide whether to log a delete message via the default format by
checking the new log_format_has_o_or_i variable, not itemize_changes.

14 years ago- Set new variable, log_format_has_o_or_i.
Wayne Davison [Sat, 19 Feb 2005 03:54:11 +0000 (03:54 +0000)]
- Set new variable, log_format_has_o_or_i.
- Make sure that -i can't be set w/o an actual %i in the log_format.
- Only need to pass -i to server if we're the sender.
- Only need to pass some --log-format information to the server in
  certain circumstances.

14 years agoRules read in from per-dir merge files need to have non-applicable
Wayne Davison [Sat, 19 Feb 2005 03:12:21 +0000 (03:12 +0000)]
Rules read in from per-dir merge files need to have non-applicable
rules filtered out before the rule gets stored (not in a post-
filtering pass like the rules that are read-in prior to the run).

14 years agoMention the change in the default "log format" daemon-config setting.
Wayne Davison [Sat, 19 Feb 2005 03:03:13 +0000 (03:03 +0000)]
Mention the change in the default "log format" daemon-config setting.

14 years agoLog items that are unchanged if verbose > 1.
Wayne Davison [Sat, 19 Feb 2005 02:39:33 +0000 (02:39 +0000)]
Log items that are unchanged if verbose > 1.

14 years agoNotify the remote side about -i (if either specified or inferred from
Wayne Davison [Sat, 19 Feb 2005 02:39:30 +0000 (02:39 +0000)]
Notify the remote side about -i (if either specified or inferred from
the user's --log-format string) and, if we're not verbose but we're
logging messages, let the server know that --log-format was specified.

14 years ago- Tweaked the letters output by "%i", including adding support for
Wayne Davison [Sat, 19 Feb 2005 02:39:26 +0000 (02:39 +0000)]
- Tweaked the letters output by "%i", including adding support for
  logging a deleted item and an identical item.
- Added log_delete(), a routine that either logs the fact that a
  deletion happened, or sends a MSG_DELETED message to the client
  side (or both if we're a daemon server receiver).

14 years ago- Changed the calling args to delete_file() to take an st_mode instead
Wayne Davison [Sat, 19 Feb 2005 02:39:23 +0000 (02:39 +0000)]
- Changed the calling args to delete_file() to take an st_mode instead
  of a DEL_DIR flag.
- Call log_delete() instead of outputting "deleting ..." messages..
- Log deletions if either verbose or log-format is specified.

14 years ago- Send the itemized data for every file, changed or not, if verbose > 1.
Wayne Davison [Sat, 19 Feb 2005 02:39:21 +0000 (02:39 +0000)]
- Send the itemized data for every file, changed or not, if verbose > 1.
- Don't call set_perms() with PERMS_REPORT if we're itemizing changes.
- Don't call delete_file() with DEL_TERSE if we're itemizing changes.
- Call delete_file() with its new arg.

14 years ago- Allow send_msg() to be called by the delete code in flist.c and
Wayne Davison [Sat, 19 Feb 2005 02:39:18 +0000 (02:39 +0000)]
- Allow send_msg() to be called by the delete code in flist.c and
  have it figure out if it should send the message to our sibling
  or the other side.
- Handle the new MSG_DELETED message in both the generator and the
  sender.  This message is used to let the client side log each
  deletion when the server side is the receiver.

14 years ago- Call log_delete() instead of outputting a "deleting ..." message.
Wayne Davison [Sat, 19 Feb 2005 02:39:15 +0000 (02:39 +0000)]
- Call log_delete() instead of outputting a "deleting ..." message.
- Call delete_file() with its new arg.

14 years agoIf the protocol is less than 29, make sure itemize_changes is off.
Wayne Davison [Sat, 19 Feb 2005 02:39:11 +0000 (02:39 +0000)]
If the protocol is less than 29, make sure itemize_changes is off.

14 years ago- Got rid of DEL_DIR define.
Wayne Davison [Sat, 19 Feb 2005 02:39:09 +0000 (02:39 +0000)]
- Got rid of DEL_DIR define.
- Added define for ITEM_DELETED.

14 years ago- Mention that "%o" can now have the value "del."
Wayne Davison [Sat, 19 Feb 2005 02:39:06 +0000 (02:39 +0000)]
- Mention that "%o" can now have the value "del."
- Updated the description of "%i" to reflect the latest functioning.

14 years agoFixed an inaccuracy in the --archive description.
Wayne Davison [Sat, 19 Feb 2005 02:39:03 +0000 (02:39 +0000)]
Fixed an inaccuracy in the --archive description.

14 years agoMore improvements.
Wayne Davison [Fri, 18 Feb 2005 21:24:00 +0000 (21:24 +0000)]
More improvements.

14 years ago- Use read_short() and write_short().
Wayne Davison [Fri, 18 Feb 2005 20:17:24 +0000 (20:17 +0000)]
- Use read_short() and write_short().
- If the user does not want itemized changes, don't log the name
  for attribute changes.

14 years ago- Tweaked code in itemize() a bit.
Wayne Davison [Fri, 18 Feb 2005 20:17:20 +0000 (20:17 +0000)]
- Tweaked code in itemize() a bit.
- Use the new write_short() function.
- Mention the delete() when an item replaces an item of a different type.
- Make sure that this replacing of a non-same item is marked as a new
  transfer in the itemized output.

14 years agoThe '%n' escape needs to append a trailing slash onto a directory name.
Wayne Davison [Fri, 18 Feb 2005 20:17:17 +0000 (20:17 +0000)]
The '%n' escape needs to append a trailing slash onto a directory name.

14 years agoAdded read_short() and write_short().
Wayne Davison [Fri, 18 Feb 2005 20:17:15 +0000 (20:17 +0000)]
Added read_short() and write_short().

14 years agoImproved the "log format" section some more.
Wayne Davison [Fri, 18 Feb 2005 20:17:12 +0000 (20:17 +0000)]
Improved the "log format" section some more.

14 years agoImproved --verbose, --itemize-changes, and --log-format.
Wayne Davison [Fri, 18 Feb 2005 20:17:09 +0000 (20:17 +0000)]
Improved --verbose, --itemize-changes, and --log-format.

14 years agoFixed/improved the comment before safe_name().
Wayne Davison [Fri, 18 Feb 2005 20:17:05 +0000 (20:17 +0000)]
Fixed/improved the comment before safe_name().

14 years agoHandle uchar and short as a function return type.
Wayne Davison [Fri, 18 Feb 2005 20:16:59 +0000 (20:16 +0000)]
Handle uchar and short as a function return type.

14 years ago- Fixed a few bugs and compile warnings.
Wayne Davison [Fri, 18 Feb 2005 17:58:03 +0000 (17:58 +0000)]
- Fixed a few bugs and compile warnings.
- Use the long-option parser for better option handling.
- Output a usage message if the options are wrong.
- Improved the option-variable names.
- Parse the new default daemon log-file format.
- Handle filenames that have spaces in them.

14 years agoFor the server, don't ever intuit verbosity higher than what
Wayne Davison [Fri, 18 Feb 2005 17:36:12 +0000 (17:36 +0000)]
For the server, don't ever intuit verbosity higher than what
the client asked for.

14 years agoThe daemon loop needs to call log_open() because it called log_close().
Wayne Davison [Fri, 18 Feb 2005 17:34:09 +0000 (17:34 +0000)]
The daemon loop needs to call log_open() because it called log_close().

14 years agoMade log_open() non-static and moved log_close() next to it.
Wayne Davison [Fri, 18 Feb 2005 17:33:43 +0000 (17:33 +0000)]
Made log_open() non-static and moved log_close() next to it.

14 years agoUpdated the default "log format" string and the output of "%i".
Wayne Davison [Thu, 17 Feb 2005 09:19:07 +0000 (09:19 +0000)]
Updated the default "log format" string and the output of "%i".

14 years agoChanged the default log format.
Wayne Davison [Thu, 17 Feb 2005 09:16:51 +0000 (09:16 +0000)]
Changed the default log format.

14 years agoUse '.' for unchanged attributes in the %i output.
Wayne Davison [Thu, 17 Feb 2005 09:16:23 +0000 (09:16 +0000)]
Use '.' for unchanged attributes in the %i output.

14 years agoMore improvements for the description of the %i output.
Wayne Davison [Wed, 16 Feb 2005 20:12:20 +0000 (20:12 +0000)]
More improvements for the description of the %i output.

14 years agoMention the new flag-word for protocol 29.
Wayne Davison [Wed, 16 Feb 2005 17:08:04 +0000 (17:08 +0000)]
Mention the new flag-word for protocol 29.

14 years ago- The itemized flags are now 2 bytes instead of 1.
Wayne Davison [Wed, 16 Feb 2005 17:02:16 +0000 (17:02 +0000)]
- The itemized flags are now 2 bytes instead of 1.
- Always send/receive the itemized flags for protocols >= 29.
- The output of the verbose log-the-transfer messages is always handled
  via log_send() (when we're the client).

14 years ago- The itemized flags are now 2 bytes instead of 1.
Wayne Davison [Wed, 16 Feb 2005 17:02:13 +0000 (17:02 +0000)]
- The itemized flags are now 2 bytes instead of 1.
- Always send/receive the itemized flags for protocols >= 29.
- The output of the verbose log-the-transfer messages is always handled
  via log_recv() (when we're the client).

14 years ago- The itemized flags are now 2 bytes instead of 1.
Wayne Davison [Wed, 16 Feb 2005 17:02:11 +0000 (17:02 +0000)]
- The itemized flags are now 2 bytes instead of 1.
- Always send the itemized flags for protocols >= 29.
- Sent an itemized-flag update for dirs and symlinks for protocols >= 29
  (instead of outputting a message directly).

14 years ago- Auto-set --verbose if --dry-run is specified w/o --log-format.
Wayne Davison [Wed, 16 Feb 2005 17:02:08 +0000 (17:02 +0000)]
- Auto-set --verbose if --dry-run is specified w/o --log-format.
- When verbose w/o a log_format specified, set it to "%n%L".
- There's no longer a need to send -i to the server.

14 years agoMoved the auto-setting of --verbose when --dry-run is specified into
Wayne Davison [Wed, 16 Feb 2005 17:02:05 +0000 (17:02 +0000)]
Moved the auto-setting of --verbose when --dry-run is specified into
options.c.

14 years agoTweaked ITEM_MISSING_DATA.
Wayne Davison [Wed, 16 Feb 2005 17:02:02 +0000 (17:02 +0000)]
Tweaked ITEM_MISSING_DATA.

14 years agoNo need to handle itemize_changes anymore.
Wayne Davison [Wed, 16 Feb 2005 17:01:59 +0000 (17:01 +0000)]
No need to handle itemize_changes anymore.

14 years agoTweaked the mention of --itemize-changes.
Wayne Davison [Wed, 16 Feb 2005 08:12:34 +0000 (08:12 +0000)]
Tweaked the mention of --itemize-changes.

14 years ago- We now accept an itemized-changes flag-byte over the socket if we're
Wayne Davison [Wed, 16 Feb 2005 08:10:45 +0000 (08:10 +0000)]
- We now accept an itemized-changes flag-byte over the socket if we're
  the local client and --itemized-changes was specified.  If the item
  is not being updated, just call log_recv().
- We reject an attempt to file-update any non-regular file, not just
  dirs.
- Avoid the verbose "log the transfer" output if --log-format was
  specified and log_before_transfer is in effect.
- Call log_recv() with its new iflags arg.

14 years ago- We now accept an itemized-changes flag byte over the socket if we're
Wayne Davison [Wed, 16 Feb 2005 08:10:41 +0000 (08:10 +0000)]
- We now accept an itemized-changes flag byte over the socket if we're
  in --itemized-changes mode.  If the item is not being updated,
  either pass it along to the receiver (if we're the server) or just
  call log_send().
- We reject an attempt to file-update any non-regular file, not just
  dirs.
- Avoid the verbose "log the transfer" output if --log-format was
  specified and log_before_transfer is in effect.
- Call log_send() with its new iflags arg.

14 years agoEnsure that -i is set consistent with the batch's data.
Wayne Davison [Wed, 16 Feb 2005 08:10:38 +0000 (08:10 +0000)]
Ensure that -i is set consistent with the batch's data.

14 years ago- If log_before_transfer is possible, don't force --verbose on for
Wayne Davison [Wed, 16 Feb 2005 08:10:31 +0000 (08:10 +0000)]
- If log_before_transfer is possible, don't force --verbose on for
  --progress.
- If --log-format contains %i, set --itemize-changes (-i).
- Always send -i to the remote rsync if it was specified/implied.

14 years ago- Improved log_formatted() to handle long filenames better.
Wayne Davison [Wed, 16 Feb 2005 08:10:28 +0000 (08:10 +0000)]
- Improved log_formatted() to handle long filenames better.
- Added %i, for the list of itemized changes, %n for the normal
  filename (might be shorter than %f), and %L for a " -> symlink"
  string IIF the item is a symlink (else "").
- The log_{send,recv}() functions now take an "iflags" arg.

14 years agoChanged showchg() into itemize(), which now ships off a flag byte of
Wayne Davison [Wed, 16 Feb 2005 08:10:25 +0000 (08:10 +0000)]
Changed showchg() into itemize(), which now ships off a flag byte of
what changed over to the sender instead of outputting a string itself.
This does mean that we now ship off indexes of non-file items that got
updated, but the sender will know what to do with it.

14 years ago- Added the new ITEM_* flags for the itemized-changes flag passing.
Wayne Davison [Wed, 16 Feb 2005 08:10:22 +0000 (08:10 +0000)]
- Added the new ITEM_* flags for the itemized-changes flag passing.
- Also added defines for FLAG_SENT and MSG_SUCCESS.

14 years agoDocumented that -i now sets a default --log-format string.
Wayne Davison [Wed, 16 Feb 2005 08:10:19 +0000 (08:10 +0000)]
Documented that -i now sets a default --log-format string.

14 years agoDocumented the new log-format escapes: %n, %L, and %i.
Wayne Davison [Wed, 16 Feb 2005 08:10:13 +0000 (08:10 +0000)]
Documented the new log-format escapes: %n, %L, and %i.

14 years agoSome tweaks to how --itemize-changes works.
Wayne Davison [Wed, 16 Feb 2005 01:13:03 +0000 (01:13 +0000)]
Some tweaks to how --itemize-changes works.

14 years agoCheck for refusal of --delete-before when it is inferred.
Wayne Davison [Tue, 15 Feb 2005 21:15:58 +0000 (21:15 +0000)]
Check for refusal of --delete-before when it is inferred.

14 years agoMoved two paragraphs.
Wayne Davison [Tue, 15 Feb 2005 20:42:36 +0000 (20:42 +0000)]
Moved two paragraphs.

14 years agoMade showchg() use safe_fname().
Wayne Davison [Tue, 15 Feb 2005 20:41:37 +0000 (20:41 +0000)]
Made showchg() use safe_fname().

14 years ago- Mention the addition of --itemize-changes.
Wayne Davison [Tue, 15 Feb 2005 19:47:57 +0000 (19:47 +0000)]
- Mention the addition of --itemize-changes.
- Mention the setting of read_only when a daemon is read-only.

14 years agoDecided on a better option name --itemize-changes (-i).
Wayne Davison [Tue, 15 Feb 2005 07:41:13 +0000 (07:41 +0000)]
Decided on a better option name --itemize-changes (-i).

14 years agoImplemented the --what-has-changed functionality.
Wayne Davison [Tue, 15 Feb 2005 07:20:14 +0000 (07:20 +0000)]
Implemented the --what-has-changed functionality.

14 years agoDon't force -v with -n if -w was specified.
Wayne Davison [Tue, 15 Feb 2005 07:20:11 +0000 (07:20 +0000)]
Don't force -v with -n if -w was specified.

14 years agoIf -w and -v are both on, don't output the "log the transfer"
Wayne Davison [Tue, 15 Feb 2005 07:20:04 +0000 (07:20 +0000)]
If -w and -v are both on, don't output the "log the transfer"
verbose message.

14 years agoAdded --what-has-changed (-w), which summaries the changes
Wayne Davison [Tue, 15 Feb 2005 07:20:01 +0000 (07:20 +0000)]
Added --what-has-changed (-w), which summaries the changes
being made to the files.

14 years agoDocument --what-has-changed (-w).
Wayne Davison [Tue, 15 Feb 2005 07:19:58 +0000 (07:19 +0000)]
Document --what-has-changed (-w).

14 years agoFixed a typo.
Wayne Davison [Tue, 15 Feb 2005 03:38:04 +0000 (03:38 +0000)]
Fixed a typo.

14 years agoMake sure that there are no directory-time differences between the
Wayne Davison [Tue, 15 Feb 2005 02:01:02 +0000 (02:01 +0000)]
Make sure that there are no directory-time differences between the
dirs that might trip up the check of the merged copy.

14 years agoHad a report that the __attribute__ code needs to check for
Wayne Davison [Mon, 14 Feb 2005 22:49:51 +0000 (22:49 +0000)]
Had a report that the __attribute__ code needs to check for
__APPLE__ being defined, not APPLE.

14 years agoOne arg to matched() is supposed to be an int32.
Wayne Davison [Mon, 14 Feb 2005 22:48:28 +0000 (22:48 +0000)]
One arg to matched() is supposed to be an int32.

14 years agoChanged one size_t var into an int32.
Wayne Davison [Mon, 14 Feb 2005 22:47:42 +0000 (22:47 +0000)]
Changed one size_t var into an int32.

14 years agoImproved description of --whole-file option.
Wayne Davison [Mon, 14 Feb 2005 19:09:30 +0000 (19:09 +0000)]
Improved description of --whole-file option.

14 years agoFixed a mismatch in the compressed-data handling between how the
Wayne Davison [Mon, 14 Feb 2005 08:28:00 +0000 (08:28 +0000)]
Fixed a mismatch in the compressed-data handling between how the
sending side and the receiving side handled implicit (unsent) data.

14 years agoChanged various token variables from "int"s to "int32"s.
Wayne Davison [Mon, 14 Feb 2005 08:19:32 +0000 (08:19 +0000)]
Changed various token variables from "int"s to "int32"s.

14 years agoThe count of chunks should really be an int32, not a size_t,
Wayne Davison [Mon, 14 Feb 2005 08:13:47 +0000 (08:13 +0000)]
The count of chunks should really be an int32, not a size_t,
because that's the maximum size we can transmit over the wire.

14 years agoChanged the size_t variables into int32 variables.
Wayne Davison [Mon, 14 Feb 2005 08:12:22 +0000 (08:12 +0000)]
Changed the size_t variables into int32 variables.

14 years agoDon't let --fuzzy be used with a protocol_version < 29.
Wayne Davison [Mon, 14 Feb 2005 02:47:44 +0000 (02:47 +0000)]
Don't let --fuzzy be used with a protocol_version < 29.

14 years agoMention --fuzzy.
Wayne Davison [Mon, 14 Feb 2005 02:41:35 +0000 (02:41 +0000)]
Mention --fuzzy.

14 years agoAdded code to read a fuzzy-basis name from the generator.
Wayne Davison [Mon, 14 Feb 2005 02:41:30 +0000 (02:41 +0000)]
Added code to read a fuzzy-basis name from the generator.

14 years agoAdded handling for fuzzy-basis scanning. When a fuzzy filename is
Wayne Davison [Mon, 14 Feb 2005 02:41:27 +0000 (02:41 +0000)]
Added handling for fuzzy-basis scanning.  When a fuzzy filename is
chosen, the name is sent down the name-pipe to the receiver.

14 years ago- If send_file_name() gets f set to -2, it skips the local filter rules.
Wayne Davison [Mon, 14 Feb 2005 02:41:23 +0000 (02:41 +0000)]
- If send_file_name() gets f set to -2, it skips the local filter rules.
- Added get_dirlist(), which returns a file_list structure for the
  desired directory, optionally with local filter rules disabled.

14 years agoSet need_name_pipe if --fuzzy was specified.
Wayne Davison [Mon, 14 Feb 2005 02:41:18 +0000 (02:41 +0000)]
Set need_name_pipe if --fuzzy was specified.

14 years agoAdded parsing for the --fuzzy (-y) option.
Wayne Davison [Mon, 14 Feb 2005 02:41:15 +0000 (02:41 +0000)]
Added parsing for the --fuzzy (-y) option.

14 years agoAdded find_filename_suffix() and fuzzy_distance().
Wayne Davison [Mon, 14 Feb 2005 02:41:10 +0000 (02:41 +0000)]
Added find_filename_suffix() and fuzzy_distance().

14 years agoDocument the --fuzzy (-y) option.
Wayne Davison [Mon, 14 Feb 2005 02:41:05 +0000 (02:41 +0000)]
Document the --fuzzy (-y) option.

14 years agoChanged #if to use "defined".
Wayne Davison [Mon, 14 Feb 2005 02:34:01 +0000 (02:34 +0000)]
Changed #if to use "defined".

14 years agoIf f_name_cmp() discovers that two directory strings compare to an
Wayne Davison [Mon, 14 Feb 2005 01:29:17 +0000 (01:29 +0000)]
If f_name_cmp() discovers that two directory strings compare to an
equal value without being equal pointers, substitute one of the
pointers for the other in the file list.  This optimizes future name
comparisons.  Note also that this optimization won't be triggered
very often (because rsync tends to send the names grouped by dir-
name at transmission time), but it's nice to be able to assume that
all files in the same dir have identical dir-name pointers after the
qsort is finished.

14 years agoDon't check defined-ness of SIZEOF_OFF64_T.
Wayne Davison [Mon, 14 Feb 2005 00:58:10 +0000 (00:58 +0000)]
Don't check defined-ness of SIZEOF_OFF64_T.

14 years agoJohn E. Malmberg convinced me to standardize on #ifs for defined
Wayne Davison [Mon, 14 Feb 2005 00:53:43 +0000 (00:53 +0000)]
John E. Malmberg convinced me to standardize on #ifs for defined
values instead of non-zero.

14 years agoIn clean_flist(), if a duplicate is found for a dir and a non-dir,
Wayne Davison [Sun, 13 Feb 2005 22:48:38 +0000 (22:48 +0000)]
In clean_flist(), if a duplicate is found for a dir and a non-dir,
always dump the non-dir (because the dir might have contents in
the list).

14 years agoThe dir vs non-dir test now assumes the dir wins.
Wayne Davison [Sun, 13 Feb 2005 22:48:35 +0000 (22:48 +0000)]
The dir vs non-dir test now assumes the dir wins.

14 years agoMention the new sorting method for protocol 29.
Wayne Davison [Sun, 13 Feb 2005 22:37:29 +0000 (22:37 +0000)]
Mention the new sorting method for protocol 29.

14 years agoAdded a test for the merging of a dir and a non-dir with the same name.
Wayne Davison [Sun, 13 Feb 2005 22:01:15 +0000 (22:01 +0000)]
Added a test for the merging of a dir and a non-dir with the same name.

14 years agoAdded some missing commas in some option summary lines.
Wayne Davison [Sun, 13 Feb 2005 21:50:55 +0000 (21:50 +0000)]
Added some missing commas in some option summary lines.

14 years ago- Made receive_file_entry() return the file_struct pointer instead
Wayne Davison [Sun, 13 Feb 2005 21:15:47 +0000 (21:15 +0000)]
- Made receive_file_entry() return the file_struct pointer instead
  of storing it into the files[] array.
- Made flist_find() return "no match" if the found item differs in
  its directory-ness from the search item.
- Changed f_name_cmp() to sort sub-directories after non-directories
  for each directory's contents.  This makes things like the upcoming
  --fuzzy patch easier to get right.
- One complicating factor is that clean_flist() needed some extra
  code to ensure that a directory doesn't duplicate a non-directory
  of the same name.
- Make sure that the "strip_root" code in clean_flist() (for relative
  paths) strips off all leading slashes.

14 years agoImproved the call to f_name_cmp().
Wayne Davison [Sun, 13 Feb 2005 20:06:18 +0000 (20:06 +0000)]
Improved the call to f_name_cmp().

14 years agoChanged the prefix on the fnc_state enums.
Wayne Davison [Sun, 13 Feb 2005 10:23:56 +0000 (10:23 +0000)]
Changed the prefix on the fnc_state enums.

14 years agoImproved the summary for the -F option.
Wayne Davison [Sun, 13 Feb 2005 05:45:42 +0000 (05:45 +0000)]
Improved the summary for the -F option.

14 years agoImproved the help text for -F.
Wayne Davison [Sun, 13 Feb 2005 05:44:29 +0000 (05:44 +0000)]
Improved the help text for -F.