The kind of bug I like to find

Simple, obvious bugs with a quick fix are always fun. In some old code, I found this:


fread(&type,4,1,pkginfo);
if (type == 'APPL') ....

Guess what happens on an Intel Mac?

Comments are closed.