Skip to content

Commit

Permalink
cswrap: blacklist UU/try.c used by perl-5.26.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudka committed Sep 13, 2018
1 parent 7704be3 commit 4fc7ee4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cswrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,13 @@ bool find_conftest_in_args(char **argv)
/* used by qemu-guest-agent */
if (STREQ(arg, "config-temp/qemu-conf.c"))
return true;

/* try.c in UU/ - used by perl-5.26.2 */
if (STREQ(arg, "try.c")) {
char cwd[PATH_MAX];
if (getcwd(cwd, sizeof cwd) && STREQ("UU", basename(cwd)))
return true;
}
}

return false;
Expand Down

0 comments on commit 4fc7ee4

Please sign in to comment.