From fbff9ab02584df1222caaf53eb097013b8ca7f19 Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Tue, 14 Apr 2009 12:41:50 +0200 Subject: scanf/doscan.c (__gmp_doscan): Pad 3-operand scanf call with dummy argument. scanf/sscanffuns.c (scan): Disable vsscanf variant for now. --- scanf/doscan.c | 2 +- scanf/sscanffuns.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scanf') 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, ...) { -- cgit v1.2.1