Hello!
Follow suggest from Paul Eggert in TODO, I replaced imaxtostr() on
inttostr().
If all will be alright then I replace this in other places to.
--
with best regards
Yurij Goncharuk
From 67d69d4b0c76361cbcfed7da7c4529bb78099d03 Mon Sep 17 00:00:00 2001
From: Yurij Goncharuk <[email protected]>
Date: Mon, 11 Aug 2014 00:39:10 +0400
Subject: [PATCH] expr: replaced imaxtostr() on inttostr()
* src/expr.c (mpz_out_str): Call inttostr() instead imaxtostr().
(mpz_get_str): Call inttostr() instead imaxtostr().
Follow suggest from Paul Eggert in TODO,
replaced imaxtostr() on inttostr().
---
src/expr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/expr.c b/src/expr.c
index a97663a..3eca7c2 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -117,7 +117,7 @@ mpz_get_str (char const *str, int base, mpz_t z)
{
(void) str; (void) base;
char buf[INT_BUFSIZE_BOUND (intmax_t)];
- return xstrdup (imaxtostr (z[0], buf));
+ return xstrdup (inttostr (z[0], buf));
}
static int
mpz_sgn (mpz_t z)
@@ -139,7 +139,7 @@ mpz_out_str (FILE *stream, int base, mpz_t z)
{
(void) base;
char buf[INT_BUFSIZE_BOUND (intmax_t)];
- return fputs (imaxtostr (z[0], buf), stream) != EOF;
+ return fputs (inttostr (z[0], buf), stream) != EOF;
}
#endif
--
1.8.4.5