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
a0e202d8
Commit
a0e202d8
authored
Aug 30, 2010
by
valenok
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed win32 build
parent
001889bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
main.c
main.c
+2
-0
mongoose.c
mongoose.c
+1
-1
dll.def
win32/dll.def
+2
-1
No files found.
main.c
View file @
a0e202d8
...
...
@@ -40,6 +40,8 @@
#ifdef _WIN32
#include <windows.h>
#include <winsvc.h>
#define PATH_MAX MAX_PATH
#define S_ISDIR(x) ((x) & _S_IFDIR)
#define DIRSEP '\\'
#define snprintf _snprintf
#if !defined(__LCC__)
...
...
mongoose.c
View file @
a0e202d8
...
...
@@ -1066,7 +1066,7 @@ static pid_t spawn_process(struct mg_connection *conn, const char *prog,
&
si
.
hStdOutput
,
0
,
TRUE
,
DUPLICATE_SAME_ACCESS
);
// If CGI file is a script, try to read the interpreter line
interp
=
conn
->
ctx
->
config
->
cgi_interpreter
;
interp
=
conn
->
ctx
->
config
[
CGI_INTERPRETER
]
;
if
(
interp
==
NULL
)
{
line
[
2
]
=
'\0'
;
(
void
)
mg_snprintf
(
conn
,
cmdline
,
sizeof
(
cmdline
),
"%s%c%s"
,
...
...
win32/dll.def
View file @
a0e202d8
...
...
@@ -7,8 +7,9 @@ EXPORTS
mg_printf
mg_get_header
mg_get_var
mg_get_qsvar
mg_get_cookie
mg_get_option
mg_get_valid_option_names
mg_version
mg_modify_passwords_file
mg_md5
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