diff options
author | Tor Lillqvist <tml@novell.com> | 2005-09-28 18:43:53 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-09-28 18:43:53 +0800 |
commit | 5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1 (patch) | |
tree | 7c444fc54728c11891ba821e3f402c7c8dd17687 | |
parent | 7670176dd23a4aee7875ea6c20f480d5f3c5a4e4 (diff) | |
download | gsoc2013-evolution-5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1.tar.gz gsoc2013-evolution-5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1.tar.zst gsoc2013-evolution-5fb5dab62e2929a0be7f58e5c659e9692a1b7ee1.zip |
Not implemented on Win32.
2005-09-28 Tor Lillqvist <tml@novell.com>
* mail-tools.c (mail_tool_do_movemail): Not implemented on Win32.
svn path=/trunk/; revision=30399
-rw-r--r-- | mail/ChangeLog | 2 | ||||
-rw-r--r-- | mail/mail-tools.c | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 8628b2deea..8082346153 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -10,6 +10,8 @@ * em-format-html-display.c: Define localtime_r() for Win32 using localtime() (which is thread-safe in Microsoft's C library). + * mail-tools.c (mail_tool_do_movemail): Not implemented on Win32. + 2005-09-28 Parthasarathi Susarla <sparthasarathi@novell.com> See bug ** 317329 diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 3a6eb1b109..245bc173cf 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -29,7 +29,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> -#include <pthread.h> #include <ctype.h> #include <errno.h> #include <string.h> @@ -129,6 +128,7 @@ mail_tool_get_local_movemail_path (const unsigned char *uri, CamelException *ex) char * mail_tool_do_movemail (const char *source_url, CamelException *ex) { +#ifndef G_OS_WIN32 char *dest_path; struct stat sb; CamelURL *uri; @@ -167,6 +167,13 @@ mail_tool_do_movemail (const char *source_url, CamelException *ex) } return dest_path; +#else + /* Unclear yet whether camel-movemail etc makes any sense on + * Win32, at least it is not ported yet. + */ + g_warning("%s: Not implemented", __FUNCTION__); + return NULL; +#endif } char * |