mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Add MODE=optlinux build mode (#141)
This commit is contained in:
parent
226aaf3547
commit
67b5200a0b
111 changed files with 934 additions and 854 deletions
|
@ -1847,7 +1847,7 @@ static bool OpenZip(bool force) {
|
|||
if ((m = mmap(0, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0)) !=
|
||||
MAP_FAILED) {
|
||||
n = st.st_size;
|
||||
if (endswith(zpath, ".com.dbg") && (p = memmem(m, n, "MZqFpD", 6))) {
|
||||
if ((p = FindEmbeddedApe(m, n))) {
|
||||
b = p;
|
||||
n -= p - m;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue