rsync/rsync.git
18 years agoGot rid of calls to (the soon to vanish) safe_fname() function.
Wayne Davison [Fri, 13 Jan 2006 21:17:09 +0000 (21:17 +0000)]
Got rid of calls to (the soon to vanish) safe_fname() function.

18 years agoImproved a couple sentences.
Wayne Davison [Fri, 13 Jan 2006 21:10:11 +0000 (21:10 +0000)]
Improved a couple sentences.

18 years agoChanged RSYNC_ARGn to RSYNC_ARG#.
Wayne Davison [Thu, 12 Jan 2006 19:35:54 +0000 (19:35 +0000)]
Changed RSYNC_ARGn to RSYNC_ARG#.

18 years agoMention the new RSYNC_ARGn environment variables for pre-xfer exec.
Wayne Davison [Thu, 12 Jan 2006 19:24:25 +0000 (19:24 +0000)]
Mention the new RSYNC_ARGn environment variables for pre-xfer exec.

18 years agoWe now send all the option args to the pre-exec command.
Wayne Davison [Thu, 12 Jan 2006 19:15:31 +0000 (19:15 +0000)]
We now send all the option args to the pre-exec command.

18 years agoWe need to call clearerr() when getc() returns EOF with errno == EINTR.
Wayne Davison [Fri, 6 Jan 2006 22:20:07 +0000 (22:20 +0000)]
We need to call clearerr() when getc() returns EOF with errno == EINTR.

18 years ago+ Changed two buffers to use BIGPATHBUFLEN instead of MAXPATHLEN+512.
Wayne Davison [Thu, 5 Jan 2006 02:29:16 +0000 (02:29 +0000)]
+ Changed two buffers to use BIGPATHBUFLEN instead of MAXPATHLEN+512.
+ Changed a strncpy() call into a (more appropriate) memcpy() call.
+ Made the ellipsis[] string static because some older compilers may
  not like the dynamic initialization of a character string.
+ Expanded some 1-line "case ... break;" statements onto separate
  lines.

18 years agoDocument the new "dir/***" feature.
Wayne Davison [Mon, 2 Jan 2006 17:46:32 +0000 (17:46 +0000)]
Document the new "dir/***" feature.

18 years agoAdded a test for the new "dir/***" feature.
Wayne Davison [Mon, 2 Jan 2006 17:46:27 +0000 (17:46 +0000)]
Added a test for the new "dir/***" feature.

18 years agoWe now test all the patterns using both a normal wildtest run and
Wayne Davison [Mon, 2 Jan 2006 17:46:24 +0000 (17:46 +0000)]
We now test all the patterns using both a normal wildtest run and
a wildtest run with various -x and -e options.

18 years agoAdded -x and -e options, which are used to exercise wildmatch_array().
Wayne Davison [Mon, 2 Jan 2006 17:46:21 +0000 (17:46 +0000)]
Added -x and -e options, which are used to exercise wildmatch_array().

18 years agoWe use the new wildmatch_array() and litmatch_array() functions to
Wayne Davison [Mon, 2 Jan 2006 17:46:18 +0000 (17:46 +0000)]
We use the new wildmatch_array() and litmatch_array() functions to
make our include/exclude code easier to read and maintain, and to
eliminate a buffer copy when handling an absolute-path pattern
(which eliminated the full_name[] buffer).  Also added handling
for the new MATCHFLG_WILD3_SUFFIX define that allows a string that
ends with "dir/***" to match the "dir" as well as its contents.

18 years agoAdded a new function, wildmatch_array(), that lets the caller pass
Wayne Davison [Mon, 2 Jan 2006 17:46:15 +0000 (17:46 +0000)]
Added a new function, wildmatch_array(), that lets the caller pass
the text-string as an array of strings (with a terminating NULL
pointer at the end).  Also added litmatch_array(), which does a
literal match (no wildcards or special chars) against an array of
strings.

18 years agoThe latest prototypes.
Wayne Davison [Mon, 2 Jan 2006 17:46:12 +0000 (17:46 +0000)]
The latest prototypes.

18 years agoAdded MATCHFLG_WILD3_SUFFIX define, shuffling a few others to put
Wayne Davison [Mon, 2 Jan 2006 17:46:09 +0000 (17:46 +0000)]
Added MATCHFLG_WILD3_SUFFIX define, shuffling a few others to put
it in a nice spot.

