svn commit: r537006 - in head: mail/thunderbird mail/thunderbird/files www/firefox www/firefox-esr www/firefox-esr/files www/firefox/files
Tijl Coosemans
tijl at FreeBSD.org
Sat May 30 08:43:47 UTC 2020
On Fri, 29 May 2020 23:25:58 +0000 (UTC) Jan Beich <jbeich at 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)?
More information about the svn-ports-all
mailing list