mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 18:28:30 +00:00
Make build hermetic without shell scripts
- Fix some minor issues in ar.com - Have execve() look for `ape` command - Rewrite NT paths using /c/ rather /??/c:/ - Replace broken GCC symlinks with .sym files - Rewrite $PATH environment variables on startup - Make $(APE_NO_MODIFY_SELF) the default bootloader - Add all build command dependencies to build/bootstrap - Get the repository mostly building from source on non-Linux
This commit is contained in:
parent
d44ff6ce1f
commit
d230a01222
160 changed files with 2754 additions and 1342 deletions
|
@ -94,15 +94,15 @@ TryAgain:
|
|||
}
|
||||
} else {
|
||||
rc = __winerr();
|
||||
STRACE("%s failed: %m", "AccessCheck");
|
||||
STRACE("%s(%#hs) failed: %m", "AccessCheck", pathname);
|
||||
}
|
||||
} else {
|
||||
rc = __winerr();
|
||||
STRACE("%s failed: %m", "DuplicateToken");
|
||||
STRACE("%s(%#hs) failed: %m", "DuplicateToken", pathname);
|
||||
}
|
||||
} else {
|
||||
rc = __winerr();
|
||||
STRACE("%s failed: %m", "OpenProcessToken");
|
||||
STRACE("%s(%#hs) failed: %m", "OpenProcessToken", pathname);
|
||||
}
|
||||
} else {
|
||||
e = GetLastError();
|
||||
|
@ -112,9 +112,11 @@ TryAgain:
|
|||
goto TryAgain;
|
||||
} else {
|
||||
rc = enomem();
|
||||
STRACE("%s(%#hs) failed: %m", "GetFileSecurity", pathname);
|
||||
}
|
||||
} else {
|
||||
errno = e;
|
||||
STRACE("%s(%#hs) failed: %m", "GetFileSecurity", pathname);
|
||||
rc = -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue