[GRASS-SVN] r62679 - grass/trunk/lib/db/dbmi_client

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


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

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

Modified: grass/trunk/lib/db/dbmi_client/start.c
===================================================================
--- grass/trunk/lib/db/dbmi_client/start.c	2014-11-09 14:15:38 UTC (rev 62678)
+++ grass/trunk/lib/db/dbmi_client/start.c	2014-11-09 14:40:37 UTC (rev 62679)
@@ -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