提交 637691e6 编写于 作者: R Ralf S. Engelschall

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
上级 38138020
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
Changes between 0.9.1c and 0.9.2 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 *) Fix Makefile.org so CC,CFLAG etc are passed to 'make links' add
advapi32.lib to Win32 build and change the pem test comparision advapi32.lib to Win32 build and change the pem test comparision
to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the to fc.exe (thanks to Ulrich Kroener <kroneru@yahoo.com> for the
......
...@@ -19,9 +19,11 @@ while(<STDIN>) { ...@@ -19,9 +19,11 @@ while(<STDIN>) {
push @{$files{$file}},@deps; push @{$files{$file}},@deps;
} }
foreach my $file (sort keys %files) { my $file;
foreach $file (sort keys %files) {
my $len=0; my $len=0;
foreach my $dep (sort @{$files{$file}}) { my $dep;
foreach $dep (sort @{$files{$file}}) {
$len=0 if $len+length($dep)+1 >= 80; $len=0 if $len+length($dep)+1 >= 80;
if($len == 0) { if($len == 0) {
print "\n$file:"; print "\n$file:";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册