diff options
author | Ori Bernstein <ori@eigenstate.org> | 2020-05-15 16:46:20 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2020-05-15 16:46:20 -0700 |
commit | 78aec6d5c67cab79e03cdbe4f1a1bd7a7aa15612 (patch) | |
tree | 555810535e5c50097cc4ed219b14819e09cc4207 /sys/src/ape/lib/ap/stdio/fgets.c | |
parent | ed4645979c0a6286d92c6bddaee7ea71727b0afb (diff) |
Fix scans of more than one character in %[]
This got broken in d8e877a89dae, where we returned 0 on the
first mismatch; we want to return 0 only when we consumed no
characters.
Diffstat (limited to 'sys/src/ape/lib/ap/stdio/fgets.c')
0 files changed, 0 insertions, 0 deletions