Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
4c74d44
)
A couple fixes in add_rule() for XFLG_ABS_IF_SLASH:
author
Wayne Davison
<wayned@samba.org>
Sat, 22 Mar 2008 19:30:43 +0000
(12:30 -0700)
committer
Wayne Davison
<wayned@samba.org>
Sat, 22 Mar 2008 19:30:43 +0000
(12:30 -0700)
- Remove the trailing slash earlier, so that it doesn't
affect the XFLG_ABS_IF_SLASH check.
- Count the slashes earlier so that the XFLG_ABS_IF_SLASH
can use it instead of using a strchr() all that could
scan past the end of the input.
No differences found