646a5b3c4a
Updated: 14 June 2007 imap-2006j is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. Updated: 5 June 2007 imap-2006i is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. imapd now supports the CHILDREN and ESEARCH extensions. imapd's attempt to return COPYUID/APPENDUID information for a traditional UNIX (and MMDF) format mailbox when the mailbox is open by another process has been declared to be a failure and is now revoked. It was subject to a timing race, loss of which involved an expensive reset of the mailbox's UID regime. Any imapd COPY or APPEND to a traditional UNIX or MMDF format that is open by some other process will now no longer return COPYUID/APPEND. Although this is technically in violation of RFC 4315, there is a loophole in that document and the timing race/performance problem is worse. Updated: 4 April 2007 imap-2006h is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. Updated: 30 March 2007 imap-2006g is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. Updated: 30 January 2007 imap-2006f is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. For the benefit of multi-threaded applications, use of strtok() has been abolished in the c-client library. imapd and ipop3d stuff use it though. The TOPS-20 and VAX/VMS ports still use strtok() since they don't use UNIX threads. This version has been test-built on Linux, Mac OS X, NeXT, Windows XP, TOPS-20, and VAX/VMS. This will probably be the last test-build on VAX/VMS since the system I use for that purpose is being shut down. I have no way to test-build on DOS, legacy Mac OS (OS 9 and earlier), OS/2, or Windows CE; and the builds on those systems are probably broken. Updated: 26 January 2007 imap-2006e is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. Updated: 6 December 2006 imap-2006d is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. The decomposition mapping, title-case mapping, and character widths tables have been updated to comply with the Unicode 5.0 standard. Prototypes for the utf8aux.c functions have been moved to a new utf8aux.h. The general c-client modules now include c-client.h instead of the individual files. Use of c-client.h instead of individual include files insulates against future shuffling of include files. Updated: 23 October 2006 imap-2006c is a maintenance release, consisting primarily of bugfixes to problems discovered in the release that affected a small number of users. By popular request, if a user has a mix (or other dual-use) format INBOX, it will no longer be listed as \NoInferiors. It's a bad idea to depend upon this due to the case ambiguity issue, but it's there. Updated: 26 September 2006 imap-2006b is a maintenance release, consisting entirely of bugfixes to problems discovered in the release that affected a small number of users. Updated: 15 September 2006 imap-2006a is a maintenance release, consisting entirely of bugfixes to problems discovered in the release that affected a small number of users. If it is necessary to build IPv4-only on one of the ports that has IPv6 preconfigured (ldb, lfd, lmd, lrh, lsu, osx, oxp), this can be done by using IP6=4. You can't do IP=4 in the build command directly since these ports set IP themselves; however, now instead of setting IP=6 they now set IP=$(IP6). Updated: 30 August 2006 imap-2006 is a major release. Programs written for imap-2004g should build with this version with minor or no modification. imap-2005 was not released except as development snapshots. imap-2006 contains major extensions to its Unicode support. Searching and sorting are now done with strings canonicalized to titlecase and decomposed form. Among other things, this means that Latin letters with diacriticals will now sort with the basic Latin letter, and case-independent searching of such letters (e.g., German umlauts) now works. Previously, sorting was done strictly by Unicode codepoint, and case-independence only worked with ASCII. imapd now supports the UIDPLUS extension for mailboxes in unix, mmdf, mbx, mx, and mix formats. UID EXPUNGE is fully implemented. Note that UIDPLUS is not supported in the little-used drivers (mh, mtx, tenex) in which meaningful APPENDUID/COPYUID data can not be returned. Refer to bugs.txt for more details. The new mix format is a dual-use mailbox format designed for performance and reliability with large mailboxes. mix is documented in file mixfmt.txt. SSL/TLS certificate validation on UNIX now checks the alternative names in the certificate if the CN does not match. The new /tls-sslv23 flag in a mailbox name causes a TLS session to use the (incorrect) SSLv23 client method instead of the TLSv1 client method. Some broken servers use the SSLv23 server method, and this flag works around that problem. WARNING: use of this flag will cause TLS negotiation to fail with a server which uses the proper TLSv1 server method. Additionally, there are known security risks in SSLv2; so users should be suspicious if this switch suddenly becomes necesary. The silly mailbox flag combination /ssl/tls is now rejected as an invalid remote specification. Previous versions tried to negotiate TLS over an SSL session; even if the server permitted such a thing it couldn't work. The memory management of several drivers has been redesigned to consume less memory and hopefully be faster. The private.data member of the MESSAGECACHE (elt) has been replaced with a union that contains private.spare.data and private.spare.ptr, the latter being a pointer. A new FT_RETURNSTRINGSTRUCT flag has been added for mail_fetch_body() and mail_fetch_text() calls. If this flag is set, *and* if the function returns NIL, then the requested string data is available on a stringstruct on stream->private.string. This is a special hack for the IMAP and POP servers and is subject to incompatible change. The result is a major performance improvement in the servers with the mbx driver, particularly with large messages.
12 lines
323 B
Text
12 lines
323 B
Text
$NetBSD: patch-aq,v 1.2 2007/08/03 17:03:31 obache Exp $
|
|
|
|
--- src/osdep/unix/mbx.c.orig 2007-06-22 18:53:18.000000000 +0000
|
|
+++ src/osdep/unix/mbx.c
|
|
@@ -37,7 +37,6 @@
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <errno.h>
|
|
-extern int errno; /* just in case */
|
|
#include "mail.h"
|
|
#include "osdep.h"
|
|
#include <pwd.h>
|