projects
/
mes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49bcea8
)
mescc: Support binutils 2.25: vsscanf: Skip `l'.
author
Jan Nieuwenhuizen
<janneke@gnu.org>
Sun, 17 Jun 2018 07:26:34 +0000
(09:26 +0200)
committer
Jan Nieuwenhuizen
<janneke@gnu.org>
Sun, 17 Jun 2018 07:26:34 +0000
(09:26 +0200)
* lib/libc+tcc.c (vsscanf): Skip `l'.
lib/libc+tcc.c
patch
|
blob
|
history
diff --git
a/lib/libc+tcc.c
b/lib/libc+tcc.c
index b3e2bb3a4d43869a70b88bc15e0aee59a2d43365..65195bfa373ff3618808b207af9b7d6ae9fc59dd 100644
(file)
--- a/
lib/libc+tcc.c
+++ b/
lib/libc+tcc.c
@@
-819,6
+819,8
@@
vsscanf (char const *s, char const *template, va_list ap)
{
t++;
char c = *t;
+ if (c == 'l')
+ c = *++t;
switch (c)
{
case '%': {p++; break;}