(0 == code) )
ret = 0;
else
- GNUNET_break (0 == GNUNET_OS_process_kill (p, SIGTERM));
+ GNUNET_break (0 == GNUNET_OS_process_kill (p, GNUNET_TERM_SIG));
GNUNET_OS_process_destroy (p);
}
rt = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
GNUNET_DISK_pipe_handle (sigpipe,
GNUNET_DISK_PIPE_END_READ),
- &maint_child_death, NULL);
+ &maint_child_death, NULL);
p = GNUNET_OS_start_process (GNUNET_NO, 0,
NULL, NULL,
program,
program,
- args[0],
+ args[0],
NULL);
GNUNET_free (program);
if (NULL == p)
GNUNET_SIGNAL_handler_uninstall (shc_chld);
shc_chld = NULL;
GNUNET_DISK_pipe_close (sigpipe);
- sigpipe = NULL;
+ sigpipe = NULL;
GNUNET_free ((void *) argv);
return (GNUNET_OK == ret) ? 0 : 1;
}