From 25f65beed0677fa247c513705dbf538225f979c4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 19 Sep 1999 17:31:42 +0000 Subject: no_comment --- perl-install/resize_fat/directory.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/resize_fat/directory.pm') diff --git a/perl-install/resize_fat/directory.pm b/perl-install/resize_fat/directory.pm index 3b779e2de..46e810021 100644 --- a/perl-install/resize_fat/directory.pm +++ b/perl-install/resize_fat/directory.pm @@ -42,7 +42,7 @@ sub traverse($$$) { my $entry; @{$entry}{@fields} = unpack $format, $$raw; - &$f($entry) + &$f($entry) and $$raw = pack $format, @{$entry}{@fields}; } $directory; @@ -56,7 +56,7 @@ sub traverse_all($$) { &$f($entry); - resize_fat::dir_entry::is_directory($entry) + resize_fat::dir_entry::is_directory($entry) and traverse($fs, resize_fat::io::read_file($fs, resize_fat::dir_entry::get_cluster($entry)), $traverse_all); undef; #- no need to write back (cf traverse) -- cgit v1.2.1