summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-21 17:12:42 +0000
committermidipix <writeonce@midipix.org>2017-12-22 05:18:57 -0500
commit15812f04c290bf84865678fd04e6beacc93fb6a6 (patch)
treeb4c081be7c72a78db6b3e87d1cb1a09324441d85 /src/process
parent2104cf1edacf8b53caeebc2337404a4b0b46e557 (diff)
downloadntapi-15812f04c290bf84865678fd04e6beacc93fb6a6.tar.bz2
ntapi-15812f04c290bf84865678fd04e6beacc93fb6a6.tar.xz
tt_array_copy_utf8(): properly implement the interp-optarg-script semantics.
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_spawn_native_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/ntapi_tt_spawn_native_process.c b/src/process/ntapi_tt_spawn_native_process.c
index a1712bb..580e645 100644
--- a/src/process/ntapi_tt_spawn_native_process.c
+++ b/src/process/ntapi_tt_spawn_native_process.c
@@ -165,9 +165,9 @@ int32_t __stdcall __ntapi_tt_spawn_native_process(nt_spawn_process_params * spar
&rdata->argc,
(const char **)sparams->argv,
(const char **)sparams->envp,
- sparams->script,
sparams->interp,
sparams->optarg,
+ sparams->script,
rtblock.addr,
rdata->buffer,
buflen,&written)))