aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-10 00:59:59 +0800
committerDan Winship <danw@src.gnome.org>2000-05-10 00:59:59 +0800
commite7996a7ab1879d9602cb03824b9bcfda9a92f43f (patch)
tree9361fda4ab6f26011f003e293b9ca0a35faa8d75
parentf086f0b95d4591146763e408480845402789c6bf (diff)
downloadgsoc2013-evolution-e7996a7ab1879d9602cb03824b9bcfda9a92f43f.tar
gsoc2013-evolution-e7996a7ab1879d9602cb03824b9bcfda9a92f43f.tar.gz
gsoc2013-evolution-e7996a7ab1879d9602cb03824b9bcfda9a92f43f.tar.bz2
gsoc2013-evolution-e7996a7ab1879d9602cb03824b9bcfda9a92f43f.tar.lz
gsoc2013-evolution-e7996a7ab1879d9602cb03824b9bcfda9a92f43f.tar.xz
gsoc2013-evolution-e7996a7ab1879d9602cb03824b9bcfda9a92f43f.tar.zst
gsoc2013-evolution-e7996a7ab1879d9602cb03824b9bcfda9a92f43f.zip
Bleah. Can't fsync a pipe. As a quick kludge, just don't stream_flush it.
* providers/sendmail/camel-sendmail-transport.c (_send_internal): Bleah. Can't fsync a pipe. As a quick kludge, just don't stream_flush it. The right fix will require bringing back stream_close though. svn path=/trunk/; revision=2950
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/sendmail/camel-sendmail-transport.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 386b32f62e..ed7a859dfe 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,10 @@
+2000-05-09 Dan Winship <danw@helixcode.com>
+
+ * providers/sendmail/camel-sendmail-transport.c (_send_internal):
+ Bleah. Can't fsync a pipe. As a quick kludge, just don't
+ stream_flush it. The right fix will require bringing back
+ stream_close though.
+
2000-05-09 Jeffrey Stedfast <fejj@stampede.org>
* camel-internet-address.[c,h]: Undid my changes (moved
struct _address back into came-internet-address.c)
diff --git a/camel/providers/sendmail/camel-sendmail-transport.c b/camel/providers/sendmail/camel-sendmail-transport.c
index 1352d652a7..a5eeff1a25 100644
--- a/camel/providers/sendmail/camel-sendmail-transport.c
+++ b/camel/providers/sendmail/camel-sendmail-transport.c
@@ -141,8 +141,6 @@ _send_internal (CamelMedium *message, char **argv, CamelException *ex)
out = camel_stream_fs_new_with_fd (fd[1]);
camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (message),
out, ex);
- if (!camel_exception_is_set (ex))
- camel_stream_flush (out, ex);
gtk_object_unref (GTK_OBJECT (out));
if (camel_exception_is_set (ex)) {
camel_exception_setv (ex, camel_exception_get_id (ex),