[GRASS-SVN] r62680 - grass/branches/releasebranch_7_0/lib/db/dbmi_client

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 9 06:40:56 PST 2014


Author: mmetz
Date: 2014-11-09 06:40:56 -0800 (Sun, 09 Nov 2014)
New Revision: 62680

Modified:
   grass/branches/releasebranch_7_0/lib/db/dbmi_client/start.c
Log:
dblib: no more db driver zombies in wingrass (fix #1579)

Modified: grass/branches/releasebranch_7_0/lib/db/dbmi_client/start.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/db/dbmi_client/start.c	2014-11-09 14:40:37 UTC (rev 62679)
+++ grass/branches/releasebranch_7_0/lib/db/dbmi_client/start.c	2014-11-09 14:40:56 UTC (rev 62680)
@@ -123,7 +123,7 @@
     /* run the driver as a child process and create pipes to its stdin, stdout */
 
 #ifdef __MINGW32__
-#define pipe(fds) _pipe(fds, 250000, _O_BINARY)
+#define pipe(fds) _pipe(fds, 250000, _O_BINARY | _O_NOINHERIT)
 #endif
 
     /* open the pipes */



More information about the grass-commit mailing list