Use absolute path for matching excluded items

This commit is contained in:
Yorhel 2009-05-02 10:45:33 +02:00
parent 46de3510cd
commit 4ea817568f

View file

@ -113,7 +113,7 @@ int calc_item(struct dir *par, char *name) {
}
/* check for excludes and same filesystem */
if(exclude_match(d->name))
if(exclude_match(curpath))
d->flags |= FF_EXL;
if(calc_smfs && curdev != fs.st_dev)