Definition at line 26 of file fitsHacker.cc.
References fixedEND, foundHDU, mode, reachedHeaderEnd, seekingHDU, and str.
32 fstream file(argv[1]);
40 bool reallyFixedEnd =
false;
52 if (
str.substr(0, 9) ==
"XTENSION=")
68 reallyFixedEnd =
true;
76 file.seekp(seeking-1);
94 if (seeking % 2880 != 0)
96 cout <<
"Error: header length not acceptable" << endl;
100 if (((seeking - endAddress)/80) > 35)
102 cout <<
"Error: too much header space after END keyword" << endl;