Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
cae797cf
Commit
cae797cf
authored
Jan 09, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/cesanta/mongoose
parents
0d885add
842231cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mongoose.c
mongoose.c
+3
-2
No files found.
mongoose.c
View file @
cae797cf
...
...
@@ -15,6 +15,7 @@
// Alternatively, you can license this library under a commercial
// license, as set out in <http://cesanta.com/products.html>.
#undef UNICODE // Use ANSI WinAPI functions
#undef _UNICODE // Use multibyte encoding on Windows
#define _MBCS // Use multibyte encoding on Windows
#define _INTEGRAL_MAX_BITS 64 // Enable _stati64() on Windows
...
...
@@ -696,10 +697,10 @@ static pid_t start_process(char *interp, const char *cmd, const char *env,
}
if
(
interp
!=
NULL
)
{
GetFullPathName
A
(
interp
,
sizeof
(
buf
),
buf
,
NULL
);
GetFullPathName
(
interp
,
sizeof
(
buf
),
buf
,
NULL
);
interp
=
buf
;
}
GetFullPathName
A
(
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment