summaryrefslogtreecommitdiffstats
path: root/perl-install/resize_fat/directory.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-25 09:47:06 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-25 09:47:06 +0000
commit9b8dddbc720899a7872d82e39405997ab6949df4 (patch)
treee294bf4db32549a4592ce398b694d4a9cd389006 /perl-install/resize_fat/directory.pm
parent9062c92ba51a7170424f825c60e5ff5ec46c85dd (diff)
downloaddrakx-9b8dddbc720899a7872d82e39405997ab6949df4.tar
drakx-9b8dddbc720899a7872d82e39405997ab6949df4.tar.gz
drakx-9b8dddbc720899a7872d82e39405997ab6949df4.tar.bz2
drakx-9b8dddbc720899a7872d82e39405997ab6949df4.tar.xz
drakx-9b8dddbc720899a7872d82e39405997ab6949df4.zip
no_comment
Diffstat (limited to 'perl-install/resize_fat/directory.pm')
-rw-r--r--perl-install/resize_fat/directory.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/resize_fat/directory.pm b/perl-install/resize_fat/directory.pm
index ab8ec5328..00ae6a870 100644
--- a/perl-install/resize_fat/directory.pm
+++ b/perl-install/resize_fat/directory.pm
@@ -34,7 +34,7 @@ sub entry_size { psizeof($format) }
sub traverse($$$) {
my ($fs, $directory, $f) = @_;
- for (my $i = 0; 1; $i++) {
+ for (my $i = 0;; $i++) {
my $raw = \substr($directory, $i * psizeof($format), psizeof($format));
# empty entry means end of directory