summaryrefslogtreecommitdiffstats
path: root/mpi-patches/add-mpi-toradix-with-case
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-02-07 19:36:32 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-02-07 19:36:32 -0800
commit91664c356f4eb1f31a90f36d369bceb386466f42 (patch)
tree61d2714a2805c484749f65566cde2635926bb326 /mpi-patches/add-mpi-toradix-with-case
parentcbd2937606577580931b1de05bd18bf10de736ca (diff)
downloadtxr-91664c356f4eb1f31a90f36d369bceb386466f42.tar.gz
txr-91664c356f4eb1f31a90f36d369bceb386466f42.tar.bz2
txr-91664c356f4eb1f31a90f36d369bceb386466f42.zip
* Makefile (CFLAGS): Removed puzzling, unnecessary definitions
of XMALLOC, XCALLOC, XREALLOC and XFREE for $(MPI_OBJS). MPI does not use such macros and the allocator is already retargetted to use the TXR one. * mpi-patches/use-txr-allocator: In this patch, we don't need external declaration for chk_malloc or chk_realloc because they are not used. Only chk_calloc is used. * mpi-patches/add-bitops: Refreshed. * mpi-patches/add-mp-hash: Likewise. * mpi-patches/add-mp-set-intptr: Likewise. * mpi-patches/add-mpi-toradix-with-case: Likewise. * mpi-patches/bit-search-optimizations: Likewise. * mpi-patches/export-mp-eq: Likewise. * mpi-patches/faster-square-root: Likewise. * mpi-patches/fix-bad-shifts: Likewise. * mpi-patches/fix-ctype-warnings: Likewise. * mpi-patches/fix-mult-bug: Likewise. * mpi-patches/mpi-set-double-intptr: Likewise. * mpi-patches/mpi-set-mpi-word: Likewise. * mpi-patches/mpi-to-double: Likewise.
Diffstat (limited to 'mpi-patches/add-mpi-toradix-with-case')
-rw-r--r--mpi-patches/add-mpi-toradix-with-case14
1 files changed, 7 insertions, 7 deletions
diff --git a/mpi-patches/add-mpi-toradix-with-case b/mpi-patches/add-mpi-toradix-with-case
index 8d5b1e73..e9983bf6 100644
--- a/mpi-patches/add-mpi-toradix-with-case
+++ b/mpi-patches/add-mpi-toradix-with-case
@@ -1,8 +1,8 @@
Index: mpi-1.8.6/mpi.c
===================================================================
---- mpi-1.8.6.orig/mpi.c 2012-03-04 11:49:32.456841257 -0800
-+++ mpi-1.8.6/mpi.c 2012-03-04 11:49:39.720925007 -0800
-@@ -2628,9 +2628,9 @@
+--- mpi-1.8.6.orig/mpi.c 2015-02-07 19:32:46.612726878 -0800
++++ mpi-1.8.6/mpi.c 2015-02-07 19:32:48.892686392 -0800
+@@ -2626,9 +2626,9 @@
/* }}} */
@@ -14,7 +14,7 @@ Index: mpi-1.8.6/mpi.c
{
int ix, pos = 0;
-@@ -2661,7 +2661,7 @@
+@@ -2659,7 +2659,7 @@
}
/* Generate digits, use capital letters */
@@ -23,7 +23,7 @@ Index: mpi-1.8.6/mpi.c
str[pos++] = ch;
}
-@@ -2689,10 +2689,15 @@
+@@ -2687,10 +2687,15 @@
return MP_OKAY;
@@ -42,8 +42,8 @@ Index: mpi-1.8.6/mpi.c
int mp_char2value(char ch, int r)
Index: mpi-1.8.6/mpi.h
===================================================================
---- mpi-1.8.6.orig/mpi.h 2012-03-04 11:49:32.196695007 -0800
-+++ mpi-1.8.6/mpi.h 2012-03-04 11:49:39.724927257 -0800
+--- mpi-1.8.6.orig/mpi.h 2015-02-07 19:32:46.612726878 -0800
++++ mpi-1.8.6/mpi.h 2015-02-07 19:32:48.892686392 -0800
@@ -213,6 +213,7 @@
int mp_radix_size(mp_int *mp, int radix);
int mp_value_radix_size(int num, int qty, int radix);