summaryrefslogtreecommitdiff
path: root/scanf
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-04-14 12:41:50 +0200
committerTorbjorn Granlund <tege@gmplib.org>2009-04-14 12:41:50 +0200
commitfbff9ab02584df1222caaf53eb097013b8ca7f19 (patch)
tree97fb2d951a893daf41d88825c9086da722f970b2 /scanf
parent9ac9d4c900d885ecec5a0224167e8507f57ed6eb (diff)
downloadgmp-fbff9ab02584df1222caaf53eb097013b8ca7f19.tar.gz
scanf/doscan.c (__gmp_doscan): Pad 3-operand scanf call with dummy argument.
scanf/sscanffuns.c (scan): Disable vsscanf variant for now.
Diffstat (limited to 'scanf')
-rw-r--r--scanf/doscan.c2
-rw-r--r--scanf/sscanffuns.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/scanf/doscan.c b/scanf/doscan.c
index 50452f2c3..0f7062926 100644
--- a/scanf/doscan.c
+++ b/scanf/doscan.c
@@ -590,7 +590,7 @@ __gmp_doscan (const struct gmp_doscan_funs_t *funs, void *data,
new_chars = -1;
if (param.ignore)
{
- new_fields = (*funs->scan) (data, alloc_fmt, &new_chars);
+ new_fields = (*funs->scan) (data, alloc_fmt, &new_chars, NULL);
ASSERT (new_fields == 0 || new_fields == EOF);
}
else
diff --git a/scanf/sscanffuns.c b/scanf/sscanffuns.c
index 2f7dfcae5..008bad701 100644
--- a/scanf/sscanffuns.c
+++ b/scanf/sscanffuns.c
@@ -27,7 +27,7 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#include "gmp-impl.h"
-#if 1
+#if 0
static int
scan (const char **sp, const char *fmt, ...)
{