Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2017 21:42:24 -0800
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Ngie Cooper <ngie@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r313379 - head/lib/libc/tests/stdio
Message-ID:  <729410CF-7046-4F57-8EEC-8E5DC3CBE1C5@gmail.com>
In-Reply-To: <201702070539.v175d0eL088935@repo.freebsd.org>
References:  <201702070539.v175d0eL088935@repo.freebsd.org>

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

--Apple-Mail=_0B3F955B-5023-4955-98AF-3EE15B1A4636
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> On Feb 6, 2017, at 21:39, Ngie Cooper <ngie@FreeBSD.org> wrote:
>=20
> Author: ngie
> Date: Tue Feb  7 05:39:00 2017
> New Revision: 313379
> URL: https://svnweb.freebsd.org/changeset/base/313379
>=20
> Log:
>  Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in =
base type
>=20
>  The %t{d,u} (ptrdiff_t) tests fail for the following reasons:
>  - ptrdiff_t is by definition int32_t on !LP64 architectures and =
int64_t on
>    LP64 architectures.
>  - intmax_t is by definition fixed to int64_t on all architectures.
>  - Some of the code in lib/libc/stdio/... is promoting ptrdiff_t to =
*intmax_t
>    when parsing/representing the value.

For the sake of brevity, this fixes the test on arm/i386/mips.
Cheers,
-Ngie

--Apple-Mail=_0B3F955B-5023-4955-98AF-3EE15B1A4636
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJYmV5CAAoJEPWDqSZpMIYVLoIP/jn66wHKTqi/SO20OJlmUwwK
vxjV93lvfGTXxpOBcUnRX+sWD4gTv5rjrNjgsf5l6FcB8+YsqV/2WcTjq1y0h94O
/Y8KLzJn/BaCZOgbcjTZ6DqHt9bS50mv2kCLi48n0qjekj9nhXdewfaOux99LCP8
6w7KhY78ZLT1sML0Z4rk5T5Uam0Yei3v/lmse4TRzCFb5vhKIwZ50TVhBlgYi/59
22Uqm1lM1PCW+wGQrw4HWHHzp2xKRy9PZpPP4qWH8S8F7aSqLZLpPLYY9+hww6fP
4ilf9Pgh/ueHM3eof/vJ0FrJScCKfdRtUpx41QdALjlCAXIx/r/1Da2RzJHiDcqw
CU4/m3saqKEktvnTHKTzY/AbbkjWNvvrQcIZIWRICqyfF21ZfTp7r7EdOxFaWWR7
h+GfDRZvUhziLQJYZIi1T5z/rii5HseuYWVQKiPaQjIfzY6Rba5Pa3fJctepii9L
0RWWMAGwHHhm+XBnVP6v6cdHtPIZVQ0bb5mi9899RvSQeyrSZz3x61tCNo+jrDu5
9QIHZx5cAEfFgbtAZijfpd2lSN9Muh9T8ygY6wpPtAE0MLxHAVPqjJhDHVpQWVh9
W3mAkVegJs15hUIKVMLPbYbiMYm8oQBXGOqsl7JnLyjF8XmxfTRMjSGX21773ait
bK7WMz4s51bdKYy7Fsah
=UWwj
-----END PGP SIGNATURE-----

--Apple-Mail=_0B3F955B-5023-4955-98AF-3EE15B1A4636--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?729410CF-7046-4F57-8EEC-8E5DC3CBE1C5>