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
- Added a new public function, iwildmatch(), which will treat all
[rsync/rsync.git]
/
token.c
diff --git
a/token.c
b/token.c
index
3286a13
..
8ce73ba
100644
(file)
--- a/
token.c
+++ b/
token.c
@@
-47,6
+47,9
@@
void set_compression(char *fname)
return;
}
return;
}
+ if ((tok = strrchr(fname, '/')) != NULL)
+ fname = tok + 1;
+
dont = strdup(dont);
fname = strdup(fname);
if (!dont || !fname)
dont = strdup(dont);
fname = strdup(fname);
if (!dont || !fname)