- Timestamp:
- 04/02/09 13:40:41 (16 years ago)
- Location:
- drsdaq
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
drsdaq/History.txt
r27 r28 11 11 1/4/2009 Changes many 'char *' to 'const char *' to honour compiler warning 12 12 on ihp-pc26 (newer version of g++ than on eth-vme02) 13 2/4/2009 Intoduced check for magic number in RawDataCTX.cc -
drsdaq/RawDataCTX.cc
r22 r28 39 39 if (fread(RHeader, sizeof(RunHeader), 1, Rawfile) != 1) { 40 40 if(!Silent) printf("Error: Could not read run header\n"); 41 fclose(Rawfile); 42 return CTX_RHEADER; 43 } 44 // Check magic number of run header 45 if (RHeader->MagicNum!=MAGICNUM_FILE_OPEN && RHeader->MagicNum!=MAGICNUM_FILE_CLOSED) { 46 if(!Silent) printf("Error: Magic number of run header incorrect\n"); 41 47 fclose(Rawfile); 42 48 return CTX_RHEADER;
Note:
See TracChangeset
for help on using the changeset viewer.