ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/changes.txt
Version 2.501 - 2 December 2004
New Routines:
- added fits_open_diskfile and fits_create_diskfile routines that simply
open or create a FITS file with a specified name. CFITSIO does not
try to parse the name using the extended filename syntax.
- 2 new C functions, CFITS2Unit and CUnit2FITS, were added to convert
between the C fitsfile pointer value and the Fortran unit number.
These functions may be useful in mixed language C and Fortran programs.
Enhancements:
- added the ability to recognize and open a compressed FITS file
(compressed with gzip or unix compress) on the stdin standard input
stream.
- Craig Markwardt (GSFC) provided 2 more lexical parser functions:
accum(x) and seqdiff(x) that compute the cummulative sum and the
sequential difference of the values of x.
- modified putcole.c and putcold.c so that when writing arrays of
pixels to the FITS image or column that contain null values, and
there are also numerical overflows when converting some of the
non-null values to the FITS values, CFITSIO will now ignore the
overflow error until after all the data have been written. Previously,
in some circumstances CFITSIO would have simply stopped writing any
data after the first overflow error.
- modified fitsio2.h to try to eliminate compiler warning messages
on some platforms about the use of 'long long' constants when
defining the value of LONGLONG_MAX (whether to use L or LL
suffix).
- modified region.c to support 'physical' regions in addition to
'image', 'fk4', etc.
- modified ffiurl (input filename parsing routine) to increase the
maximum allowed extension number that can be specified from 9999
to 99999 (e.g. 'myfile.fits+99999')
Bug Fixes:
- added check to fits_create_template to force it to start with
the primary array in the template file, in case an extension
number was specified as part of the template FITS file name.