diff options
author | Oliver Tappe | 2007-07-10 22:57:27 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-07-10 22:57:27 +0200 |
commit | d5113273cf2cefd1db9942e4d743f455aa8f669a (patch) | |
tree | f51f0d84dbd40b62b12d6e30479464eba391eff3 /bin/slxldd | |
parent | Adaptions for Ubu 7.04 and Bugfixes for older Versions (diff) | |
download | core-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-x | bin/slxldd | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |