[Gpg4win-devel] [PATCH] Fix IMAP and SSL in Claws Mail

Colin Leroy colin at colino.net
Fri Sep 19 12:40:29 CEST 2008


Hello,

I've been able to test and solve the IMAP and SSL issues in Claws Mail. 

Here are the two patches. 

claws-mail-win32.patch solves the bug with IMAP: 

- manager_ack() was trying to read from the pipe fd with was connected
  to a GIOChannel; this isn't possible according to:
  http://osdir.com/ml/video.gimp.windows.devel/2002-05/msg00020.html

- g_io_channel_unix_new() is dangerous on Windows, using everything as
  if it were a file descriptor (see GLib documentation). I changed these
  to g_io_channel_win32_new_{fd,socket} according to the type of
  descriptor.

gpg4win.libetpan-gnutls.patch enables GnuTLS compilation in libetpan,
which is needed for IMAP over SSL or TLS.

Hope this helps!
-- 
Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: claws-mail-win32.patch
Type: text/x-patch
Size: 5741 bytes
Desc: not available
Url : http://lists.wald.intevation.org/pipermail/gpg4win-devel/attachments/20080919/f2fe8316/claws-mail-win32.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpg4win.libetpan-gnutls.patch
Type: text/x-patch
Size: 429 bytes
Desc: not available
Url : http://lists.wald.intevation.org/pipermail/gpg4win-devel/attachments/20080919/f2fe8316/gpg4win.libetpan-gnutls.bin


More information about the Gpg4win-devel mailing list