mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Stop using .com extension in monorepo
The WIN32 CreateProcess() function does not require an .exe or .com suffix in order to spawn an executable. Now that we have Cosmo bash we're no longer so dependent on the cmd.exe prompt.
This commit is contained in:
parent
c8383f25b4
commit
a6baba1b07
239 changed files with 2092 additions and 2244 deletions
|
@ -23,9 +23,9 @@
|
|||
#include "libc/elf/struct/shdr.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/fmt/magnumstrs.internal.h"
|
||||
#include "libc/serialize.h"
|
||||
#include "libc/limits.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/serialize.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/stdio/sysparam.h"
|
||||
#include "libc/str/str.h"
|
||||
|
@ -85,8 +85,8 @@ FLAGS\n\
|
|||
\n\
|
||||
EXAMPLE\n\
|
||||
\n\
|
||||
objcopy -SO binary foo.com.dbg foo.com\n\
|
||||
zipcopy foo.com.dbg foo.com\n\
|
||||
objcopy -SO binary foo.dbg foo\n\
|
||||
zipcopy foo.dbg foo\n\
|
||||
\n\
|
||||
\n\
|
||||
",
|
||||
|
@ -122,7 +122,7 @@ static void CopyZip(void) {
|
|||
//
|
||||
// if input is an elf file with sections, then the zip artifacts need
|
||||
// to have been linked into a .zip section and then later copied into
|
||||
// the file end by fixupobj.com.
|
||||
// the file end by fixupobj.
|
||||
//
|
||||
if (IsElf64Binary((ehdr = (Elf64_Ehdr *)inmap), insize) && ehdr->e_shnum &&
|
||||
(secstrs = GetElfSectionNameStringTable(ehdr, insize)) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue