summaryrefslogtreecommitdiff
path: root/tests/tget_str.c
diff options
context:
space:
mode:
authorryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4>2003-06-09 22:48:18 +0000
committerryde <ryde@280ebfd0-de03-0410-8827-d642c229c3f4>2003-06-09 22:48:18 +0000
commit674e99596457dcafd4ddd10a7660ad893cb18772 (patch)
treeabc668ca7c2cb8eb031995f4fd6b88d026cdc12c /tests/tget_str.c
parent8a6c5d3a53a2ea00254a54d7723667bcdd124727 (diff)
downloadmpfr-674e99596457dcafd4ddd10a7660ad893cb18772.tar.gz
Patch by Torbjorn: use puts not putchar, to avoid GNUPro compiler bug.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2317 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_str.c')
-rw-r--r--tests/tget_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tget_str.c b/tests/tget_str.c
index 61e549866..4aa0ddd9a 100644
--- a/tests/tget_str.c
+++ b/tests/tget_str.c
@@ -155,7 +155,7 @@ check_small (void)
{
fprintf(stderr, "Error in mpfr_get_str: 688 printed up to 4 bits should give 1.011e9\ninstead of ");
mpfr_out_str (stderr, 2, 4, x, GMP_RNDU);
- putchar ('\n');
+ puts ("");
exit (1);
}
(*__gmp_free_func) (s, strlen (s) + 1);