- if (fd1 == -1 && fnamecmp != fname) {
- fnamecmp = fname;
- fd1 = do_open(fnamecmp, O_RDONLY, 0);
- }
-
- if (fd1 == -1 && compare_dest != NULL) {
- /* try the file at compare_dest instead */
- pathjoin(fnamecmpbuf, sizeof fnamecmpbuf,
- compare_dest, fname);
- fnamecmp = fnamecmpbuf;
- fd1 = do_open(fnamecmp, O_RDONLY, 0);
- }
-