From 4e9defba33ddd324eeb4ebf32d08b9de4333506d Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 5 Mar 2010 09:04:13 +0100 Subject: [PATCH] Disable some bits on win32 This makes e-d-s at least buildable waiting for a proper fix --- camel/providers/imapx/camel-imapx-server.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c index f3f06b2..577af9a 100644 --- a/camel/providers/imapx/camel-imapx-server.c +++ b/camel/providers/imapx/camel-imapx-server.c @@ -2348,6 +2348,7 @@ imapx_command_fetch_message_done(CamelIMAPXServer *is, CamelIMAPXCommand *ic) else camel_exception_xfer (job->ex, ic->ex); } else { +#ifndef G_OS_WIN32 CamelIMAPXFolder *ifolder = (CamelIMAPXFolder *) job->folder; if (stream) { @@ -2370,6 +2371,7 @@ imapx_command_fetch_message_done(CamelIMAPXServer *is, CamelIMAPXCommand *ic) camel_data_cache_remove (ifolder->cache, "tmp", job->u.get_message.uid, NULL); g_free (tmp); } +#endif /* G_OS_WIN32 */ } if (stream) @@ -2531,7 +2533,9 @@ imapx_command_append_message_done (CamelIMAPXServer *is, CamelIMAPXCommand *ic) mi->uid = camel_pstring_add (uid, TRUE); cur = camel_data_cache_get_filename (ifolder->cache, "cur", mi->uid, NULL); +#ifndef G_OS_WIN32 link (job->u.append_message.path, cur); +#endif /* G_OS_WIN32 */ /* should we update the message count ? */ camel_folder_summary_add (job->folder->summary, mi); -- 2.7.4