diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-05-09 15:10:39 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-05-09 15:10:39 -0700 |
commit | bfc8cdfff5aba1da7ddef1c2ef7e1167f8dd2e8d (patch) | |
tree | 68860e9c2f3f89e26fb459995af324dae5829323 /sys/src/ape/lib/ap/stdio/_IO_newfile.c | |
parent | 758edf2b1448bcc461bc2f99eeaabad1a077351d (diff) |
fix '%[]' specifiers and '%n' (thanks phil9)
When a match() fails, we need to unget the character we
tried to match against, rather than leaving it consumed.
Also, we can't break out of a conversion before we reach
the end of a format string, because things like the '%n'
conversion do not consume anything, and should still be
handled.
Diffstat (limited to 'sys/src/ape/lib/ap/stdio/_IO_newfile.c')
0 files changed, 0 insertions, 0 deletions