diff options
author | Radek Doulik <rodo@src.gnome.org> | 2004-03-11 03:19:40 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-03-11 03:19:40 +0800 |
commit | 2d6be28097648556a89647e063145d8b5a579d5b (patch) | |
tree | 7cdd2448a9528625ff0bb7de5be6b1227f655911 | |
parent | d335a3f167e54ab95d5fdfc887da6ff4393eaf32 (diff) | |
download | gsoc2013-evolution-2d6be28097648556a89647e063145d8b5a579d5b.tar.gz 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/ChangeLog | 2 | ||||
-rw-r--r-- | mail/em-junk-filter.c | 1 |
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) { |