On Thu, 14 Dec 2017, Daniel Schemmel wrote: ... > >Description: > As per POSIX, a64l is required to sign-extend its result if the type > long - which the type of its result - has more than 32 bit. On amd64, > the type long is a signed 64 bit integer. ...
For those not on the opengroup mailing list, one the NetBSD developers has raised there the question list of whether the standard is actually self-consistent on this point. There are no uses of a64l() in the OpenBSD base or xenocara and, as of a bit over a year ago, there were no uses of it in ports, at least building on amd64, so there doesn't seem to be a need to fix this before the opengroup discussion is resolved. Philip Guenther
