summaryrefslogtreecommitdiffstats
path: root/bin/slxldd
diff options
context:
space:
mode:
authorOliver Tappe2007-07-10 22:57:27 +0200
committerOliver Tappe2007-07-10 22:57:27 +0200
commitd5113273cf2cefd1db9942e4d743f455aa8f669a (patch)
treef51f0d84dbd40b62b12d6e30479464eba391eff3 /bin/slxldd
parentAdaptions for Ubu 7.04 and Bugfixes for older Versions (diff)
downloadcore-d5113273cf2cefd1db9942e4d743f455aa8f669a.tar.gz
core-d5113273cf2cefd1db9942e4d743f455aa8f669a.tar.xz
core-d5113273cf2cefd1db9942e4d743f455aa8f669a.zip
* more work towards perlcritic compliance, fixed the low-hanging fruit
for level 4 git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1234 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'bin/slxldd')
-rwxr-xr-xbin/slxldd6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/slxldd b/bin/slxldd
index d2553253..9458fd00 100755
--- a/bin/slxldd
+++ b/bin/slxldd
@@ -111,7 +111,7 @@ sub fetchLoaderConfigFile
while (<$ldconfFH>) {
chomp;
if (/^\s*include\s+(.+?)\s*$/i) {
- foreach my $incFile (<$rootPath$1>) {
+ while (my $incFile = <$rootPath$1>) {
fetchLoaderConfigFile($incFile);
}
next;
@@ -124,6 +124,7 @@ sub fetchLoaderConfigFile
}
close $ldconfFH
or die(_tr("unable to close file '%s' (%s)", $ldConfFile, $!));
+ return;
}
sub fetchLoaderConfig
@@ -152,6 +153,7 @@ sub fetchLoaderConfig
{
push @libFolders, "$rootPath/usr/lib32";
}
+ return;
}
sub addLib
@@ -200,6 +202,7 @@ sub addLib
$libInfo{$lib} = $libPath;
push @filesToDo, $libPath;
}
+ return;
}
sub addLibsForBinary
@@ -273,6 +276,7 @@ sub addLibsForBinary
addLib($1, $bitwidth, $rpath);
}
}
+ return;
}
=head1 NAME