Changeset 11560 for trunk/Mars/mbase
- Timestamp:
- 07/24/11 12:14:26 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/fits.h
r11557 r11560 27 27 #endif 28 28 29 #ifdef HAVE_ZLIB 29 30 #include "izstream.h" 31 #else 32 #include <fstream> 33 #define izstream ifstream 34 #warning Support for zipped FITS files disabled. 35 #endif 30 36 31 37 namespace std … … 385 391 fits(const string &fname) : izstream(fname.c_str()) 386 392 { 387 char simple[ 6];388 read(simple, 6);393 char simple[10]; 394 read(simple, 10); 389 395 if (!good()) 390 396 return; 391 397 392 if (memcmp(simple, "SIMPLE ", 6))398 if (memcmp(simple, "SIMPLE = ", 10)) 393 399 { 394 400 clear(rdstate()|ios::badbit);
Note:
See TracChangeset
for help on using the changeset viewer.