Date: Sun, 4 Nov 2018 19:58:52 +0100 From: Mariusz Zaborski <oshogbo@freebsd.org> To: Michael Butler <imb@protected-networks.net> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: -current build failure after SVN r340130 Message-ID: <20181104185852.GB56945@x-wing> In-Reply-To: <9903596d-bc55-9551-fde7-0a0c428ecfc0@protected-networks.net> References: <9903596d-bc55-9551-fde7-0a0c428ecfc0@protected-networks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--QKdGvSO+nmPlgiQ/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Nov 04, 2018 at 01:50:31PM -0500, Michael Butler wrote:
> =3D=3D=3D> libexec/dma/dma-mbox-create (all)
> Building
> /usr/obj/usr/src/amd64.amd64/libexec/dma/dma-mbox-create/dma-mbox-create.o
> In file included from /usr/src/contrib/dma/dma-mbox-create.c:51:
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/capsicum_helpers.h:161:1:
> error: all paths through this function will call itself
> [-Werror,-Winfinite-recursion]
> {
> ^
> 1 error generated.
> *** [dma-mbox-create.o] Error code 1
>=20
> make[5]: stopped in /usr/src/libexec/dma/dma-mbox-create
>=20
> The broken function seems to call itself .. ??
>=20
> static __inline int
> caph_fcntls_limit(int fd, uint32_t fcntlrights)
> {
>=20
> if (caph_fcntls_limit(fd, fcntlrights) < 0 && errno !=3D ENOSYS)
> return (-1);
>=20
> return (0);
> }
Sorry, for that just fixed.
Thanks,
--=20
Mariusz Zaborski
oshogbo//vx | http://oshogbo.vexillium.org
FreeBSD committer | https://freebsd.org
Software developer | http://wheelsystems.com
If it's not broken, let's fix it till it is!!1
--QKdGvSO+nmPlgiQ/
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkD1x0xkJXVVY1Gwf38KEGuLGxWQFAlvfQWMACgkQ38KEGuLG
xWT5ow/9FFqroEVJxoqkqF+VY+sqf3vYnYv/ySQ+U2SmKwe8spExOhOdzNY+NrEP
1x1jDt05/Hv+vSs1s2UfuTvcFCDMK2TwnGgqjaKEu+zLPFTC2klgZnnBNdZSOzHu
UWsfsw7WHhuw6C5HXir1z05RW+rcqzqwNy7J7UEAhYvaK5l25AaduWtpBmJFfsvZ
9RClR1oJ/SNzvIjFXi+gUPf1IWuK5weMVz4cnlLRwsCxvuDgUEt77ZE1ECqLY7DR
LXWgnmG4xJnvf41wXtPuGdT8GUr/LFhE4rMSSCRJ/MTm2j17nI9AxAu135ShdNeO
YG30i783h+pMWwrnbjngiQa1O5qmS0rREsvftEvt8+/MRxn/GZvgg10taFg3mjja
vv6Q4Z5HTvSml2FXpn6NKH7WW33nZvUJBbsdV7mA+ppXZEpCgBinlaMa0QgI1qUo
ItvfhvTzr9ixZu8b0JuMT71e1wjZI7ljbGh7Ps9VlBN8rWQ3NqeYdybys42PazJT
Rb/80iWJ9A2RNIAqOpO+Xt74ZQ6aCRhU7mSnurbotAqhF+1Q0XtLp9G3X1+UmoDR
pefziGXMjdAxjXKXwvX/UyjCHesMcxZ4p9LFvQ5jTMpgiTSBzV8Yn5jWQ6MhxVWX
egm6wOe/5BqNEK33Cet54GO3z9ZZn5jiKo4jdllupqRQ6rwIlP8=
=mDK1
-----END PGP SIGNATURE-----
--QKdGvSO+nmPlgiQ/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181104185852.GB56945>
