Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2019 19:22:10 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506487 - in head/mail/dovecot: . files
Message-ID:  <201907121922.x6CJMAa4064950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ler
Date: Fri Jul 12 19:22:09 2019
New Revision: 506487
URL: https://svnweb.freebsd.org/changeset/ports/506487

Log:
  mail/dovecot: stop spamming the log with EINVAL.
  
  PR:		239172
  Submitted by:	zillion1@o2.pl
  Obtained from:	dovecot mailing list.

Added:
  head/mail/dovecot/files/patch-src_lib_ostream-file.c   (contents, props changed)
Modified:
  head/mail/dovecot/Makefile

Modified: head/mail/dovecot/Makefile
==============================================================================
--- head/mail/dovecot/Makefile	Fri Jul 12 17:31:57 2019	(r506486)
+++ head/mail/dovecot/Makefile	Fri Jul 12 19:22:09 2019	(r506487)
@@ -8,6 +8,7 @@
 
 PORTNAME=	dovecot
 PORTVERSION=	2.3.7
+PORTREVISION=	1
 CATEGORIES=	mail ipv6
 MASTER_SITES=	https://dovecot.org/releases/2.3/
 

Added: head/mail/dovecot/files/patch-src_lib_ostream-file.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/dovecot/files/patch-src_lib_ostream-file.c	Fri Jul 12 19:22:09 2019	(r506487)
@@ -0,0 +1,11 @@
+--- src/lib/ostream-file.c.orig	2019-07-12 19:18:41 UTC
++++ src/lib/ostream-file.c
+@@ -334,7 +334,7 @@ static void o_stream_tcp_flush_via_nodelay(struct file
+ {
+ 	if (net_set_tcp_nodelay(fstream->fd, TRUE) < 0) {
+ 		if (errno != ENOTSUP && errno != ENOTSOCK &&
+-		    errno != ENOPROTOOPT) {
++		    errno != ENOPROTOOPT && errno != EINVAL) {
+ 			i_error("file_ostream.net_set_tcp_nodelay(%s, TRUE) failed: %m",
+ 				o_stream_get_name(&fstream->ostream.ostream));
+ 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907121922.x6CJMAa4064950>