Skip Menu |

This queue is for tickets about the Module-ScanDeps CPAN distribution.

Report information
The Basics
Id: 65252
Status: resolved
Priority: 0/
Queue: Module-ScanDeps

People
Owner: RSCHUPP [...] cpan.org
Requestors: COSMICNET [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



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
Thanks, well spotted. Fixed in HEAD, will be in the next release. Cheers, Roderich