summaryrefslogtreecommitdiffhomepage
path: root/libtommath/gen.pl
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-24 22:37:14 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-24 22:37:14 +0800
commit364fb6019c1931de3d181f21ea491ec112161577 (patch)
tree1776e0451167b1b492db0e5bd30f5d0178e54afa /libtommath/gen.pl
parenta79b61517bc7123250d0e2dc21dc18deccf0bb64 (diff)
Update to libtommath v1.0
Diffstat (limited to 'libtommath/gen.pl')
-rw-r--r--libtommath/gen.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtommath/gen.pl b/libtommath/gen.pl
index 7236591..57f65ac 100644
--- a/libtommath/gen.pl
+++ b/libtommath/gen.pl
@@ -14,4 +14,6 @@ foreach my $filename (glob "bn*.c") {
close SRC or die "Error closing $filename after reading: $!";
}
print OUT "\n/* EOF */\n";
-close OUT or die "Error closing mpi.c after writing: $!"; \ No newline at end of file
+close OUT or die "Error closing mpi.c after writing: $!";
+
+system('perl -pli -e "s/\s*$//" mpi.c');