In pp_pack.c, refactor DO_BO_(UN)?PACK to use my_letohn etc
authorNicholas Clark <nick@ccl4.org>
Mon, 6 May 2013 14:54:12 +0000 (16:54 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 20 May 2013 19:19:43 +0000 (21:19 +0200)
commit68a0946fb4222dd6bcf5c2881bf6cd64c2c2e5ef
tree549204df66d5ac5f8e7fb2180a8ae06d351c98e0
parent86c6fce076648c5abe5ab491fec9d3142d93bde1
In pp_pack.c, refactor DO_BO_(UN)?PACK to use my_letohn etc

Previously they were using a my_letoh* function for the appropriate size.

This commit probably breaks fixed 16 and 32 bit templates on big endian
Crays where sizeof(short) and sizeof(int) are 8. A future commit will
restore support. (Although it's not clear whether such Crays can still
build blead cleanly, as we've not had any feedback since Boeing
decommissioned their Cray.)
pp_pack.c