vfscanf: Add support for L type modifier for long long
scanf()'s man page suggests support for %Ld, (and ioux). Implement this so that 3rd party code will work correctly. Change-Id: Idce9d266071cb688ca71429395a2d9edf6813595
This commit is contained in:
parent
e274a9fac0
commit
712e4f81e0
@ -159,7 +159,13 @@ literal:
|
||||
flags |= MAXINT;
|
||||
goto again;
|
||||
case 'L':
|
||||
flags |= LONGDBL;
|
||||
flags |=
|
||||
(*fmt == 'd') ? LLONG :
|
||||
(*fmt == 'i') ? LLONG :
|
||||
(*fmt == 'o') ? LLONG :
|
||||
(*fmt == 'u') ? LLONG :
|
||||
(*fmt == 'x') ? LLONG :
|
||||
LONGDBL;
|
||||
goto again;
|
||||
case 'h':
|
||||
if (*fmt == 'h') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user