]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(_IO_vfwscanf): Always use ungetc, never ungetwc. It's a macro.
authorUlrich Drepper <drepper@redhat.com>
Tue, 26 Feb 2002 18:15:42 +0000 (18:15 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 26 Feb 2002 18:15:42 +0000 (18:15 +0000)
stdio-common/vfscanf.c

index b4b7d4dff1f90875ac5831fbdd1fb30ea41e0772..b2c0fcecaf37d2dc046481813b02ae1579c8785e 100644 (file)
@@ -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;
                    }