Subject: | Fwd: MM_Any::split_command - 20% for macro expansion |
Date: | Tue, 27 Jun 2006 15:02:56 -0500 |
To: | bug-ExtUtils-MakeMaker [...] rt.cpan.org |
From: | "Michael G Schwern" <schwern [...] gmail.com> |
Show quoted text
---------- Forwarded message ----------
From: Jurosz Michal <rootmj_konf@seznam.cz>
Date: Jun 27, 2006 1:05 PM
Subject: MM_Any::split_command - 20% for macro expansion
To: makemaker@perl.org
Hello,
my Pugs (http://pugscode.org/) Win32 build needs this patch (attached)
too.
- # set aside 20% for macro expansion.
- my $len_left = int($self->max_exec_len * 0.80);
+ # set aside 30% for macro expansion.
+ my $len_left = int($self->max_exec_len * 0.70);
But as you see, this is not really fix.
--
S pozdravem Michal Jurosz
Index: lib/ExtUtils/MM_Any.pm
===================================================================
--- lib/ExtUtils/MM_Any.pm (revision 3688)
+++ lib/ExtUtils/MM_Any.pm (working copy)
@@ -145,8 +145,8 @@
# newline.
chomp $cmd;
- # set aside 20% for macro expansion.
- my $len_left = int($self->max_exec_len * 0.80);
+ # set aside 30% for macro expansion.
+ my $len_left = int($self->max_exec_len * 0.70);
$len_left -= length $self->_expand_macros($cmd);
do {