mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 23:30:06 +00:00
(_IO_vfwscanf): Always use ungetc, never ungetwc. It's a macro.
This commit is contained in:
parent
0ab3a0b2c9
commit
ba3cc6d5e5
@ -1996,7 +1996,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
{
|
||||
/* The current character is not in the
|
||||
scanset. */
|
||||
ungetwc (c, s);
|
||||
ungetc (c, s);
|
||||
goto out;
|
||||
}
|
||||
|
||||
@ -2008,7 +2008,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
break;
|
||||
if (*runp == c && not_in)
|
||||
{
|
||||
ungetwc (c, s);
|
||||
ungetc (c, s);
|
||||
goto out;
|
||||
}
|
||||
|
||||
@ -2018,7 +2018,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
|
||||
if (runp == wp && !not_in)
|
||||
{
|
||||
ungetwc (c, s);
|
||||
ungetc (c, s);
|
||||
goto out;
|
||||
}
|
||||
|
||||
@ -2213,7 +2213,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
{
|
||||
/* The current character is not in the
|
||||
scanset. */
|
||||
ungetwc (c, s);
|
||||
ungetc (c, s);
|
||||
goto out2;
|
||||
}
|
||||
|
||||
@ -2225,7 +2225,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
break;
|
||||
if (*runp == c && not_in)
|
||||
{
|
||||
ungetwc (c, s);
|
||||
ungetc (c, s);
|
||||
goto out2;
|
||||
}
|
||||
|
||||
@ -2235,7 +2235,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
|
||||
if (runp == wp && !not_in)
|
||||
{
|
||||
ungetwc (c, s);
|
||||
ungetc (c, s);
|
||||
goto out2;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user