mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-21 01:13:43 +08:00
GetFullPathNameA -> GetFullPathName
This commit is contained in:
parent
dc55a3ae40
commit
842231cc5c
@ -697,10 +697,10 @@ static pid_t start_process(char *interp, const char *cmd, const char *env,
|
||||
}
|
||||
|
||||
if (interp != NULL) {
|
||||
GetFullPathNameA(interp, sizeof(buf), buf, NULL);
|
||||
GetFullPathName(interp, sizeof(buf), buf, NULL);
|
||||
interp = buf;
|
||||
}
|
||||
GetFullPathNameA(dir, sizeof(full_dir), full_dir, NULL);
|
||||
GetFullPathName(dir, sizeof(full_dir), full_dir, NULL);
|
||||
mg_snprintf(cmdline, sizeof(cmdline), "%s%s\"%s\"",
|
||||
interp ? interp : "", interp ? " " : "", cmd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user