aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-03-24 11:05:46 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-03-24 11:05:46 +0000
commitde0981f6110b80d42d54ddf065cf146fa38c998c (patch)
treeda35a129f274909d7422eb304a112f39f9e6c0d6 /capture_sync.c
parent8d61e9b902b8c408a0f3a5051ec416f3ae3a174e (diff)
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
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c5
1 files changed, 3 insertions, 2 deletions
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