- Timestamp:
- Jul 11, 2000, 2:39:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppersist.cc
r871 r1063 432 432 433 433 // Find tag entries at end of file 434 #if !defined(Linux) 434 435 s->seekg(-(sizeof(int_8)+1), ios::end); 436 #else 437 // There seems to be a bug where seekg with ios::end under Linux 438 // So, we use seek with ios::beg 439 s->seekg(0, ios::end); 440 int_8 tagpos = s->tellg() - (sizeof(int_8)+1); 441 s->seekg(tagpos, ios::beg); 442 #endif 443 435 444 GetTypeTag(ppstype); 436 445 if (ppstype != PPS_EOF)
Note:
See TracChangeset
for help on using the changeset viewer.