aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-06 02:15:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-06 02:15:17 +0800
commit4df8998b86b5056b08d4ab622267304a3abc7ac0 (patch)
treeb30450351407d3c7ad396dd7989ac3130093bac0 /camel/camel-filter-driver.c
parent28d6afea597f3eaaa28915f6e9694814290adc8a (diff)
downloadgsoc2013-evolution-4df8998b86b5056b08d4ab622267304a3abc7ac0.tar
gsoc2013-evolution-4df8998b86b5056b08d4ab622267304a3abc7ac0.tar.gz
gsoc2013-evolution-4df8998b86b5056b08d4ab622267304a3abc7ac0.tar.bz2
gsoc2013-evolution-4df8998b86b5056b08d4ab622267304a3abc7ac0.tar.lz
gsoc2013-evolution-4df8998b86b5056b08d4ab622267304a3abc7ac0.tar.xz
gsoc2013-evolution-4df8998b86b5056b08d4ab622267304a3abc7ac0.tar.zst
gsoc2013-evolution-4df8998b86b5056b08d4ab622267304a3abc7ac0.zip
Properly set the O_NONBLOCK flag along with any previously set flags.
2003-12-05 Jeffrey Stedfast <fejj@ximian.com> * camel-gpg-context.c (gpg_ctx_op_start): Properly set the O_NONBLOCK flag along with any previously set flags. * camel-filter-search.c (run_command): Don't set O_NONBLOCK on the pipe (1. we don't need to, and 2. we should have been setting O_NONBLOCK|prev_flags but we weren't, and so the pipe got O_RDONLY|O_NONBLOCK even tho we wanted to write to it). * camel-filter-driver.c (pipe_to_system): Same. svn path=/trunk/; revision=23651
Diffstat (limited to 'camel/camel-filter-driver.c')
-rw-r--r--camel/camel-filter-driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c
index 75836dea67..1282188eb0 100644
--- a/camel/camel-filter-driver.c
+++ b/camel/camel-filter-driver.c
@@ -715,7 +715,6 @@ pipe_to_system (struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFil
/* parent process */
close (fds[0]);
- fcntl (fds[1], F_SETFL, O_NONBLOCK);
close (fds[3]);
stream = camel_stream_fs_new_with_fd (fds[1]);