18 years agoMention dont-compress fix.
Wayne Davison [Fri, 30 Dec 2005 07:24:17 +0000 (07:24 +0000)]
Mention dont-compress fix.

18 years agoOptimized set_compression() to remove the per-file strdup(), strlower(),
Wayne Davison [Fri, 30 Dec 2005 07:19:16 +0000 (07:19 +0000)]
Optimized set_compression() to remove the per-file strdup(), strlower(),
and free() calls (it now uses iwildmatch()).

18 years ago- Added a new public function, iwildmatch(), which will treat all
Wayne Davison [Fri, 30 Dec 2005 07:12:48 +0000 (07:12 +0000)]
- Added a new public function, iwildmatch(), which will treat all
  upper-case letters in the "text" as lower-case.
- Renamed variable "ch" -> "p_ch" and "prev" -> "prev_ch".
- Added variable "t_ch" to hold the current *text value.
- Return ABORT_ALL if we reach the end of the text string with
  more pattern to match.

18 years agoAdded a prototype for iwildmatch().
Wayne Davison [Fri, 30 Dec 2005 07:09:34 +0000 (07:09 +0000)]
Added a prototype for iwildmatch().

18 years agoFixed a bug in set_compression() where the default dont-compress
Wayne Davison [Fri, 30 Dec 2005 06:03:40 +0000 (06:03 +0000)]
Fixed a bug in set_compression() where the default dont-compress
patterns (e.g. *.gz) would not match a pathname containing a slash.

18 years ago- Renamed match_start -> anchored_match.
Wayne Davison [Sat, 24 Dec 2005 08:00:12 +0000 (08:00 +0000)]
- Renamed match_start -> anchored_match.
- Twiddled one comment and added another.
- Twiddled the placement of two else statements.

18 years agoImproved the usage info in the opening comment.
Wayne Davison [Mon, 19 Dec 2005 16:57:55 +0000 (16:57 +0000)]
Improved the usage info in the opening comment.

18 years agoA few extra directory-style matching tests.
Wayne Davison [Mon, 19 Dec 2005 02:30:59 +0000 (02:30 +0000)]
A few extra directory-style matching tests.

18 years agoAdded an anchored exclude to a filter file.
Wayne Davison [Mon, 19 Dec 2005 02:23:57 +0000 (02:23 +0000)]
Added an anchored exclude to a filter file.

18 years ago+ Put --existing back in the main option summary.
Wayne Davison [Mon, 19 Dec 2005 02:18:16 +0000 (02:18 +0000)]
+ Put --existing back in the main option summary.
+ Improved the discussion of wildcard characters.

18 years agoMade --existing the main option, with --ignore-non-existing
Wayne Davison [Mon, 19 Dec 2005 01:59:00 +0000 (01:59 +0000)]
Made --existing the main option, with --ignore-non-existing
as its alias.

18 years agoAdded a comment, improved a comment, tweaked the recursive function's
Wayne Davison [Sun, 18 Dec 2005 19:40:50 +0000 (19:40 +0000)]
Added a comment, improved a comment, tweaked the recursive function's
name, tweaked the arg names to wildmatch(), and tweaked the style of
the "else" statements when they follow a brace.

18 years agoTweaked the name of the first arg to wildmatch().
Wayne Davison [Sun, 18 Dec 2005 19:38:47 +0000 (19:38 +0000)]
Tweaked the name of the first arg to wildmatch().

18 years agoFixed one config-file reference that was misspelled.
Wayne Davison [Sun, 18 Dec 2005 15:48:00 +0000 (15:48 +0000)]
Fixed one config-file reference that was misspelled.

18 years agoTweaked the debug output for cvs_filter_list and server_filter_list.
Wayne Davison [Sat, 17 Dec 2005 21:03:25 +0000 (21:03 +0000)]
Tweaked the debug output for cvs_filter_list and server_filter_list.

18 years agoReturn RERR_SIGNAL1 from sigusr1_handler().
Wayne Davison [Fri, 16 Dec 2005 23:48:34 +0000 (23:48 +0000)]
Return RERR_SIGNAL1 from sigusr1_handler().

18 years agoAdded RERR_SIGNAL1's message and tweaked ERR_SIGNAL.
Wayne Davison [Fri, 16 Dec 2005 23:48:31 +0000 (23:48 +0000)]
Added RERR_SIGNAL1's message and tweaked ERR_SIGNAL.

18 years agoAdded RERR_SIGNAL1 to separate SIGUSR1 from the rest of the
Wayne Davison [Fri, 16 Dec 2005 23:48:28 +0000 (23:48 +0000)]
Added RERR_SIGNAL1 to separate SIGUSR1 from the rest of the
signals that return RERR_SIGNAL.

18 years agoMentioned the auto-protect rule for --backup.
Wayne Davison [Fri, 16 Dec 2005 17:20:22 +0000 (17:20 +0000)]
Mentioned the auto-protect rule for --backup.

18 years agoIf the user specifies --backup with --delete (but without --backup-dir
Wayne Davison [Fri, 16 Dec 2005 17:18:29 +0000 (17:18 +0000)]
If the user specifies --backup with --delete (but without --backup-dir
and --delete-excluded), append a protect-filter rule onto the list of
filter rules.  We run this on both the client and server side so that
an older client talking to a newer server still gets the protection
rule.  (This rule will not cause compatibility problems with older
versions of rsync due to the graceful way that a protect rule turns
into an exclude rule if it needs to be sent to an older server.)

18 years agoDocument the new auto-added protect filter-rule when using --backup
Wayne Davison [Fri, 16 Dec 2005 17:18:26 +0000 (17:18 +0000)]
Document the new auto-added protect filter-rule when using --backup
with --delete (but without --backup-dir and --delete-excluded).

18 years ago- Added a comment about configure figuring out the default user
Wayne Davison [Fri, 16 Dec 2005 16:57:26 +0000 (16:57 +0000)]
- Added a comment about configure figuring out the default user
  and group to use in daemon mode.
- Belatedly updated the version of popt that comes with rsync.
- Updated the Mac OS X info.

18 years agoFixed a bug in the hard-linking of a group of fifos/devices in a
Wayne Davison [Fri, 16 Dec 2005 04:02:54 +0000 (04:02 +0000)]
Fixed a bug in the hard-linking of a group of fifos/devices in a
transfer where the leader got hard-linked to a --link-dest item.

18 years agoImproved the RERR_SIGNAL message to include all possible signals.
Wayne Davison [Fri, 16 Dec 2005 00:18:41 +0000 (00:18 +0000)]
Improved the RERR_SIGNAL message to include all possible signals.

18 years agoMention the improvements in the comare-dest/link-dest/copy-dest handling.
Wayne Davison [Thu, 15 Dec 2005 23:00:23 +0000 (23:00 +0000)]
Mention the improvements in the comare-dest/link-dest/copy-dest handling.

18 years agoImproved the tests we run to test more output variations and to work
Wayne Davison [Thu, 15 Dec 2005 23:00:05 +0000 (23:00 +0000)]
Improved the tests we run to test more output variations and to work
with the new way link-dest handles symlinks.

18 years agoWhen compare-dest/link-dest/copy-dest are in effect, we now check
Wayne Davison [Thu, 15 Dec 2005 23:00:02 +0000 (23:00 +0000)]
When compare-dest/link-dest/copy-dest are in effect, we now check
if the file we're about to hard-link to the leader is present in
one of the dest dirs -- if it is, we adjust the text we output
accordingly.

18 years agoThe ITEM_NO_DEST_AND_NO_UPDATE define is no longer needed.
Wayne Davison [Thu, 15 Dec 2005 22:59:59 +0000 (22:59 +0000)]
The ITEM_NO_DEST_AND_NO_UPDATE define is no longer needed.

18 years agoImproved the compare-dest/link-dest/copy-dest code to make it more
Wayne Davison [Thu, 15 Dec 2005 22:59:56 +0000 (22:59 +0000)]
Improved the compare-dest/link-dest/copy-dest code to make it more
readable, to make it output properly in double-verbose mode, and
to allow the hard-linking of symlinks and devices (if supported by
the OS).

18 years ago- Eliminate an all-dot itemization for a locally-copied file.
Wayne Davison [Thu, 15 Dec 2005 22:59:53 +0000 (22:59 +0000)]
- Eliminate an all-dot itemization for a locally-copied file.
- Got rid of some redundant output in maybe_log_item().

18 years agoImproved an old bullet point.
Wayne Davison [Thu, 15 Dec 2005 21:23:44 +0000 (21:23 +0000)]
Improved an old bullet point.

18 years agoUse AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if
Wayne Davison [Wed, 14 Dec 2005 22:54:54 +0000 (22:54 +0000)]
Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if
we need to include libresolv or not.

18 years agoMention that the MD4 password protection is weaker than
Wayne Davison [Wed, 14 Dec 2005 22:14:26 +0000 (22:14 +0000)]
Mention that the MD4 password protection is weaker than
previously thought.

18 years agoParse single- and double-quotes in the --rsh/-e option (and RSYNC_RSH).
Wayne Davison [Wed, 14 Dec 2005 22:00:01 +0000 (22:00 +0000)]
Parse single- and double-quotes in the --rsh/-e option (and RSYNC_RSH).

18 years agoMention new quote-parsing for the --rsh/-e and RSYNC_RSH handling.
Wayne Davison [Wed, 14 Dec 2005 21:59:11 +0000 (21:59 +0000)]
Mention new quote-parsing for the --rsh/-e and RSYNC_RSH handling.

18 years agoMade msg_list_push() static and renamed it to msg_list_flush().
Wayne Davison [Thu, 8 Dec 2005 21:19:22 +0000 (21:19 +0000)]
Made msg_list_push() static and renamed it to msg_list_flush().

18 years agoTweaked the msg_list code so that the head and tail pointers
Wayne Davison [Thu, 8 Dec 2005 21:01:38 +0000 (21:01 +0000)]
Tweaked the msg_list code so that the head and tail pointers
are contained by a structure.

18 years agoFixed a typo in a comment.
Wayne Davison [Thu, 8 Dec 2005 16:12:25 +0000 (16:12 +0000)]
Fixed a typo in a comment.

18 years agoImproved/fixed some of the entries.
Wayne Davison [Tue, 29 Nov 2005 15:53:18 +0000 (15:53 +0000)]
Improved/fixed some of the entries.

18 years agoImproved the description of how --delay-updates chooses it's dir.
Wayne Davison [Wed, 16 Nov 2005 16:12:04 +0000 (16:12 +0000)]
Improved the description of how --delay-updates chooses it's dir.

18 years agoMade the parsing in parse_size_arg() a little more strict.
Wayne Davison [Tue, 15 Nov 2005 17:49:59 +0000 (17:49 +0000)]
Made the parsing in parse_size_arg() a little more strict.

18 years agoFixed a typo in the --help output for --no-OPTION.
Wayne Davison [Tue, 15 Nov 2005 07:05:55 +0000 (07:05 +0000)]
Fixed a typo in the --help output for --no-OPTION.

18 years agoChanged -h to be an alias for --human-readable (getting rid of -m).
Wayne Davison [Tue, 15 Nov 2005 06:35:27 +0000 (06:35 +0000)]
Changed -h to be an alias for --human-readable (getting rid of -m).
Also added backward-compatibility code so that "rsync -h" shows the
help page on stdout like it would in older versions.

18 years agoDocument the change in the -h option.
Wayne Davison [Tue, 15 Nov 2005 06:35:22 +0000 (06:35 +0000)]
Document the change in the -h option.

18 years agoTwiddled some brace positions and removed a superfluous ';' in a macro.
Wayne Davison [Mon, 14 Nov 2005 21:24:30 +0000 (21:24 +0000)]
Twiddled some brace positions and removed a superfluous ';' in a macro.

18 years agoImproved an error message.
Wayne Davison [Sun, 13 Nov 2005 17:15:00 +0000 (17:15 +0000)]
Improved an error message.

18 years agoMoved the DEL_* flags into generator.c.
Wayne Davison [Sat, 12 Nov 2005 20:30:40 +0000 (20:30 +0000)]
Moved the DEL_* flags into generator.c.

18 years agoMoved the DEL_* flags from rsync.h here and got rid of DEL_NO_RECURSE.
Wayne Davison [Sat, 12 Nov 2005 20:30:36 +0000 (20:30 +0000)]
Moved the DEL_* flags from h here and got rid of DEL_NO_RECURSE.

18 years agoMention the latest options.
Wayne Davison [Sat, 12 Nov 2005 20:08:10 +0000 (20:08 +0000)]
Mention the latest options.

18 years agoChanged the parsing of suffixes for --min-size and --max-size a little.
Wayne Davison [Sat, 12 Nov 2005 20:08:00 +0000 (20:08 +0000)]
Changed the parsing of suffixes for --min-size and --max-size a little.

18 years agoOutput the stats and the end-of-run verbose output using the new
Wayne Davison [Sat, 12 Nov 2005 19:53:26 +0000 (19:53 +0000)]
Output the stats and the end-of-run verbose output using the new
human_num() and human_dnum() functions, which both honor the
new --human-readable option.

18 years agoAdded two new functions: human_num() and human_dnum(), which
Wayne Davison [Sat, 12 Nov 2005 19:53:23 +0000 (19:53 +0000)]
Added two new functions:  human_num() and human_dnum(), which
output numbers in human-readable units if the --human-readable
option was specified.

18 years agoAdded the human_readable variable (for linking with util.o).
Wayne Davison [Sat, 12 Nov 2005 19:53:20 +0000 (19:53 +0000)]
Added the human_readable variable (for linking with util.o).

18 years agoParse the new --human-readable (-m) option.
Wayne Davison [Sat, 12 Nov 2005 19:53:17 +0000 (19:53 +0000)]
Parse the new --human-readable (-m) option.

18 years agoDocument the new --human-readable (-m) option.
Wayne Davison [Sat, 12 Nov 2005 19:53:12 +0000 (19:53 +0000)]
Document the new --human-readable (-m) option.

18 years agoOnly call cleanup_set() if keep_partial is set.
Wayne Davison [Thu, 10 Nov 2005 16:57:30 +0000 (16:57 +0000)]
Only call cleanup_set() if keep_partial is set.

18 years agoIf cleanup_set() gets passed a NULL fnametmp or fname, set
Wayne Davison [Thu, 10 Nov 2005 16:56:32 +0000 (16:56 +0000)]
If cleanup_set() gets passed a NULL fnametmp or fname, set
cleanup_fname to NULL.

18 years agoGot rid of a superfluous newline.
Wayne Davison [Thu, 10 Nov 2005 16:47:52 +0000 (16:47 +0000)]
Got rid of a superfluous newline.

18 years ago- Indent the "oom:" label away from column 0.
Wayne Davison [Thu, 10 Nov 2005 16:47:27 +0000 (16:47 +0000)]
- Indent the "oom:" label away from column 0.
- Got rid of a superfluous newline.

18 years agoIndent the "prepare_to_open:" and "notify_others:" labels away
Wayne Davison [Thu, 10 Nov 2005 16:47:03 +0000 (16:47 +0000)]
Indent the "prepare_to_open:" and "notify_others:" labels away
from column 0.

18 years ago- Got rid of a superfluous empty line.
Wayne Davison [Thu, 10 Nov 2005 16:45:00 +0000 (16:45 +0000)]
- Got rid of a superfluous empty line.
- Indent the "oom:" and "skip_filters:" labels away from column 0.

18 years agoGot rid of a superfluous empty line.
Wayne Davison [Thu, 10 Nov 2005 16:44:06 +0000 (16:44 +0000)]
Got rid of a superfluous empty line.

18 years agoIndent the "failure:" label away from column 0.
Wayne Davison [Thu, 10 Nov 2005 16:43:44 +0000 (16:43 +0000)]
Indent the "failure:" label away from column 0.

18 years agoIndent the "oom:" label away from column 0.
Wayne Davison [Thu, 10 Nov 2005 16:42:46 +0000 (16:42 +0000)]
Indent the "oom:" label away from column 0.

18 years agoMention the big improvement when --delete and --checksum were
Wayne Davison [Thu, 10 Nov 2005 06:43:10 +0000 (06:43 +0000)]
Mention the big improvement when --delete and --checksum were
specified.

18 years agoIn make_file(), only compute the checksum when we're the sender.
Wayne Davison [Thu, 10 Nov 2005 06:01:55 +0000 (06:01 +0000)]
In make_file(), only compute the checksum when we're the sender.
This stops computing useless checksums during the delete scan
when --checksum (-c) was specified.

18 years agoUse the new checksum_len value instead of recomputing the
Wayne Davison [Thu, 10 Nov 2005 03:07:18 +0000 (03:07 +0000)]
Use the new checksum_len value instead of recomputing the
right value for the current protocol_version over and over.

18 years agoCompute the right checksum length for the current protocol_version
Wayne Davison [Thu, 10 Nov 2005 03:00:38 +0000 (03:00 +0000)]
Compute the right checksum length for the current protocol_version
only once instead of over and over again.

18 years agoIf a partial-dir file is present but the main file is up-to-date,
Wayne Davison [Thu, 10 Nov 2005 02:56:58 +0000 (02:56 +0000)]
If a partial-dir file is present but the main file is up-to-date,
just remove the partial-dir file.

18 years agoCall delete_in_dir(NULL, NULL, NULL) in do_delete_pass().
Wayne Davison [Wed, 9 Nov 2005 19:46:42 +0000 (19:46 +0000)]
Call delete_in_dir(NULL, NULL, NULL) in do_delete_pass().

18 years agoMade recursively deleting extraneous directories more memory
Wayne Davison [Wed, 9 Nov 2005 19:39:46 +0000 (19:39 +0000)]
Made recursively deleting extraneous directories more memory
efficient by removing the need for a MAXPATHLEN buffer on the
stack of delete_item().

18 years agoMention the new --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:47:06 +0000 (04:47 +0000)]
Mention the new --chmod option.

