diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-13 01:52:45 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2020-06-13 01:52:45 +0000 |
commit | 96d764e1564e0c36bc7e071371c82396d4b5c8ff (patch) | |
tree | 3401bfd0e76c3a6dafdb707cbc283871a2ee1933 | |
parent | 724d54b97db4d1574dfaefcf4e94042354de950e (diff) | |
download | mpfr-96d764e1564e0c36bc7e071371c82396d4b5c8ff.tar.gz |
[tests/tfpif.c] Updated comment about the bug detected on AIX.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14012 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/tfpif.c | 3 |
1 files changed, 2 insertions, 1 deletions
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: |