aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2022-11-18 14:19:30 -0800
committerMichael Jones <michaelrj@google.com>2022-12-13 12:51:26 -0800
commitddae13c30357087797991ebd59e200abe34bd800 (patch)
treebcfc8cd31821e0fd0c9a1de7003264f627a5661e /llvm/lib/Object/MachOObjectFile.cpp
parentc8647738cd654d9ecfdc047e480d05a997d3127b (diff)
downloadllvm-ddae13c30357087797991ebd59e200abe34bd800.zip
llvm-ddae13c30357087797991ebd59e200abe34bd800.tar.gz
llvm-ddae13c30357087797991ebd59e200abe34bd800.tar.bz2
[libc] fix scanf error handling
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. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D139891
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions