Note that we can't use a child setup routine in g_spawn routines.

They don't work on Windows, and we support Windows, so....

Change-Id: Icdbdfcfd930ae13aba6d8fb018d7e2af55b76fa1
Reviewed-on: https://code.wireshark.org/review/18943
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-11-23 18:25:53 -08:00
parent 7dbe9b4987
commit 19b6062ffd
1 changed files with 1 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ static void snort_start(void)
(char **)argv,
NULL, /* envp */
(GSpawnFlags)( G_SPAWN_DO_NOT_REAP_CHILD), /* Leave out G_SPAWN_SEARCH_PATH */
NULL, /* child setup - not currently doing anything.. */
NULL, /* child setup - not supported in Windows, so we can't use it */
NULL, /* user-data */
&current_session.pid, /* PID */
&current_session.in, /* stdin */