提交 f7e464bf 编写于 作者: B Brion Vibber 提交者: Rich Felker

fix %lf in wprintf

commit cc3a4466 fixed this for printf
but neglected to fix wprintf.

Previously, %lf caused a failure to output.
上级 1ef37aa0
......@@ -53,6 +53,8 @@ static const unsigned char states[]['z'-'A'+1] = {
}, { /* 1: l-prefixed */
S('d') = LONG, S('i') = LONG,
S('o') = ULONG, S('u') = ULONG, S('x') = ULONG, S('X') = ULONG,
S('e') = DBL, S('f') = DBL, S('g') = DBL, S('a') = DBL,
S('E') = DBL, S('F') = DBL, S('G') = DBL, S('A') = DBL,
S('c') = INT, S('s') = PTR, S('n') = PTR,
S('l') = LLPRE,
}, { /* 2: ll-prefixed */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册