diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2024-06-15 22:22:11 +0200 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2024-06-17 23:26:53 +0200 |
| commit | a1777cb5cb378374377fd1c5e37bef9292b90910 (patch) | |
| tree | 01d5ca0d0657672a8ac28ef0a2d558f21d79a4f7 /src/codegen | |
| parent | 687a756bf9b443ae53aa6dc3ee8f4a1550a09597 (diff) | |
| download | zig-a1777cb5cb378374377fd1c5e37bef9292b90910.tar.gz zig-a1777cb5cb378374377fd1c5e37bef9292b90910.zip | |
std: fix pthread_{get,set}name_np return type ABI
I believe this was accidentally broken when the E enum for errno values
was introduces. These functions are quite the special case in that they
return the error value directly rather than returning -1 and passing the
error value through the errno variable.
In any case, using a u16 as the return type at the ABI boundary where a
c_int is expected is asking for trouble.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
