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
Wayne Davison
e11c425119
- Added [:class:] handling to the character-class code.
...
- Use explicit unsigned characters for proper set checks.
- Made the character-class code honor backslash escapes.
- Accept '^' as a class-negation character in addition to '!'.
2003-07-06 04:33:54 +00:00
Wayne Davison
84229c7ac9
We now figure out if diff accepts -u and we'll use it instead of -c,
...
if possible.
2003-07-05 22:57:08 +00:00
Wayne Davison
c9a59880f0
Simplified the character-class code a bit.
2003-07-05 22:40:27 +00:00
Wayne Davison
9a17dddbc5
Fixed the output of popt errors and changed our one option to be
...
--iterations (-i).
2003-07-05 19:21:41 +00:00
Wayne Davison
277d99e8c9
A wildtest change to handle someone using the included popt lib.
2003-07-05 19:14:10 +00:00
Wayne Davison
2a1874cc82
Added dependencies for wildtest.o.
2003-07-05 19:06:49 +00:00
Wayne Davison
d5c973ccb7
Changed some names since "depth" wasn't really the right term.
2003-07-05 19:03:42 +00:00
Wayne Davison
37f3ce61bb
Another change to the wildtest rule to make it more portable.
2003-07-05 18:55:09 +00:00
Wayne Davison
076f60eed0
Added a --depth option to report recursion depth values.
2003-07-05 18:49:38 +00:00
Wayne Davison
20b2e9cef7
Improved the ABORT logic to allow aborting consecutive "*" wildcards
...
back to a "**" wildcard. Added optional debug code for recursion stats.
2003-07-05 18:48:34 +00:00
Wayne Davison
e37d8229f5
Changed the build rule for wildtest.
2003-07-05 18:46:02 +00:00
Wayne Davison
710faea9a4
Added in the ABORT optimization logic from a newer wildmat release,
...
adapted for our code that distinguishes "**" from "*".
2003-07-05 17:30:53 +00:00
Wayne Davison
70a6051cf1
Restored an isdigit() check in the match_address() function, but check
...
the last character in the hostname, not the first.
2003-07-05 07:39:57 +00:00
Wayne Davison
7a1f46b6ac
A couple comment tweaks.
2003-07-05 07:22:13 +00:00
Wayne Davison
7ca9250db0
Changed "diff -u" back to "diff -c" (for portability).
2003-07-05 07:09:31 +00:00
Wayne Davison
af7086c63f
Change most SAME-AS-FNMATCH "false" values to "true" (since we _should_
...
work the same as fnmatch in most cases, if fnmatch was actually working
right).
2003-07-05 07:03:56 +00:00
Wayne Davison
8808589277
Get rid of a couple compiler warnings.
2003-07-05 06:56:16 +00:00
Wayne Davison
6cd5096063
Don't define COMPARE_WITH_FNMATCH by default.
2003-07-05 06:53:41 +00:00
Wayne Davison
677cd34acd
Include lib/wildmatch.h directly for now (until we make rsync.h include
...
it for us).
2003-07-05 00:13:38 +00:00
Wayne Davison
08c5385e65
Test the new wildmatch() routine using the wildtest executable.
2003-07-05 00:08:11 +00:00
Wayne Davison
d7bf70f196
Build "wildtest" for "make check".
2003-07-05 00:07:35 +00:00
Wayne Davison
6f3cff41dd
Ignore "wildtest".
2003-07-05 00:05:33 +00:00
Wayne Davison
5de45bcadc
A testbed to stress the new wildmatch() routine.
2003-07-05 00:05:02 +00:00
Wayne Davison
446ee5b110
A new wildcard-matching routine to replace the fnmatch code.
2003-07-05 00:03:36 +00:00
Wayne Davison
d3e6fd3910
Changed "diff -c" to "diff -u".
2003-07-04 23:56:59 +00:00
Wayne Davison
6813fa7eac
Attempting to fix the snprintf() conflict on a gcc-using HPUX 11.11.
2003-07-04 15:36:39 +00:00
Wayne Davison
0f5a04e3ff
Use "return" at the end of main() to silence some compilers.
2003-07-04 15:11:46 +00:00
Wayne Davison
8801138b47
Made rprintf() of size_t value portable.
2003-07-04 15:11:44 +00:00
Wayne Davison
2473391971
Improved upon my last patch to make it clearer and cleaner.
2003-07-04 07:47:09 +00:00
Wayne Davison
7d6879328a
Changed the syntax of a comment.
2003-07-03 18:33:53 +00:00
Wayne Davison
900454132e
Mention the compression (-z) fix.
2003-07-03 17:41:08 +00:00
Wayne Davison
92b8abfe80
Fixed a problem where we might not have enough room to compress
...
unsent tokens into the obuf in a single call.
2003-07-03 17:38:12 +00:00
Wayne Davison
52e628a861
Mention the exclude changes.
2003-07-01 22:01:48 +00:00
Wayne Davison
4791825d49
Modified the glob_expand_one() function to check the args against the
...
server's config-specified exclude list. This prevents the user from
going around directory exclusions. Fixed push_dir() to not append
"/." onto the end of the current path if it is called with "." as the
"dir" arg. Made curr_dir[] exported so the exclude code can use it
(for the daemon-config absolute-path excludes).
2003-07-01 21:45:31 +00:00
Wayne Davison
d542c20c5f
New stubs to get the test setup to compile with the exclude changes.
2003-07-01 21:45:29 +00:00
Wayne Davison
4762db4fc9
Added some defines for the various exclude-function arg literals.
...
Added MATCHFLG_ABS_PATH flag for absolute-path patterns.
2003-07-01 21:45:27 +00:00