skip checking size on links

skip google music cache

Change-Id: I75d6fd0e17140d12cb2c6d335e8ff73a6f871aa2
This commit is contained in:
bigbiff bigbiff
2013-08-28 16:10:36 +00:00
committed by Dees_Troy
parent de307148cf
commit 86e77bcbb2
4 changed files with 72 additions and 48 deletions
+7 -5
View File
@@ -153,10 +153,12 @@ tar_append_tree(TAR *t, char *realdir, char *savedir, char *exclude)
if (exclude) {
int omit = 0;
for (i = 0; i < (n_spaces+1); i++) {
if (dent->d_name == excluded[i]) {
printf(" excluding '%s'\n", excluded[i]);
omit = 1;
break;
if (excluded[i] != NULL) {
if (strcmp(dent->d_name, excluded[i]) == 0 || strcmp(excluded[i], realdir) == 0) {
printf(" excluding '%s'\n", excluded[i]);
omit = 1;
break;
}
}
}
if (omit)
@@ -179,7 +181,7 @@ tar_append_tree(TAR *t, char *realdir, char *savedir, char *exclude)
return -1;
continue;
}
}
}
closedir(dp);
free(excluded);