Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2020 10:43:42 +0200
From:      =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r537006 - in head: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files
Message-ID:  <20200530104342.566ed83c@FreeBSD.org>
In-Reply-To: <202005292325.04TNPwTt045740@repo.freebsd.org>
References:  <202005292325.04TNPwTt045740@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 May 2020 23:25:58 +0000 (UTC) Jan Beich <jbeich@FreeBSD.org>
wrote:
> Author: jbeich
> Date: Fri May 29 23:25:58 2020
> New Revision: 537006
> URL: https://svnweb.freebsd.org/changeset/ports/537006
> 
> Log:
>   www/firefox: also check posix_fallocate error in WaylandShmPool::Resize
>   
>   PR:		240884
>   Submitted by:	Greg V
> 
> Modified:
>   head/mail/thunderbird/Makefile   (contents, props changed)
>   head/mail/thunderbird/files/patch-bug1618914   (contents, props changed)
>   head/www/firefox-esr/Makefile   (contents, props changed)
>   head/www/firefox-esr/files/patch-bug1618914   (contents, props changed)
>   head/www/firefox/Makefile   (contents, props changed)
>   head/www/firefox/files/patch-bug1618914   (contents, props changed)
> 
> Modified: head/mail/thunderbird/Makefile
> ==============================================================================
> --- head/mail/thunderbird/Makefile	Fri May 29 22:44:43 2020	(r537005)
> +++ head/mail/thunderbird/Makefile	Fri May 29 23:25:58 2020	(r537006)
> @@ -3,6 +3,7 @@
>  
>  PORTNAME=	thunderbird
>  DISTVERSION=	68.8.1
> +PORTREVISION=	1
>  CATEGORIES=	mail news net-im
>  MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
>  		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
> 
> Modified: head/mail/thunderbird/files/patch-bug1618914
> ==============================================================================
> --- head/mail/thunderbird/files/patch-bug1618914	Fri May 29 22:44:43 2020	(r537005)
> +++ head/mail/thunderbird/files/patch-bug1618914	Fri May 29 23:25:58 2020	(r537006)
> @@ -32,3 +32,12 @@ index 9a73326399bd5..9e42a7f1c5d18 100644
>   
>     return fd;
>   }
> +@@ -265,7 +266,7 @@ bool WaylandShmPool::Resize(int aSize) {
> +   do {
> +     errno = posix_fallocate(mShmPoolFd, 0, aSize);
> +   } while (errno == EINTR);
> +-  if (errno != 0) return false;
> ++  if (errno != EINVAL && errno != EOPNOTSUPP) return false;

Shouldn't that be (errno != 0 && errno != EINVAL && errno != EOPNOTSUPP)?



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