mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Fix ioctl() and FIONREAD for sockets on Windows
This change fixes an issue where using FIONREAD would cause control flow to jump to null, due to a _weaken() reference that I refactored long ago
This commit is contained in:
parent
1260f9d0ed
commit
6b10f4d0b6
6 changed files with 77 additions and 9 deletions
|
@ -38,7 +38,7 @@ struct SendArgs {
|
|||
struct NtIovec iovnt[16];
|
||||
};
|
||||
|
||||
static textwindows int sys_send_nt_start(int64_t handle,
|
||||
textwindows static int sys_send_nt_start(int64_t handle,
|
||||
struct NtOverlapped *overlap,
|
||||
uint32_t *flags, void *arg) {
|
||||
struct SendArgs *args = arg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue