[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Wed Jan 9 07:44:34 CET 2013
details: /var/hg/gmp/rev/dcf50fd015a8
changeset: 15247:dcf50fd015a8
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Wed Jan 09 07:44:09 2013 +0100
description:
mini-gmp/mini-gmp.c (mpz_export): Support op=0 countp=NULL.
details: /var/hg/gmp/rev/f6f6c4160a8e
changeset: 15248:f6f6c4160a8e
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Wed Jan 09 07:44:26 2013 +0100
description:
ChangeLog
diffstat:
ChangeLog | 7 +++++--
mini-gmp/mini-gmp.c | 3 ++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r bf2c415056f1 -r f6f6c4160a8e ChangeLog
--- a/ChangeLog Tue Jan 08 21:42:57 2013 +0100
+++ b/ChangeLog Wed Jan 09 07:44:26 2013 +0100
@@ -1,3 +1,7 @@
+2013-01-09 Marco Bodrato <bodrato at mail.dm.unipi.it>
+
+ * mini-gmp/mini-gmp.c (mpz_export): Support op=0 countp=NULL.
+
2013-01-08 Niels Möller <nisse at lysator.liu.se>
* mini-gmp/tests/t-import.c: New test program, testing both
@@ -17,8 +21,7 @@
* mini-gmp/README: Document base limitation for conversions.
* mini-gmp/mini-gmp.c (mpz_set_str): Remove goto.
- * mini-gmp/mini-gmp.c (mpz_import): Correctly use order/endianess.
- (mpz_export): Likewise.
+ (mpz_import, mpz_export): Correctly use order/endianess.
2013-01-05 Torbjorn Granlund <tege at gmplib.org>
diff -r bf2c415056f1 -r f6f6c4160a8e mini-gmp/mini-gmp.c
--- a/mini-gmp/mini-gmp.c Tue Jan 08 21:42:57 2013 +0100
+++ b/mini-gmp/mini-gmp.c Wed Jan 09 07:44:26 2013 +0100
@@ -4103,7 +4103,8 @@
un = GMP_ABS (u->_mp_size);
if (un == 0)
{
- *countp = 0;
+ if (countp)
+ *countp = 0;
return r;
}
More information about the gmp-commit
mailing list