mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
* wcsmbs/wcstol.c: Moved to ... * sysdeps/generic/wcstol.c: ...here. * wcsmbs/wcstoul.c: Moved to ... * sysdeps/generic/wcstoul.c: ...here. * wcsmbs/wcstoll.c: Moved to ... * sysdeps/generic/wcstoll.c: ...here. * wcsmbs/wcstoull.c: Moved to ... * sysdeps/generic/wcstoull.c: ...here. * wcsmbs/wcstol_l.c: Moved to ... * sysdeps/generic/wcstol_l.c: ...here. * wcsmbs/wcstoul_l.c: Moved to ... * sysdeps/generic/wcstoul_l.c: ...here. * wcsmbs/wcstoll_l.c: Moved to ... * sysdeps/generic/wcstoll_l.c: ...here. * wcsmbs/wcstoull_l.c: Moved to ... * sysdeps/generic/wcstoull_l.c: ...here. * sysdeps/wordexp-64/wcstol.c: New file. * sysdeps/wordexp-64/wcstoul.c: New file. * sysdeps/wordexp-64/wcstoll.c: New file. * sysdeps/wordexp-64/wcstoull.c: New file. * sysdeps/wordexp-64/wcstol_l.c: New file. * sysdeps/wordexp-64/wcstoul_l.c: New file. * sysdeps/wordexp-64/wcstoll_l.c: New file. * sysdeps/wordexp-64/wcstoull_l.c: New file.
This commit is contained in:
@ -446,7 +446,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
{
|
||||
/* A double `l' is equivalent to an `L'. */
|
||||
++f;
|
||||
flags |= need_longlong ? LONGDBL | LONG;
|
||||
flags |= need_longlong ? LONGDBL : LONG;
|
||||
}
|
||||
else
|
||||
/* ints are long ints. */
|
||||
@ -455,7 +455,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
case 'q':
|
||||
case 'L':
|
||||
/* doubles are long doubles, and ints are long long ints. */
|
||||
flags |= need_longlong ? LONGDBL | LONG;
|
||||
flags |= need_longlong ? LONGDBL : LONG;
|
||||
break;
|
||||
case 'a':
|
||||
/* The `a' is used as a flag only if followed by `s', `S' or
|
||||
|
Reference in New Issue
Block a user