diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-11-14 10:44:47 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-11-14 10:44:55 +0100 |
| commit | a1573835dd4d0845ad534bda75008901187ae93a (patch) | |
| tree | 6165b65f3d355bf11041569c2e8ec1dbb2c4a515 /src/wrapped | |
| parent | 34355d6b0c537ccdfcfcdb30e8c3e6672a8ee72b (diff) | |
| download | box64-a1573835dd4d0845ad534bda75008901187ae93a.tar.gz box64-a1573835dd4d0845ad534bda75008901187ae93a.zip | |
Change ResolvePath behaviour in sync with box86
Diffstat (limited to 'src/wrapped')
| -rwxr-xr-x | src/wrapped/wrappedlibc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index 1d9ee570..91bc50b4 100755 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -1653,8 +1653,6 @@ EXPORT int32_t my_execvp(x64emu_t* emu, const char* path, char* const argv[]) { // need to use BOX64_PATH / PATH here... char* fullpath = ResolveFile(path, &my_context->box64_path); - if(!fullpath) - fullpath = strdup(path); // use fullpath... int self = isProcSelf(fullpath, "exe"); int x64 = FileIsX64ELF(fullpath); @@ -1705,8 +1703,6 @@ EXPORT int32_t my_execlp(x64emu_t* emu, const char* path) { // need to use BOX64_PATH / PATH here... char* fullpath = ResolveFile(path, &my_context->box64_path); - if(!fullpath) - fullpath = strdup(path); // use fullpath... int self = isProcSelf(fullpath, "exe"); int x64 = FileIsX64ELF(fullpath); |