Wayne Davison
b017ec4e13
Silenced a couple compiler warnings.
2003-08-21 23:28:24 +00:00
Wayne Davison
2c873122b3
Mention some more bug fixes.
2003-08-20 23:36:45 +00:00
Wayne Davison
6969ebcfcf
Call setgroups(1, &gid) after setting the gid (rather than calling
...
setgroups(0, NULL) before).
2003-08-20 23:25:52 +00:00
Wayne Davison
1dbb94cadf
Use the AVAIL_OUT_SIZE() macro in a few more places to ensure
...
that the avail_out buffer is big enough to uncompress all the
compressed data.
2003-08-20 10:37:53 +00:00
Wayne Davison
8a78bb963d
Fixed a couple option-name typos (that had '_' instead of '-').
2003-08-18 23:52:43 +00:00
Wayne Davison
6931c13800
- Made special exclusion-handling of '.' work in -R mode (so that we
...
can't accidentally lose the '.' dir and not transfer anything at all).
- Add a trailing '.' onto all '/'-trailing names, even '/' (fixes
skipped deletions in -R mode from '/').
- Fixed loss of FLAG_DELETE on user-specified dir when unduplicating '.'
(could happen on "./." or similar).
2003-08-17 21:29:11 +00:00
J.W. Schultz
e6e3f12ffc
Whitespace and indentation cleanup. There is a lot of deep
...
indentation mostly due to read_batch but at least it is now
consistant.
2003-08-15 00:57:27 +00:00
J.W. Schultz
e2559dbedc
Make --progress imply --verbose without incrementing verbosity.
2003-08-06 06:45:14 +00:00
Wayne Davison
1f3d6cdd86
Got rid of unused OPT_* enums.
2003-08-05 17:56:54 +00:00
Wayne Davison
4a7ee79d4d
Improved the mkstemp error message.
2003-08-04 21:03:07 +00:00
Wayne Davison
0c2ef5f42d
Make sure that the error message for mkstemp() includes the full
...
path of where we're trying to create the temp file.
2003-08-04 21:00:57 +00:00
Wayne Davison
ca20c7fd62
Instead of ignoring SIG_CHLD, reap zombies in the signal handler.
2003-08-04 18:27:27 +00:00
Wayne Davison
191e40da17
Change the way we pass the --suffix option to the remote process so
...
that a string that starts with ~ doesn't get modified.
2003-08-01 20:19:51 +00:00
Wayne Davison
80ddadb7e8
Complain if the --suffix value contains slashes (which is all too easy
...
to accidentally have happen if you try to specify "~" with --backup-dir).
2003-08-01 19:40:31 +00:00
Wayne Davison
31f3b68a97
We should bump the deletion_count for backed-up deleted files too.
2003-08-01 08:20:53 +00:00
Wayne Davison
d594399c6a
Mention the --backup fix.
2003-08-01 08:01:15 +00:00
Wayne Davison
d74a2e3ed5
Properly handle the backup_suffix/backup_dir settings when deleting
...
files. Also optimized the code that calls delete_one(). Don't
neglect to mention a file being deleted with --backup set.
2003-08-01 07:58:47 +00:00
Wayne Davison
d175d7e13e
Got rid of suffix_specified and instead set backup_suffix to the
...
correct default value for the current backup_dir mode. Added two
new values: backup_suffix_len and backup_dir_len. Improved some
error-message code to not output duplicate errors.
2003-08-01 07:58:44 +00:00
Wayne Davison
daa8ce838b
Use the new backup_suffix_len and backup_dir_len variables. Got rid
...
of the suffix_specified kludge.
2003-08-01 07:58:41 +00:00
Wayne Davison
b19fd07c02
Clarify some --backup/--backup-dir/--suffix issues.
2003-08-01 00:50:23 +00:00
J.W. Schultz
47d6a60c2f
Whitespace and indentation fixes.
2003-07-31 09:32:15 +00:00
Wayne Davison
980821ebab
No longer needed (replaced by wildmatch).
2003-07-30 06:13:47 +00:00
Wayne Davison
592f4696dc
Updated the exclude/include section to mention the "**" vs "*" change.
2003-07-30 06:12:41 +00:00
Wayne Davison
8a7846f97e
Changed the "**" description to reflect its no-longer-buggy behavior.
2003-07-30 06:12:33 +00:00
Wayne Davison
87f18b6289
Include "lib/wildmatch.h", not "lib/fnmatch.h" or <fnmatch.h>.
2003-07-30 06:12:31 +00:00
Wayne Davison
28063ba5b2
Got rid of test for fnmatch.
2003-07-30 06:12:29 +00:00
Wayne Davison
fe332038c6
Call wildmatch(), not fnmatch().
2003-07-30 06:12:27 +00:00
Wayne Davison
3c0b1ebf78
Changed lib/fnmatch.o to lib/wildmatch.o.
2003-07-30 06:12:25 +00:00
Wayne Davison
f2fe4903c9
Made the list of exclude/include changes more prominent and clear.
2003-07-26 18:13:38 +00:00
Wayne Davison
3151cbae89
Some superficial tweaks I made while reading through the io.c code.
2003-07-26 17:55:07 +00:00
Wayne Davison
3c30b99059
Added one more test.
2003-07-14 15:46:34 +00:00
Wayne Davison
a7735ba085
Updated for latest character-class change.
2003-07-14 15:13:31 +00:00
Wayne Davison
d811b68901
Make sure that no character class can match a '/'.
2003-07-14 15:12:59 +00:00
Wayne Davison
1c8162a921
Optimized show_progress() to reduce the calls to gettimeofday() when
...
am_server is set. No need to check do_progress here anymore, since
we aren't called if do_progress isn't set.
2003-07-08 16:54:53 +00:00
Wayne Davison
16417f8b9d
Only call show_progress() and end_progress() if do_progress is set.
2003-07-08 16:49:10 +00:00
Wayne Davison
b49d381d05
Changed "./0123456789" to just ".0123456789".
2003-07-07 19:37:58 +00:00
Wayne Davison
7da9a16d10
I decided to go with the slightly simpler logic Thorild Selen suggested
...
in a subsequent email.
2003-07-07 18:37:38 +00:00
Wayne Davison
32f60a6e7b
Improved deficiencies in the hostname-vs-address check (reintroduced in the
...
last revision) based on the suggestions of Thorild Selen.
2003-07-07 18:25:01 +00:00
Wayne Davison
b7db090661
Commented-out a test that wasn't consistent across all platforms.
2003-07-07 07:28:02 +00:00
Wayne Davison
136c5c5ec3
Silence some compiler warnings on HP-UX.
2003-07-07 07:22:08 +00:00
Wayne Davison
85b80fbc73
A few more tests.
2003-07-07 07:10:40 +00:00
Wayne Davison
16859cdbdc
Improved the summary output to use correct English for all counts.
2003-07-07 07:08:24 +00:00
Wayne Davison
fc96552d26
Don't treat "[:" as the start of a named set if there's no ":]".
2003-07-07 07:07:16 +00:00
Wayne Davison
15bb997d0a
Added a few more items to the tests.
2003-07-06 18:54:08 +00:00
Wayne Davison
b6b42c892c
Improve the format of the --iterations output.
2003-07-06 18:29:24 +00:00
Wayne Davison
5bb920003e
- Return ABORT_ALL for a syntax error in the pattern (not FALSE).
...
- Abort if the [:class:] name is not known.
2003-07-06 18:26:34 +00:00
Wayne Davison
37ff0e344d
Added match for new "no errors" line from wildtest.
2003-07-06 17:41:37 +00:00
Wayne Davison
97d53f8c75
Switch to using an input file so that backslashes are specified
...
normally, and so that test additions and changes are easier.
2003-07-06 17:41:01 +00:00
Wayne Davison
f2ac84c36d
Added some portability code for the ctype functions.
2003-07-06 16:29:32 +00:00
Wayne Davison
c21eeef5bc
Updated for latest wildmatch.c changes.
2003-07-06 04:34:19 +00:00