Codebase list ciftilib / fresh-snapshots/upstream
Import upstream version 1.6.0+git20210322.1.a1da81c Debian Janitor 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
474474 void StrFileImpl::read(void* dataOut, const int64_t& count, int64_t* numRead)
475475 {
476476 if (m_file == NULL) throw CiftiException("read called on unopened StrFileImpl");//shouldn't happen
477 int64_t readret = fread(dataOut, 1, count, m_file);//expect fread to not have read size limitations comapred to memory
477 int64_t readret = fread(dataOut, 1, count, m_file);//expect fread to not have read size limitations compared to memory
478478 m_curPos += readret;//the item size is 1
479479 CiftiAssert(m_curPos == ftello(m_file));//double check it in debug, ftello is fast on linux at least
480480 if (numRead == NULL)