18 years agoTest the --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:28:52 +0000 (04:28 +0000)]
Test the --chmod option.

18 years agoAdded support for the new --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:28:35 +0000 (04:28 +0000)]
Added support for the new --chmod option.

18 years agoCall tweak_mode() on regular files and dirs if --chmod was specified.
Wayne Davison [Mon, 7 Nov 2005 04:28:32 +0000 (04:28 +0000)]
Call tweak_mode() on regular files and dirs if --chmod was specified.

18 years agoAdded chmod.o to OBJS2.
Wayne Davison [Mon, 7 Nov 2005 04:28:29 +0000 (04:28 +0000)]
Added chmod.o to OBJS2.

18 years agoDocument the new --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:28:23 +0000 (04:28 +0000)]
Document the new --chmod option.

18 years agoNew --chmod support routines.
Wayne Davison [Mon, 7 Nov 2005 04:23:22 +0000 (04:23 +0000)]
New --chmod support routines.

18 years agoFixed a sign error in the output.
Wayne Davison [Thu, 3 Nov 2005 19:55:30 +0000 (19:55 +0000)]
Fixed a sign error in the output.

18 years agoMention the change in the output of --progress.
Wayne Davison [Thu, 3 Nov 2005 19:46:45 +0000 (19:46 +0000)]
Mention the change in the output of --progress.

