Created attachment 3589 [details] Test case The ftok(3) implementation calls stat(2), but doesn't know if 64-bit file offsets have been requested so always uses the 32-bit version.
Fixed in a2cc7378449b37ecc56d6f24ad54a00aada8cfb9 Thanks!