Bug#397619: libcfitsio2: wrong byteswap on arm and mipsel architectures

2006-11-13 Thread William Pence
The suggested revisions to the cfitsio2.h file will be included in the next release of CFITSIO in December. A beta pre-release version is available on the CFITSIO web page at http://heasarc.gsfc.nasa.gov/fitsio/ if anyone wants to test it (I do not have access to a MIPS or ARM machine, so I ha

Bug#397619: libcfitsio2: wrong byteswap on arm and mipsel architectures

2006-11-10 Thread Faidon Liambotis
It turns that my cfitsio2.diff was broken on MIPS. The attached one is a new revision which is compile and runtime tested on a MIPSEL machine (vaughan). I'm not going to test this on MIPS B-E or ARM because it's trivial enough that doesn't warrant the trouble of installing the build-dependencies on

Bug#397619: libcfitsio2: wrong byteswap on arm and mipsel architectures

2006-11-10 Thread Faidon Liambotis
Attached are two separate patches: one for cfitsio 2.510-1 and one for cfitsio3 3.006-1.1. The previous approach that was applied to cfitsio3 (and only that) had two problems; the first one, regarding MIPSEL, was that it was handled in an "elif" case, while MIPS was already handled in a previous co