Path: utzoo!attcan!uunet!zephyr.ens.tek.com!orca.wv.tek.com!isis!leonard From: leonard@isis.WV.TEK.COM (Leonard Bottleman) Newsgroups: comp.sources.games.bugs Subject: yet another error in castle Keywords: castle, read_it, return value Message-ID: <6275@orca.wv.tek.com> Date: 27 Feb 90 17:41:50 GMT Sender: nobody@orca.wv.tek.com Reply-To: leonard@isis.WV.TEK.COM (Leonard Bottleman) Organization: Tektronix, Inc., Wilsonville, OR Lines: 6 References: The function "read_it" (files.c: 253) should return a positive value if the fopen or creat and fread are successful: currently it doesn't return anything. Simply add a return (1) after the call to fclose(fp), and the "-s" option will work. Leonard Bottleman leonard@isis.WV.TEK.COM