Message255607
To answer part of my question, the reason the fseek()+fread() bug does not affect python 3.5.0 appears to be because it implements its own buffering and does not use fseek()/fread() at all.
Sigh, I really hope the answer does not end up being that I have to re-implement fseek()/ftell()/fread()/fwrite() using lseek()/read()/write() on windows. Or I could wait and hope Microsoft fixes the bug :)
As a first step, to confirm that the bug is in the CRT, I'll have the gzip module record all reads/seeks/tells and then see if I can reproduce the bug in a plain C program. |
|
Date |
User |
Action |
Args |
2015-11-30 04:32:51 | kovidgoyal | set | recipients:
+ kovidgoyal, paul.moore, tim.golden, r.david.murray, docs@python, zach.ware, steve.dower |
2015-11-30 04:32:51 | kovidgoyal | set | messageid: <1448857971.55.0.910346895751.issue25759@psf.upfronthosting.co.za> |
2015-11-30 04:32:51 | kovidgoyal | link | issue25759 messages |
2015-11-30 04:32:51 | kovidgoyal | create | |
|