cosmopolitan/libc/sock
Justine Tunney c88f95a892
Remove Windows executable path guessing logic
Unlike CMD.EXE, CreateProcess() doesn't care if an executable name ends
with .COM or .EXE. We now have the unbourne shell and bash working well
on Windows, so we don't need DOS anymore. Making this change will grant
us better performance, particularly for builds, because commandv() will
need to make fewer system calls. Path mangling magic still happens with
WinMain() and ntspawn() in order to do things like turn \ into / so the
interop works well at the borders. But all the code in libraries, which
did that, has been removed. It's not possible for libraries to abstract
the differences between paths.
2023-09-21 08:13:50 -07:00
..
struct Make improvements 2023-09-21 07:30:39 -07:00
accept-nt.c Fix warnings 2023-09-01 20:50:18 -07:00
accept.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
accept4-sysv.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
accept4.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
alg.h Perform build and magnum tuning 2021-08-10 10:26:13 -07:00
asanmsghdr.c Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
basesocket.c Improve synchronization 2022-04-15 15:31:55 -07:00
bind-nt.c Clean up more WIN32 APIs 2023-08-01 14:17:03 -07:00
bind-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
bind.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
closesocket-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
connect-nt.c Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00
connect-sysv.c Reduce build graph by another eight percent 2022-08-13 13:11:56 -07:00
connect.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
dupsockfd.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
epoll.c Fix some zipos directory related bugs 2023-09-19 02:30:42 -07:00
epoll.h Port a lot more code to AARCH64 2023-05-14 09:37:26 -07:00
fixupnewsockfd.c Support non-blocking i/o across platforms 2023-07-23 02:56:47 -07:00
gethostips.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
getsockname.c Clean up more WIN32 APIs 2023-08-01 14:17:03 -07:00
getsockopt-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
getsockopt.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
goodsocket.c Mint APE Loader v1.4 2023-07-25 05:48:08 -07:00
goodsocket.internal.h Refactor out some duplicated code 2021-08-14 06:17:56 -07:00
inet_addr.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_aton.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_ntoa.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
inet_ntop.c Fix warnings 2023-09-01 20:50:18 -07:00
inet_pton.c Fix warnings 2023-09-01 20:50:18 -07:00
internal.h Make improvements 2023-09-06 12:34:59 -07:00
iovec2nt.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
ipclassify.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
kntwsadata.c Make improvements 2023-09-18 21:04:47 -07:00
listen-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
listen.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
parseport.c Add protoent and netent (#209) 2021-07-10 12:36:35 -07:00
pselect.c Remove Windows executable path guessing logic 2023-09-21 08:13:50 -07:00
recv-nt.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
recv.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
recvfrom-nt.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
recvfrom.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
recvmsg.c Make the Windows Console work better 2023-09-07 18:27:22 -07:00
select-nt.c Make improvements 2023-09-21 07:30:39 -07:00
select.c Make improvements 2023-09-21 07:30:39 -07:00
select.h Make improvements 2023-09-06 12:34:59 -07:00
select.internal.h Make improvements 2023-09-21 07:30:39 -07:00
send-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
send.c Fix warnings 2023-09-01 20:50:18 -07:00
sendfile.c Make improvements 2023-09-21 07:30:39 -07:00
sendfile.internal.h Remove _Hide keyword 2023-07-24 08:34:58 -07:00
sendmsg.c Make improvements 2023-08-21 02:34:17 -07:00
sendto-nt.c Make forking off threads reliable on Windows 2023-07-30 09:32:41 -07:00
sendto.c Fix warnings 2023-09-01 20:50:18 -07:00
setsockopt-nt.c Fix warnings 2023-09-01 20:50:18 -07:00
setsockopt.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
shutdown-nt.c Fix flakes in runitd and popen_test 2023-07-30 04:26:34 -07:00
shutdown.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
sock.h Make improvements 2023-09-18 21:04:47 -07:00
sock.mk Clean up more code 2023-06-18 01:00:05 -07:00
sockaddr.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockaddr2bsd.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockaddr2linux.c Fix some more socket bugs 2023-07-23 16:31:10 -07:00
sockatmark.c Improve zip read-only filesystem 2023-08-16 17:52:12 -07:00
sockdebug.c Fix warnings 2023-09-01 20:50:18 -07:00
socket-nt.c Emulate ENOTDIR better 2023-08-16 20:11:23 -07:00
socket-sysv.c Fix socket() EPROTONOSUPPORT fallback on MacOS 2023-08-22 14:34:37 -07:00
socket.c Make more fixes and improvements 2023-07-29 18:44:15 -07:00
socketpair-nt.c Avoid leaking handles across processes 2023-09-12 01:07:51 -07:00
socketpair-sysv.c Perform fine-tuning of socketpair and pipe 2021-03-16 22:44:54 -07:00
socketpair.c Strengthen the pledge() polyfill 2022-06-27 13:02:17 -07:00
sys_sendfile_freebsd.S Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
sys_sendfile_xnu.S Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
syscall_fd.internal.h Make the Windows Console work better 2023-09-07 18:27:22 -07:00
syslog.c Fix warnings 2023-09-01 20:50:18 -07:00
syslog.h Add more missing libc functionality 2022-08-06 10:50:51 -07:00
winsockblock.c Make fixes and improvements 2022-06-25 21:09:09 -07:00
wsablock.c Make improvements 2023-09-21 07:30:39 -07:00
yoink.inc Mint APE Loader v1.5 2023-07-26 13:54:49 -07:00