On 20 Jan 2018 12:04, Lawrence D'Oliveiro wrote: > On Fri, 19 Jan 2018 17:12:00 -0500, Mike Frysinger wrote: > > there's also pdp endian, but that's probably never been tested > > anywhere, and fontconfig should just delete it. > > You mean the way 32-bit integers were arranged on the PDP-11? 16-bit > integers were little-endian, but for some reason for 32-bit, the high > word was put at the lower address. So the byte numbering, instead of > going 0-1-2-3 as per usual little-endian, was 2-3-0-1. > > Of course, this was purely a software convention, since the hardware > was entirely 16-bit. yes, that weirdness. for some reason "PDP_ENDIAN" checks still get copied & pasted into codebases. i think people look at a system header, see all three, then get excited about being super portable. we should torch it all with a flamethrower at this point. -mike
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig