In df1b2lp10.cpp around line 19 in function void test_smartlist::reset(void) change SEEK_CUR to SEEK_SET void test_smartlist::reset(void) { bptr=buffer; eof_flag=0; /*off_t pos=*/lseek(fp,0L,SEEK_SET); written_flag=0; end_saved=0; }