From de0981f6110b80d42d54ddf065cf146fa38c998c Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Fri, 24 Mar 2006 11:05:46 +0000 Subject: disable the call to sync_pipe_errmsg_to_parent for now, if execv failed (so at least the *NIX versions compile again) svn path=/trunk/; revision=17719 --- capture_sync.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'capture_sync.c') diff --git a/capture_sync.c b/capture_sync.c index c7c3d451a2..b20ea619ae 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -440,9 +440,10 @@ sync_pipe_start(capture_options *capture_opts) { dup(sync_pipe[PIPE_WRITE]); eth_close(sync_pipe[PIPE_READ]); execv(exename, argv); - g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s", + /* XXX - find a way to send this message to the parent in a clean way */ + /*g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s", exename, strerror(errno)); - sync_pipe_errmsg_to_parent(errmsg, ""); + sync_pipe_errmsg_to_parent(errmsg, "");*/ /* Exit with "_exit()", so that we don't close the connection to the X server (and cause stuff buffered up by our parent but -- cgit v1.2.1