Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve lsh's handling of -l user option w/cd.
[rsync/rsync.git]
/
exclude.c
diff --git
a/exclude.c
b/exclude.c
index
0aa3769
..
16b2a56
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-913,7
+913,7
@@
static filter_rule *parse_rule_tok(const char **rulestr_ptr,
invalid:
rprintf(FERROR,
"invalid modifier '%c' at position %d in filter rule: %s\n",
invalid:
rprintf(FERROR,
"invalid modifier '%c' at position %d in filter rule: %s\n",
- *s,
s - (const uchar *)*rulestr_ptr
, *rulestr_ptr);
+ *s,
(int)(s - (const uchar *)*rulestr_ptr)
, *rulestr_ptr);
exit_cleanup(RERR_SYNTAX);
case '-':
if (!BITS_SETnUNSET(rule->rflags, FILTRULE_MERGE_FILE, FILTRULE_NO_PREFIXES))
exit_cleanup(RERR_SYNTAX);
case '-':
if (!BITS_SETnUNSET(rule->rflags, FILTRULE_MERGE_FILE, FILTRULE_NO_PREFIXES))
@@
-1036,7
+1036,7
@@
static char default_cvsignore[] =
" *.a *.olb *.o *.obj *.so *.exe"
" *.Z *.elc *.ln core"
/* The rest we added to suit ourself. */
" *.a *.olb *.o *.obj *.so *.exe"
" *.Z *.elc *.ln core"
/* The rest we added to suit ourself. */
- " .svn/ .git/ .bzr/";
+ " .svn/ .git/ .
hg/ .
bzr/";
static void get_cvs_excludes(uint32 rflags)
{
static void get_cvs_excludes(uint32 rflags)
{