Message244287
If you are already seeking in the file, can’t you seek to the end to determine the length of the file, and then use that to verify if a data segment is truncated? And if you can’t seek, I guess you have to read all the bytes anyway.
I guess Ethan’s test was an instance of case #4 (EOF directly after data block). |
|
Date |
User |
Action |
Args |
2015-05-28 08:20:06 | martin.panter | set | recipients:
+ martin.panter, guettli, lars.gustaebel, ethan.furman, Thomas Güttler |
2015-05-28 08:20:06 | martin.panter | set | messageid: <1432801206.79.0.940161072863.issue24259@psf.upfronthosting.co.za> |
2015-05-28 08:20:06 | martin.panter | link | issue24259 messages |
2015-05-28 08:20:06 | martin.panter | create | |
|