Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2015 20:07:57 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        Thierry Thomas <thierry@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r400131 - in head/sysutils/uniutils: . files
Message-ID:  <20151024180757.GE40371@ivaldir.etoilebsd.net>
In-Reply-To: <20151024172012.GA52037@FreeBSD.org>
References:  <201510241648.t9OGmnYG090145@repo.freebsd.org> <20151024172012.GA52037@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--kA1LkgxZ0NN7Mz3A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 24, 2015 at 05:20:12PM +0000, Alexey Dokuchaev wrote:
> On Sat, Oct 24, 2015 at 04:48:49PM +0000, Thierry Thomas wrote:
> > New Revision: 400131
> > URL: https://svnweb.freebsd.org/changeset/ports/400131
> >=20
> > Log:
> >   - Fix hard-coded endian assumption;
> > [...]
> >=20
> > ++[ $(( $(printf '\1' | od -dAn) )) -eq 1 ] && end=3Dle || end=3Dbe
>=20
> Nice trick! ;)
>=20
> ./danfe
>=20

Nice trick for sure, but not really cross building friendly :(

Bapt

--kA1LkgxZ0NN7Mz3A
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlYryP0ACgkQ8kTtMUmk6EyMIwCeNFtiBUyOcdhFymevTJ5Qv2xK
vnkAniLPQLvYns1zpaOsp6miKtt8i4TY
=pwoH
-----END PGP SIGNATURE-----

--kA1LkgxZ0NN7Mz3A--



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