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
Wayne Davison
8645af1d8c
Changed add_exclude*() calls to use the revised arg syntax.
2003-07-01 21:45:23 +00:00
Wayne Davison
429f98283f
Modifications to handle the new server_exclude_list, and to use the
...
revised calling syntax and new defines for the various exclude
functions.
2003-07-01 21:45:18 +00:00
Wayne Davison
5be7fa93fc
Made make_exclude() store anchored config-file excludes with the full
...
path (clear to the root). Changed several functions to make the args
more general (to support separated lists), more consistent, and easier
to understand.
2003-07-01 21:45:16 +00:00
Wayne Davison
837cbad97f
We now put the excludes from the config file into a "server_exclude_list"
...
using the revised add_exclude_line() arg syntax.
2003-07-01 21:45:13 +00:00
Wayne Davison
af1d91c562
Call make_file() using the revised arg syntax and new defines.
2003-07-01 21:45:07 +00:00
Martin Pool
908f5a9f9f
Add a comment about using getpassphrase() or readpassphrase() rather
...
than getpass(). No code change.
2003-06-17 04:46:32 +00:00
J.W. Schultz
9b74643315
Credit where due.
2003-06-10 00:21:34 +00:00
J.W. Schultz
986066873e
Clarified EXCLUDE PATTERNS to enforce the relativity of
...
paths. Replaced undefined "base dir" with a defined "top
dir".
2003-06-10 00:11:24 +00:00
J.W. Schultz
9533e15a79
Changed write file to cope with partial writes by looping
...
until complete or errno is set.
(John Van Essen)
2003-05-22 23:24:44 +00:00
Wayne Davison
8dc74608a3
Updated the long description for the --perms option.
2003-05-16 04:23:34 +00:00
J.W. Schultz
3e85237e5f
Added AIX and OSX build workaround notes.
2003-05-14 12:54:15 +00:00
Wayne Davison
9d0523ef4c
Another MD4 fix for protocol 27 (from Christoph Bartelmus).
2003-05-12 20:38:07 +00:00
Wayne Davison
4a7144ee7e
Cleaned up whitespace/indentation.
2003-05-10 08:33:08 +00:00