incorrect use of fread in mpq.cpp
timfel opened this issue · 2 comments
timfel commented
In the latest branch of stargus Jan. 10, 2012, mpq.cpp uses fread incorrectly. It returns the number of objects read, not the number of bytes read. A patch that fixes this problem is attached.
Imported from Launchpad using lp2gh.
- date created: 2012-01-11T02:28:35Z
- owner: emtneutrino
- assignee: pali
- the launchpad url was https://bugs.launchpad.net/bugs/914555
timfel commented
(by emtneutrino)
timfel commented
(by pali)
I commited similar patch: http://bazaar.launchpad.net/~stratagus/stargus/trunk/revision/285