diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-08-26 02:22:19 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-08-26 02:22:19 +0200 |
commit | 91efba674c141739724800d3afc3af46337cf9d1 (patch) | |
tree | ef19cb3ec1535dd331d72529ff7dd1208ada6aaa /tests/printf | |
parent | 38eef071e844c3a080ae9414ff15919a782b3bed (diff) | |
download | gmp-91efba674c141739724800d3afc3af46337cf9d1.tar.gz |
* tests/printf/t-printf.c (check_plain): Don't compare "all digits"
precision against plain printf.
Diffstat (limited to 'tests/printf')
-rw-r--r-- | tests/printf/t-printf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/printf/t-printf.c b/tests/printf/t-printf.c index 375846a5c..5ad9332ce 100644 --- a/tests/printf/t-printf.c +++ b/tests/printf/t-printf.c @@ -105,7 +105,9 @@ check_plain (va_alist) directly. */ goto done; case 'F': - /* discard */ + if (p > fmt_orig && *(p-1) == '.') + goto done; /* don't test the "all digits" cases */ + /* discard 'F' type */ break; case 'Z': /* transmute */ |