Scanf is supposed to return EOF when it fails to make any conversions
and there is an input failure. Previously it would return EOF on a
matching failure, which may be an input failure but can also be a
parsing error.
Details
Details
- Reviewers
sivachandra lntue - Commits
- rGddae13c30357: [libc] fix scanf error handling
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo