diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-13 09:32:51 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-13 09:32:51 +0000 |
commit | f11f3c73914b2dbf4b60cf7b4648c1c4d310b62f (patch) | |
tree | 06d203440480df8c416076cd459a14f76249dc03 | |
parent | 9a554756b9f193f8e256cbb2d78dbed2db2c977f (diff) | |
download | mpfr-f11f3c73914b2dbf4b60cf7b4648c1c4d310b62f.tar.gz |
Merged the latest changes from the trunk:
r14012:
[tests/tfpif.c] Updated comment about the bug detected on AIX.
r14015:
[doc/mpfr.texi] ACM TOMS article: use the preferred DOI URL.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.1@14016 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | doc/mpfr.texi | 2 | ||||
-rw-r--r-- | tests/tfpif.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi index 29e28392a..4caa3cd50 100644 --- a/doc/mpfr.texi +++ b/doc/mpfr.texi @@ -4570,7 +4570,7 @@ Patrick P@'elissier and Paul Zimmermann, "MPFR: A Multiple-Precision Binary Floating-Point Library With Correct Rounding", ACM Transactions on Mathematical Software, volume 33, issue 2, article 13, 15 pages, 2007, -@url{http://doi.acm.org/10.1145/1236463.1236468}. +@url{https://doi.org/10.1145/1236463.1236468}. @item Torbj@"orn Granlund, "GNU MP: The GNU Multiple Precision Arithmetic Library", diff --git a/tests/tfpif.c b/tests/tfpif.c index 49d3ebc55..e3b31c8c6 100644 --- a/tests/tfpif.c +++ b/tests/tfpif.c @@ -249,7 +249,8 @@ check_bad (void) Note: mode "w" was used previously, and the issue remained undetected until a test on AIX, where the fclose failed with the error: check_bad: A file descriptor does not refer to an open file. - (the exit code of fclose has been checked since r13549 / 2019-08-09). + (the exit code of fclose has been checked since r13549 / 2019-08-09, + at the same time "w+" was changed to "w" by mistake). What actually happened is that the fread in mpfr_fpif_import failed, but this was not tested. So a test of errno has been added below; with mode "w" (instead of "w+"), it yields: |