IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#564 closed defect (fixed)

psFitsMoveEnd definition not technically possible in CFITSIO

Reported by: robert.desonia@… Owned by: eugene
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

psFitsMoveEnd is defined to move 'the pointer to the end of the file', but CFITSIO requires that the
current HDU pointer be on an existing HDU if one exists.

I've implemented it to move to the last HDU. This problem is related to and effects psFitsWriteImage,
which is covered in a separate bug report.

Change History (2)

comment:1 by robert.desonia@…, 21 years ago

Owner: changed from Paul Price to eugene

comment:2 by Paul Price, 21 years ago

Resolution: fixed
Status: newclosed

The function is renamed "psFitsMoveLast":

bool psFitsMoveLast(psFits *fits);

Moves the pointer to the last extension in the file.

Note: See TracTickets for help on using tickets.