18 years agoMake the just-updated file-count status even less cryptic.
Wayne Davison [Thu, 3 Nov 2005 19:45:59 +0000 (19:45 +0000)]
Make the just-updated file-count status even less cryptic.

18 years agoImproved the output of the transferred-file count and the position
Wayne Davison [Thu, 3 Nov 2005 19:38:14 +0000 (19:38 +0000)]
Improved the output of the transferred-file count and the position
in the flist (which was changed to a countdown of files to check)
so that it's clearer what the numbers mean.

18 years agoGot rid of some early-checksum code that accidentally got committed.
Wayne Davison [Wed, 2 Nov 2005 07:22:02 +0000 (07:22 +0000)]
Got rid of some early-checksum code that accidentally got committed.

18 years agoMention lower stack requiements for recursion.
Wayne Davison [Tue, 1 Nov 2005 20:13:20 +0000 (20:13 +0000)]
Mention lower stack requiements for recursion.

18 years agoDecreased the amount of stack needed for each level of directory
Wayne Davison [Tue, 1 Nov 2005 20:09:41 +0000 (20:09 +0000)]
Decreased the amount of stack needed for each level of directory
recursion by eliminating the need for a MAXPATHLEN buffer in
send_if_directory().  Also improved a few variable names in
send_file_list().