aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2004-03-11 03:19:40 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-03-11 03:19:40 +0800
commit2d6be28097648556a89647e063145d8b5a579d5b (patch)
tree7cdd2448a9528625ff0bb7de5be6b1227f655911
parentd335a3f167e54ab95d5fdfc887da6ff4393eaf32 (diff)
downloadgsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.tar
gsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.tar.gz
gsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.tar.bz2
gsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.tar.lz
gsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.tar.xz
gsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.tar.zst
gsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.zip
(pipe_to_sa_with_error): do not call close, camel_stream_close
should be enough to be sure the fd was closed svn path=/trunk/; revision=25010
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/em-junk-filter.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 20384c03b6..a20bfa444e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -2,6 +2,8 @@
* em-junk-filter.c (pipe_to_sa_with_error): call
camel_stream_close and close the fds[1]
+ (pipe_to_sa_with_error): do not call close, camel_stream_close
+ should be enough to be sure the fd was closed
2004-03-08 Jeffrey Stedfast <fejj@ximian.com>
diff --git a/mail/em-junk-filter.c b/mail/em-junk-filter.c
index a5d04e17ce..6123e7e3e2 100644
--- a/mail/em-junk-filter.c
+++ b/mail/em-junk-filter.c
@@ -174,7 +174,6 @@ pipe_to_sa_with_error (CamelMimeMessage *msg, const char *in, char **argv, int r
camel_write (fds[1], in, strlen (in));
}
- close (fds[1]);
result = waitpid (pid, &status, 0);
if (result == -1 && errno == EINTR) {