merces/pev — pull request #34 by jweyrich (2012-11-04 21:48:55+00:00)
Title: v0.60 fixes

Note there's another possible "error" in `pesteg.c`. I added a comment rather than actually fixing it. Let me know what do you think, so I can update this PR with the proper fix before you merge these changes.

Here `buff` is a pointer, and `sizeof` will not return the allocated size, but the pointer size instead.

201 - fread(buff, sizeof(buff), 1, datafile);
202 + fread(buff, sizeof(buff), 1, datafile); // TODO: misleading sizeof? sizeof(pointer_type) == 4, or 8.