llvm-project
[libc] fwrite_unlocked: only return errno if an actual error occurred.
#167350
Merged

[libc] fwrite_unlocked: only return errno if an actual error occurred. #167350

Sterling-Augustine
Sterling-Augustine [libc] fwrite_unlocked: only return errno if an actual error occurred.
2ccd1267
llvmbot llvmbot added libc
llvmbot
Sterling-Augustine Sterling-Augustine requested a review from michaelrj-google michaelrj-google 11 hours ago
Sterling-Augustine Sterling-Augustine requested a review from jtstogel jtstogel 11 hours ago
rupprecht rupprecht requested a review from vonosmas vonosmas 11 hours ago
rupprecht rupprecht requested a review from lntue lntue 11 hours ago
vonosmas
vonosmas commented on 2025-11-10
Sterling-Augustine FileIOResult is not a std::expected or similar. Don't treat it that way.
ccb1b257
vonosmas
vonosmas approved these changes on 2025-11-10
michaelrj-google
michaelrj-google approved these changes on 2025-11-10
jtstogel
jtstogel commented on 2025-11-10
Sterling-Augustine Fix size calculation.
9b0318af
jtstogel
jtstogel commented on 2025-11-10
Sterling-Augustine Fix calculation to be against nmemb, not size.
64fad094
jtstogel
jtstogel approved these changes on 2025-11-10
Sterling-Augustine Sterling-Augustine merged c5ce8021 into main 6 hours ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone