mirror of https://github.com/MidnightCommander/mc
Ticket #2552: Browsing *.deb files is broken with latest Perl
Latest Perl update broke the deb extfs. Thanks to Jakub Wilk for the solution! Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
5b85bfb5e0
commit
87174687e2
|
@ -46,7 +46,7 @@ sub mcdebfs_list
|
|||
{
|
||||
while(<PIPEIN>)
|
||||
{
|
||||
split;
|
||||
@_ = split;
|
||||
|
||||
$perm=$_[0]; $owgr=$_[1]; $size=$_[2];
|
||||
if($_[3] =~ /^\d\d\d\d\-/) { # New tar format
|
||||
|
@ -100,7 +100,7 @@ sub mcdebfs_list
|
|||
{
|
||||
while(<PIPEIN>)
|
||||
{
|
||||
split;
|
||||
@_ = split;
|
||||
$size=$_[0];
|
||||
last if $size =~ /:/;
|
||||
next if $size !~ /\d+/;
|
||||
|
|
Loading…
Reference in New Issue