Skip to content

Commit

Permalink
Merge pull request #128 from edwintorok/develop
Browse files Browse the repository at this point in the history
Fix lib/perl5/patcher
  • Loading branch information
michael-schwarz authored Jan 4, 2023
2 parents 91b4875 + 365219c commit 3edded1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/perl5/patcher
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ sub patchOneFile {
}
} else { die "Invalid --mode"; }

# Now scan the resulting file and get the real name of the file
system($preproccmd);
# For some reason the gcc returns spurious error codes

# Now scan the resulting file and get the real name of the file
my $absname = "";
open(PPOUT, "<$preprocfile.i") || die "Cannot find $preprocfile.i";
while(<PPOUT>) {
Expand Down

0 comments on commit 3edded1

Please sign in to comment.