> On Feb 6, 2017, at 21:39, Ngie Cooper <n...@freebsd.org> wrote: > > Author: ngie > Date: Tue Feb 7 05:39:00 2017 > New Revision: 313379 > URL: https://svnweb.freebsd.org/changeset/base/313379 > > Log: > Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in base > type > > 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
signature.asc
Description: Message signed with OpenPGP using GPGMail