--------------------------------------------------------------------------------
- fetchmail-6.4.0 (not yet released):
+fetchmail-6.5.0 (not yet released):
+
+## REMOVED FEATURES
+* fetchmail no longer supports using an MDA as SMTP fallback. This
+ is required to make deliveries consistent. The --enable-fallback configure
+ option is gone.
+
+## CHANGED REQUIREMENTS
+* fetchmail 6.5.0 is written in C99 and requires a SUSv3 (Single Unix
+ Specification v3, a superset of POSIX.1-2001 aka. IEEE Std 1003.1-2001 with
+ XSI extension) compliant system.
+
+ In particular, older fetchmail versions had workarounds or replacement code
+ for several functions standardized in the Single Unix Specification v3, these
+ have been removed.
+
+ The trio/ library has been removed from the distribution.
+ The libesmtp/getaddrinfo.? library has been removed from the distribution.
+ The KAME/getnameinfo.c file has been removed from the distribution.
+
+## BUG FIXES
+* fetchmail can now report mailbox sizes of 2^31 octets and beyond.
+ This requires C99 support (for the long long type).
+ Fixes Debian Bug#873668, reported by Andreas Schmidt.
+
+--------------------------------------------------------------------------------
+
+ fetchmail-6.4.0 (released 2019-09-27, 27429 LoC):
# NOTE THAT FETCHMAIL IS NO LONGER PUBLISHED THROUGH IBIBLIO.
* They have stopped accepting submissions and consider themselves an archive.
dnl
dnl XXX - if bumping version here, check fetchmail.man, too!
- AC_INIT([fetchmail],[6.5.0.dev201908],[fetchmail-users@lists.sourceforge.net])
-AC_INIT([fetchmail],[6.4.0],[fetchmail-users@lists.sourceforge.net])
++AC_INIT([fetchmail],[6.5.0.dev201909],[fetchmail-devel@lists.sourceforge.net])
AC_CONFIG_SRCDIR([fetchmail.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_LIBOBJ_DIR([.])
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include "fetchmail.h"
-#include "getaddrinfo.h"
#include "i18n.h"
-#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS) && defined(HAVE_STRFTIME)
+#if defined(ENABLE_NLS)
#include <locale.h>
#endif
+ #include <limits.h>
-#ifndef HAVE_DECL_GETENV
-extern char *getenv(const char *); /* needed on sysV68 R3V7.1. */
-#endif
-
void envquery(int argc, char **argv)
/* set up basic stuff from the environment (including the rc file name) */
{
(void) close(fds[0]);
return fds[1];
}
-#endif /* HAVE_SOCKETPAIR */
/** Set socket to SO_KEEPALIVE. \return 0 for success. */
- int SockKeepalive(int sock) {
+ static int SockKeepalive(int sock) {
int keepalive = 1;
return setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, &keepalive, sizeof keepalive);
}