diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-03-24 11:05:46 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-03-24 11:05:46 +0000 |
commit | de0981f6110b80d42d54ddf065cf146fa38c998c (patch) | |
tree | da35a129f274909d7422eb304a112f39f9e6c0d6 /capture_sync.c | |
parent | 8d61e9b902b8c408a0f3a5051ec416f3ae3a174e (diff) | |
download | wireshark-de0981f6110b80d42d54ddf065cf146fa38c998c.tar.gz wireshark-de0981f6110b80d42d54ddf065cf146fa38c998c.tar.bz2 wireshark-de0981f6110b80d42d54ddf065cf146fa38c998c.zip |
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.c | 5 |
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 |