diff options
author | David Turner <digit@android.com> | 2011-07-15 14:46:26 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-08-04 13:15:47 +0200 |
commit | e0b2b39121ec537ff86e7cab045e11a397ed1aca (patch) | |
tree | 88dc7335f80e68fe93493dc7017a6e4211be4dfe /loader.c | |
parent | e6fffb54a71904ecd0a65f4e9616265326b1aad3 (diff) | |
download | external_qemu-e0b2b39121ec537ff86e7cab045e11a397ed1aca.zip external_qemu-e0b2b39121ec537ff86e7cab045e11a397ed1aca.tar.gz external_qemu-e0b2b39121ec537ff86e7cab045e11a397ed1aca.tar.bz2 |
Fix Windows space-in-path handling for 'emulator'.
This is a back-port from master to tools_r13
This modifies the 'emulator' launcher program to work
correctly on Windows when it is installed in a path that
contains spaces.
The program computed the path of the program to be launched
correctly, but it turns out that the problem is in the
implementation of execv() in either mingw or MSVCRT.DLL:
experimentation shows that one needs to quote argv[0] when
it contains spaces. However, you must *not* quote the first
argument to execv(), otherwise the call will fail.
Change-Id: Icf66426c88424f2f5d6274a25fc8530ca489f908
Orig-Change-Id: If291c5a8bd507f96b40634ecbc946ba38346ee4e
Diffstat (limited to 'loader.c')
0 files changed, 0 insertions, 0 deletions