Mon, 28 Jan 2013 17:37:18 +0100
Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.
1 --- ./crypt-gpgme.c.orig 2009-07-01 21:28:51.000000000 -0400
2 +++ ./crypt-gpgme.c 2009-07-01 21:31:52.000000000 -0400
3 @@ -342,6 +342,7 @@
4 gpgme_error_t err;
5 gpgme_ctx_t ctx;
7 + gpgme_check_version (NULL);
8 if (!GpgmeLocaleSet)
9 {
10 gpgme_set_locale (NULL, LC_CTYPE, setlocale (LC_CTYPE, NULL));
11 --- imap/message.c
12 +++ imap/message.c
13 @@ -288,7 +288,7 @@
14 continue;
15 }
16 /* May receive FLAGS updates in a separate untagged response (#2935) */
17 - if (idx < ctx->msgcount)
18 + if (ctx->hdrs[idx] != NULL)
19 {
20 dprint (2, (debugfile, "imap_read_headers: message %d is not new\n",
21 h.sid));
22 Index: configure
23 --- configure.orig 2010-08-25 18:31:47.000000000 +0200
24 +++ configure 2011-01-23 12:26:36.000000000 +0100
25 @@ -9723,7 +9723,7 @@
26 fi
28 saved_LIBS="$LIBS"
29 - LIBS=
30 + #LIBS=
32 # OpenSolaris provides a SASL2 interface in libsasl
33 sasl_libs="sasl2 sasl"