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:
Justine Tunney 2024-09-13 01:47:33 -07:00
parent 1260f9d0ed
commit 6b10f4d0b6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 77 additions and 9 deletions

View file

@ -19,10 +19,6 @@
dir=libc/sysv/consts
. libc/sysv/gen.sh
# syscon errno EALREADY 114 114 37 37 37 37 37 10037 # connection already in progress; bsd consensus; WSAEALREADY; raised by connect(2), send(2), ip(7)
# syscon errno EINPROGRESS 115 115 36 36 36 36 36 10036 # bsd consensus; WSAEINPROGRESS; raised by connect(2) w/ O_NONBLOCK
# syscon errno EISCONN 106 106 56 56 56 56 56 10056 # socket is connected; bsd consensus; WSAEISCONN; raised by connect(2), send(2), unix(7), ip(7)
# The Fifth Bell System, Community Edition
# » catalogue of carnage
#