search for: 2df1b28

Displaying 1 result from an estimated 1 matches for "2df1b28".

Did you mean: 2dc1b298
2019 Mar 07
1
[PATCH] Bug fix for file comparison
...he current code skips the unchanged_file() check when that check succeeded for an earlier candidate, which could lead to accepting a file with a different checksum as unchanged, for example. Please be aware that the patch is untested. Florian diff --git a/generator.c b/generator.c index a112da6..2df1b28 100644 --- a/generator.c +++ b/generator.c @@ -876,26 +876,22 @@ static int try_dests_reg(struct file_struct *file, char *fname, int ndx, pathjoin(cmpbuf, MAXPATHLEN, basis_dir[j], fname); if (link_stat(cmpbuf, &sxp->st, 0) < 0 || !S_ISREG(sxp->st.st_mode)) continue; - switc...