Message357521
The quickest fix for the data corruption problem is to delete the line
newfile.seek(file.tell(), 0)
from the rollover() method.
This doesn't fix the inconsistency of tell() and seek(), but it's very low risk. It's technically a change to the API, that rollover() no longer preserves the seek position, but unless the user was writing only characters from the ISO-8859-1 character set, it wasn't working properly before anyway. |
|
Date |
User |
Action |
Args |
2019-11-26 18:28:11 | James Hennessy | set | recipients:
+ James Hennessy, r.david.murray, methane, martin.panter, serhiy.storchaka, graham.coster |
2019-11-26 18:28:11 | James Hennessy | set | messageid: <1574792891.16.0.729587440926.issue26730@roundup.psfhosted.org> |
2019-11-26 18:28:11 | James Hennessy | link | issue26730 messages |
2019-11-26 18:28:10 | James Hennessy | create | |
|