Displaying 3 results from an estimated 3 matches for "actually_ignore".
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...ator(char *fname, struct file_struct *file, int ndx,
return;
}
- if (ignore_non_existing > 0 && statret == -1 && stat_errno == ENOENT) {
+ if ((ignore_non_existing > 0 || ignore_non_existing_dirs > 0) && statret == -1 && stat_errno == ENOENT) {
+ int actually_ignore = 0;
if (is_dir) {
if (is_dir < 0)
return;
+ actually_ignore = 1;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...ator(char *fname, struct file_struct *file, int ndx,
return;
}
- if (ignore_non_existing > 0 && statret == -1 && stat_errno == ENOENT) {
+ if ((ignore_non_existing > 0 || ignore_non_existing_dirs > 0) && statret == -1 && stat_errno == ENOENT) {
+ int actually_ignore = 0;
if (is_dir) {
if (is_dir < 0)
return;
+ actually_ignore = 1;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...ator(char *fname, struct file_struct *file, int ndx,
return;
}
- if (ignore_non_existing > 0 && statret == -1 && stat_errno == ENOENT) {
+ if ((ignore_non_existing > 0 || ignore_non_existing_dirs > 0) && statret == -1 && stat_errno == ENOENT) {
+ int actually_ignore = 0;
if (is_dir) {
if (is_dir < 0)
return;
+ actually_ignore = 1;
skip_dir = file;
file->flags |= FLAG_MISSING_DIR;
}
#ifdef SUPPORT_HARD_LINKS
- else if (F_IS_HLINKED(file))
+ else if (ignore_non_existing > 0 && F_IS_HLINKED(file)) {
+ actually_ignore...