From: Andy Polyakov Date: Sun, 15 Jul 2012 13:40:04 +0000 (+0000) Subject: mk1mf.pl: replace chop to make it work in mixture of perls for Windows. X-Git-Tag: master-post-reformat~1754 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=7bb98eee3c9e4694dfc2217001d5075ce8d2906e;ds=sidebyside mk1mf.pl: replace chop to make it work in mixture of perls for Windows. --- diff --git a/util/mk1mf.pl b/util/mk1mf.pl index d818c61b9f..e27434d267 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -347,7 +347,7 @@ open(IN,"<$infile") || die "unable to open $infile:$!\n"; $_=; for (;;) { - chop; + s/\s*$//; # was chop, didn't work in mixture of perls for Windows... ($key,$val)=/^([^=]+)=(.*)/; if ($key eq "RELATIVE_DIRECTORY")