[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [3009] Fixed compiling problem with older versions of
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [3009] Fixed compiling problem with older versions of gcc. |
Date: |
Sun, 22 Feb 2009 18:52:28 +0000 |
Revision: 3009
http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=3009
Author: gscrivano
Date: 2009-02-22 18:52:27 +0000 (Sun, 22 Feb 2009)
Log Message:
-----------
Fixed compiling problem with older versions of gcc.
Modified Paths:
--------------
trunk/myserver/src/base/process/fork_server.cpp
Modified: trunk/myserver/src/base/process/fork_server.cpp
===================================================================
--- trunk/myserver/src/base/process/fork_server.cpp 2009-02-21 17:25:07 UTC
(rev 3008)
+++ trunk/myserver/src/base/process/fork_server.cpp 2009-02-22 18:52:27 UTC
(rev 3009)
@@ -214,8 +214,10 @@
spi.cmd.assign (exec);
spi.arg.assign (arg);
spi.cwd.assign (cwd);
- spi.handlesToClose = (FileHandle[]){serverSock->getFirstHandle (), NULL};
+ FileHandle handlesToClose[] = {serverSock->getFirstHandle (), 0};
+ spi.handlesToClose = handlesToClose;
+
Process pi;
int pid = pi.exec (&spi, false);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [3009] Fixed compiling problem with older versions of gcc.,
Giuseppe Scrivano <=