[net.sources.bugs] bug in phantasia

wanner@ethz.UUCP (Juerg Wanner) (07/24/85)

There is a major bug in func2.c:

It turns up as soon as someone is becoming king and wants to do nasty things
to his fellowplayers. Remove line 153 in func2.c, the fclose(fp) isn't needed
there.

lines 151-156 read :

	if ((loc = findname(aline,&sbuf)) >= 0)
	    {
	    /* fclose(fp); */
	    if (sbuf.tampered)
		{
		mvaddstr(5,0,"That person has something pending already.\n");
-- 
 Juerg Wanner		Swiss Federal Institute of Technology, Computer Science	

 ..cernvax!ethz!wanner (UUCP)                       vlsi@czheth5a (BITNET/EARN)