summaryrefslogtreecommitdiffstats
path: root/util/mkfiles.pl
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-02-13 08:53:13 +0100
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-02-13 08:54:48 +0100
commitce3d25d3e5a7e82fd59fd30dff7acc39baed8b5e (patch)
treefe3f497a9aaaf49078391eae17a74d7fe6be97a6 /util/mkfiles.pl
parentfix warnings on 32 bit builds (diff)
downloadopenssl-ce3d25d3e5a7e82fd59fd30dff7acc39baed8b5e.tar.xz
openssl-ce3d25d3e5a7e82fd59fd30dff7acc39baed8b5e.zip
Fix some issues near recent chomp changes.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'util/mkfiles.pl')
-rwxr-xr-xutil/mkfiles.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mkfiles.pl b/util/mkfiles.pl
index 4fbe29ac75..55dfbc64e3 100755
--- a/util/mkfiles.pl
+++ b/util/mkfiles.pl
@@ -107,8 +107,8 @@ while (<IN>)
{
$b=$`;
$o.=$b." ";
- $b=<IN>;
- $b =~ s|\R$||;
+ $b = "" unless defined($b = <IN>);
+ $b =~ s{\R$}{};
}
else
{