view libtommath/ @ 1465:f7a53832501d

cli_bind_address_connect * replaces -b dummy option in dbclient to be similar with openssh -b option * useful in multi-wan connections
author houseofkodai <>
date Mon, 01 May 2017 08:26:15 +0530
parents 60fc6476e044
children 8bba51a55704
line wrap: on
line source
#!/usr/bin/perl -w
# Generates a "single file" you can use to quickly
# add the whole source without any makefile troubles
use strict;

open( OUT, ">mpi.c" ) or die "Couldn't open mpi.c for writing: $!";
foreach my $filename (glob "bn*.c") {
   open( SRC, "<$filename" ) or die "Couldn't open $filename for reading: $!";
   print OUT "/* Start: $filename */\n";
   print OUT while <SRC>;
   print OUT "\n/* End: $filename */\n\n";
   close SRC or die "Error closing $filename after reading: $!";
print OUT "\n/* EOF */\n";
close OUT or die "Error closing mpi.c after writing: $!";

system('perl -pli -e "s/\s*$//" mpi.c');