mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Remove COSMOPOLITAN_PROGRAM_EXECUTABLE (#1047)
This commit is contained in:
parent
68dbe5312f
commit
9801f2d1db
2 changed files with 0 additions and 23 deletions
|
@ -225,8 +225,6 @@ static inline void InitProgramExecutableNameImpl(void) {
|
|||
|
||||
// try argv[0], then argv[0].com, then $_, then $_.com.
|
||||
if (TryPath(__argv[0], 1) ||
|
||||
/* TODO(mrdomino): remove after next loader mint */
|
||||
TryPath(__getenv(__envp, "COSMOPOLITAN_PROGRAM_EXECUTABLE").s, 0) ||
|
||||
TryPath(__getenv(__envp, "_").s, 1)) {
|
||||
goto UseBuf;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue