cosmopolitan/libc/x
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
..
bingblit.c Change license 2020-12-27 17:18:44 -08:00
rmrf.c Make improvements 2023-08-21 02:34:17 -07:00
tunbing.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
unbingbuf.c Change license 2020-12-27 17:18:44 -08:00
unbingstr.c Change license 2020-12-27 17:18:44 -08:00
utf8to16.c Make improvements 2023-07-10 04:35:14 -07:00
utf8to32.c Fix warnings 2023-09-01 20:50:18 -07:00
utf16to8.c Fix warnings 2023-09-01 20:50:18 -07:00
utf16to32.c Fix warnings 2023-09-01 20:50:18 -07:00
utf32to8.c Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
x.h Make improvements 2023-09-06 12:34:59 -07:00
x.mk Make improvements 2023-09-18 21:04:47 -07:00
xasprintf.c Clean up more code 2023-06-18 01:00:05 -07:00
xasprintf.h Make improvements 2023-09-06 12:34:59 -07:00
xbarf.c Fix warnings 2023-09-01 20:50:18 -07:00
xbasename.c Fix warnings 2023-09-01 20:50:18 -07:00
xcalloc.c Unbloat the build 2022-08-11 00:15:29 -07:00
xdie.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
xdirname.c Fix warnings 2023-09-01 20:50:18 -07:00
xdtoa.c Make improvements 2023-06-15 14:50:53 -07:00
xdtoaf.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
xdtoal.c Make improvements 2023-06-15 14:50:53 -07:00
xfixpath.c Make build hermetic without shell scripts 2022-05-25 13:55:57 -07:00
xgetline.c Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
xgetline.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
xhomedir.c Fix warnings 2023-09-01 20:50:18 -07:00
xiso8601.h Pay off more technical debt 2022-09-12 23:36:56 -07:00
xjoinpaths.c Remove Windows executable path guessing logic 2023-09-21 08:13:50 -07:00
xload.c Get rid of kmalloc() 2023-09-11 21:56:00 -07:00
xmalloc.c Unbloat the build 2022-08-11 00:15:29 -07:00
xmemalign.c Unbloat the build 2022-08-11 00:15:29 -07:00
xmemalignzero.c Unbloat the build 2022-08-11 00:15:29 -07:00
xrealloc.c Unbloat the build 2022-08-11 00:15:29 -07:00
xsigaction.c Make improvements 2023-07-10 04:35:14 -07:00
xsigaction.h Make improvements 2023-07-10 04:35:14 -07:00
xslurp.c Fix warnings 2023-09-01 20:50:18 -07:00
xspawn.c Make improvements 2023-09-18 21:04:47 -07:00
xspawn.h Hunt down more bugs 2023-07-03 18:43:29 -07:00
xstrcat.c Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
xstrdup.c Fold LIBC_BITS into LIBC_INTRIN 2022-08-11 12:13:18 -07:00
xstripext.c Make numerous improvements 2021-09-28 01:52:34 -07:00
xstripexts.c Experiment with making Python go faster 2021-08-18 21:57:11 -07:00
xstrmul.c Fix warnings 2023-09-01 20:50:18 -07:00
xstrndup.c Unbloat the build 2022-08-11 00:15:29 -07:00
xvalloc.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
xvasprintf.c Clean up more code 2023-06-18 01:00:05 -07:00
xvspawn.c Pay off more technical debt 2022-09-12 23:36:56 -07:00
xwrite.c Make improvements 2023-09-18 21:04:47 -07:00