dd6b494eb3
is really a long, to avoid problems on platforms where sizeof(int) != sizeof(long).
The stuff in here is based on patches supplied to me by Steven Schoch <schoch@sheba.arc.nasa.gov> to do DSS. I have since modified a them a little but a debt of gratitude is due for doing the initial work.