Selaa lähdekoodia

dblib: no more db driver zombies in wingrass (fix https://trac.osgeo.org/grass/ticket/1579)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62680 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 vuotta sitten
vanhempi
commit
d7884c8298
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/db/dbmi_client/start.c

+ 1 - 1
lib/db/dbmi_client/start.c

@@ -123,7 +123,7 @@ dbDriver *db_start_driver(const char *name)
     /* 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 */