Let util/clean-depend.pl work also with older Perl 5.00x versions.

Submitted by: Matthias Loepfe <Matthias.Loepfe@adnovum.ch>
Reviewed by: Ralf S. Engelschall
This commit is contained in:
Ralf S. Engelschall 1999-03-10 19:51:43 +00:00
parent 381380206b
commit 637691e6b4
2 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,9 @@
Changes between 0.9.1c and 0.9.2
*) Let util/clean-depend.pl work also with older Perl 5.00x versions.
[Matthias Loepfe <Matthias.Loepfe@adnovum.ch>]
*) Fix Makefile.org so CC,CFLAG etc are passed to 'make links' add
advapi32.lib to Win32 build and change the pem test comparision
to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the

View File

@ -19,9 +19,11 @@ while(<STDIN>) {
push @{$files{$file}},@deps;
}
foreach my $file (sort keys %files) {
my $file;
foreach $file (sort keys %files) {
my $len=0;
foreach my $dep (sort @{$files{$file}}) {
my $dep;
foreach $dep (sort @{$files{$file}}) {
$len=0 if $len+length($dep)+1 >= 80;
if($len == 0) {
print "\n$file:";