(_IO_vfwscanf): Always use ungetc, never ungetwc. It's a macro.

This commit is contained in:
Ulrich Drepper 2002-02-26 18:15:42 +00:00
parent 0ab3a0b2c9
commit ba3cc6d5e5

View File

@ -1996,7 +1996,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
{ {
/* The current character is not in the /* The current character is not in the
scanset. */ scanset. */
ungetwc (c, s); ungetc (c, s);
goto out; goto out;
} }
@ -2008,7 +2008,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
break; break;
if (*runp == c && not_in) if (*runp == c && not_in)
{ {
ungetwc (c, s); ungetc (c, s);
goto out; goto out;
} }
@ -2018,7 +2018,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
if (runp == wp && !not_in) if (runp == wp && !not_in)
{ {
ungetwc (c, s); ungetc (c, s);
goto out; goto out;
} }
@ -2213,7 +2213,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
{ {
/* The current character is not in the /* The current character is not in the
scanset. */ scanset. */
ungetwc (c, s); ungetc (c, s);
goto out2; goto out2;
} }
@ -2225,7 +2225,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
break; break;
if (*runp == c && not_in) if (*runp == c && not_in)
{ {
ungetwc (c, s); ungetc (c, s);
goto out2; goto out2;
} }
@ -2235,7 +2235,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
if (runp == wp && !not_in) if (runp == wp && !not_in)
{ {
ungetwc (c, s); ungetc (c, s);
goto out2; goto out2;
} }