summaryrefslogtreecommitdiffhomepage
path: root/libtommath/filter.pl
diff options
context:
space:
mode:
authorSteffen Jaeckel <s@jaeckel.eu>2020-05-26 17:36:47 +0200
committerGitHub <noreply@github.com>2020-05-26 23:36:47 +0800
commitb4bd23b4d2a4c640880b49069e02cd598dd03416 (patch)
treefb480b4e501cc69b305de95fb15259aa6afa1963 /libtommath/filter.pl
parent724e61f8ae9e9f216b0252e41c5ebd5d64ad79a6 (diff)
Update LibTomMath to 1.2.0 (#84)
* update C files * update other files * update headers * update makefiles * remove mp_set/get_double() * use ltm 1.2.0 API * update ltm_desc * use bundled tommath if system-tommath is too old * XMALLOC etc. were changed to MP_MALLOC etc.
Diffstat (limited to 'libtommath/filter.pl')
-rwxr-xr-xlibtommath/filter.pl34
1 files changed, 0 insertions, 34 deletions
diff --git a/libtommath/filter.pl b/libtommath/filter.pl
deleted file mode 100755
index ad980e5..0000000
--- a/libtommath/filter.pl
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/perl
-
-# we want to filter every between START_INS and END_INS out and then insert crap from another file (this is fun)
-
-use strict;
-use warnings;
-
-open(my $src, '<', shift);
-open(my $ins, '<', shift);
-open(my $tmp, '>', 'tmp.delme');
-
-my $l = 0;
-while (<$src>) {
- if ($_ =~ /START_INS/) {
- print {$tmp} $_;
- $l = 1;
- while (<$ins>) {
- print {$tmp} $_;
- }
- close $ins;
- } elsif ($_ =~ /END_INS/) {
- print {$tmp} $_;
- $l = 0;
- } elsif ($l == 0) {
- print {$tmp} $_;
- }
-}
-
-close $tmp;
-close $src;
-
-# ref: $Format:%D$
-# git commit: $Format:%H$
-# commit time: $Format:%ai$