Fix color skipping of multiple files with the same content.

- If we process some file and we find another file with the same path
  and the same content and this other file is skipped for color then
  the currently being processed file has to be skipped for color too.
  (RhBug:1170124)
This commit is contained in:
Lubos Kardos 2014-12-17 12:53:30 +01:00 committed by Florian Festi
parent 4c621e9777
commit 2f31395dcd
1 changed files with 3 additions and 0 deletions

View File

@ -587,6 +587,9 @@ assert(otherFi != NULL);
if (!(oflags & RPMFILE_GHOST)) {
rpmfsSetAction(fs, i, FA_SKIP);
}
/* if the other file is color skipped then skip this file too */
} else if (oaction == FA_SKIPCOLOR) {
rpmfsSetAction(fs, i, FA_SKIPCOLOR);
}
}