diff options
| author | Sterling-Augustine <saugustine@google.com> | 2025-11-10 14:58:26 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-10 14:58:26 -0800 |
| commit | c5ce8021da09cfe232abe2e869269297b00fbcdb (patch) | |
| tree | 89e73ec65c49383d1a4081877ce4a4168311d467 /llvm/lib/Support/DynamicLibrary.cpp | |
| parent | 5b8e86909c94ad81b4c2f0cee50c3433ec318788 (diff) | |
| download | llvm-c5ce8021da09cfe232abe2e869269297b00fbcdb.zip llvm-c5ce8021da09cfe232abe2e869269297b00fbcdb.tar.gz llvm-c5ce8021da09cfe232abe2e869269297b00fbcdb.tar.bz2 | |
[libc] fwrite_unlocked: only return errno if an actual error occurred. (#167350)
fwrite and friends don't modify errno if no error occurred. Therefore
frite_unlocked's return value shouldn't be constructed from errno
without checking if an error actually occurred.
This fixes an error introduced by
https://github.com/llvm/llvm-project/commit/9e2f73fe9052a4fbf382a06e30b2441c6d99fb7e
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions
