Changeset 2333
- Timestamp:
- 10/06/11 13:18:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/asap-4.0.0/src/FillerWrapper.h
r2289 r2333 92 92 ret = pks ; 93 93 else if ( file.isReadable() ) { 94 // if we want to compare to 6 characters we should only read in 6 94 95 FILE *f = fopen( filename.c_str(), "r") ; 95 char buf[8] ; 96 fread( buf, 6, 1, f ) ; 96 char buf[7] ; 97 size_t tmp = fread( buf, 6, 1, f ) ; 98 (void *)tmp; 97 99 fclose( f ) ; 98 buf[ 7]='\0' ;100 buf[6]='\0' ; 99 101 // NRO data has two types: 100 102 // 1) specific binary data for OTF observation
Note:
See TracChangeset
for help on using the changeset viewer.