Subject: | Temp files left when execute fails |
Hi,
If the execute option is on, an the system call fails then the temp
files are left. You can see in the code:-
system($perl, (map { "-I$_" } @IncludeLibs), $fname) == 0 or die
"SYSTEM ERROR in executing $file: $?";
_extract_info("$fname.out", $inchash, $dl_shared_objects, $incarray);
unlink("$fname");
unlink("$fname.out");
That the die is before the unlinks. Suggest replacing the die with a
block that unlinks then dies.
Lyle