Skip Menu |

This queue is for tickets about the Archive-Tar CPAN distribution.

Report information
The Basics
Id: 6938
Status: resolved
Priority: 0/
Queue: Archive-Tar

People
Owner: Nobody in particular
Requestors: rrwo [...] cpan.org
Cc:
AdminCc:

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



Subject: extract_file extracts to current directory when absolute path given
extract_file method does not accept an absolute path in destination: $tar->extract_file( $file, $dest ); if $dest (in Windows) = 'C:\some\dir\filename' and the current working (Cwd::getcwd)directory is 'C:\another\dir' then it tries to extract the file to 'C:\another\dir\C:\some\dir\filename'. A workaround is to change the directory to the 'C:\some\dir' and then extract the file. But one shouldn't have to do this.
Thanks for reporting. This bug has now been fixed with patch @11007, and will be in 1.11, which will be released shortly.