http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc1a9f1
)
secur32: Check for lack of fork() support.
author
Alexandre Julliard
<julliard@winehq.org>
Mon, 22 Dec 2008 17:04:39 +0000
(18:04 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 22 Dec 2008 17:04:39 +0000
(18:04 +0100)
dlls/secur32/dispatcher.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/secur32/dispatcher.c
b/dlls/secur32/dispatcher.c
index 5707e6a2546e2e86a94156c422ea2cfc98a7206d..91f425ca1f9a52c89a93893e1aacbab90af6fd86 100644
(file)
--- a/
dlls/secur32/dispatcher.c
+++ b/
dlls/secur32/dispatcher.c
@@
-44,6
+44,7
@@
WINE_DEFAULT_DEBUG_CHANNEL(ntlm);
SECURITY_STATUS fork_helper(PNegoHelper *new_helper, const char *prog,
char* const argv[])
{
+#ifdef HAVE_FORK
int pipe_in[2];
int pipe_out[2];
int i;
@@
-132,6
+133,10
@@
SECURITY_STATUS fork_helper(PNegoHelper *new_helper, const char *prog,
}
return SEC_E_OK;
+#else
+ ERR( "no fork support on this platform\n" );
+ return SEC_E_INTERNAL_ERROR;
+#endif
}
static SECURITY_STATUS read_line(PNegoHelper helper, int *offset_len)