we still need sync_pipe_errmsg_to_parent() for the *NIX build

svn path=/trunk/; revision=17260
This commit is contained in:
Ulf Lamping 2006-02-12 00:03:10 +00:00
parent 40632cc673
commit 2af7f6b948
1 changed files with 12 additions and 0 deletions

View File

@ -153,6 +153,18 @@ pipe_write_block(int pipe, char indicator, int len, const char *msg)
/*g_warning("write %d leave", pipe);*/
}
#ifndef _WIN32
void
sync_pipe_errmsg_to_parent(const char *errmsg)
{
g_log(LOG_DOMAIN_CAPTURE_CHILD, G_LOG_LEVEL_DEBUG, "sync_pipe_errmsg_to_parent: %s", errmsg);
pipe_write_block(1, SP_ERROR_MSG, strlen(errmsg)+1, errmsg);
}
#endif
#ifdef _WIN32
static void
signal_pipe_capquit_to_child(capture_options *capture_opts)