diff options
author | Dmitry Pankratov <dp@ubiquitech.com> | 2016-11-11 20:03:11 (GMT) |
---|---|---|
committer | Dmitry Pankratov <dp@ubiquitech.com> | 2016-11-11 20:03:11 (GMT) |
commit | 0d17d26005efbd5d6157df0f68a26c738c385ed2 (patch) | |
tree | 9c25ccb481bd4b58e54c692403d9c49402f09d98 /patches/gmp/4.2.4/110-mpf_set_str.patch | |
parent | 34ca68e3b076f4a7eea78aa46215fa50dfb1e322 (diff) | |
parent | 5ebbb52be04e42bbd1c28b903eba642bebaeb1b6 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'patches/gmp/4.2.4/110-mpf_set_str.patch')
-rw-r--r-- | patches/gmp/4.2.4/110-mpf_set_str.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/patches/gmp/4.2.4/110-mpf_set_str.patch b/patches/gmp/4.2.4/110-mpf_set_str.patch deleted file mode 100644 index 9cb600b..0000000 --- a/patches/gmp/4.2.4/110-mpf_set_str.patch +++ /dev/null @@ -1,32 +0,0 @@ -Original patch from: mpf_set_str.c.4.diff - --= BEGIN original header =- --= END original header =- - -diff -durN gmp-4.2.4.orig/mpf/set_str.c gmp-4.2.4/mpf/set_str.c ---- gmp-4.2.4.orig/mpf/set_str.c 2008-08-25 16:11:37.000000000 +0200 -+++ gmp-4.2.4/mpf/set_str.c 2009-03-08 18:36:16.000000000 +0100 -@@ -137,7 +137,12 @@ - c = (unsigned char) *++str; - } - -+ /* Default base to decimal. */ -+ if (base == 0) -+ base = 10; -+ - exp_base = base; -+ - if (base < 0) - { - exp_base = 10; -@@ -165,10 +170,6 @@ - return -1; - } - -- /* Default base to decimal. */ -- if (base == 0) -- base = 10; -- - /* Locate exponent part of the input. Look from the right of the string, - since the exponent is usually a lot shorter than the mantissa. */ - expptr = NULL; |