Message244287
| Author |
martin.panter |
| Recipients |
Thomas Güttler, ethan.furman, guettli, lars.gustaebel, martin.panter |
| Date |
2015-05-28.08:20:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1432801206.79.0.940161072863.issue24259@psf.upfronthosting.co.za> |
| In-reply-to |
|
| Content |
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). |
|