From 812dc4b8021f1acde97927648692d880ca79b8f0 Mon Sep 17 00:00:00 2001 From: serassio <> Date: Mon, 4 Sep 2006 01:28:10 +0000 Subject: [PATCH] Windows port: merged Windows native IPC support --- src/ipc.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ipc.cc b/src/ipc.cc index 87dcec4589..5e921a957d 100644 --- a/src/ipc.cc +++ b/src/ipc.cc @@ -1,6 +1,6 @@ /* - * $Id: ipc.cc,v 1.43 2006/09/03 17:19:34 serassio Exp $ + * $Id: ipc.cc,v 1.44 2006/09/03 19:28:10 serassio Exp $ * * DEBUG: section 54 Interprocess Communication * AUTHOR: Duane Wessels @@ -73,8 +73,8 @@ PutEnvironment() #endif } -int -ipcCreate(int type, const char *prog, const char *const args[], const char *name, int *rfd, int *wfd) +pid_t +ipcCreate(int type, const char *prog, const char *const args[], const char *name, int *rfd, int *wfd, void **hIpc) { pid_t pid; @@ -101,6 +101,9 @@ ipcCreate(int type, const char *prog, const char *const args[], const char *name if (wfd) *wfd = -1; + if (hIpc) + *hIpc = NULL; + if (type == IPC_TCP_SOCKET) { crfd = cwfd = comm_open(SOCK_STREAM, 0, -- 2.47.3