Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site spock.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!yale!spock!xman From: xman@spock.UUCP (Bharat Mediratta '87 cc) Newsgroups: net.sources,net.sources.games Subject: Galaxy(6) BUGFIX for Vax Unix 4.2 Message-ID: <371@spock.UUCP> Date: Fri, 2-May-86 12:33:05 EDT Article-I.D.: spock.371 Posted: Fri May 2 12:33:05 1986 Date-Received: Sun, 4-May-86 04:48:38 EDT Organization: Choate Rosemary Hall, Wallingford, CT. Lines: 43 Keywords: Core dump, Kid's stuff Xref: watmath net.sources:4885 net.sources.games:543 [Come get me, line ea- If you are getting a core dump after "Response..." on Galaxy, use this bugfix. Replace lines 95 - 101 (cerca) outlined by OLD with NEW. ---------------- OLD ------------------- OLD -------------- if (namefile == NULL) { say ("I think you have the wrong name, sir. Try \"help\"."); } while (fgets (nwcm, 200, namefile) != NULL) print ("%s\r", nwcm); (void) fclose (namefile); ----------------------------------------------------- ------------- NEW ------------- NEW -------------- NEW ------ if (namefile == NULL) { say ("I think you have the wrong name, sir. Try \"help\"."); } else { /* -- spock!xman */ while (fgets (nwcm, 200, namefile) != NULL) print ("%s\r", nwcm); (void) fclose (namefile); } -------------------------------------------------------------- _____ 'When the going gets weird, the weird turn pro.' - H. Johnson _____ Tegan: "Doctor, the odds against our success were..." Doctor: "Don't tell me the odds!" Tegan: "...2,123,231 to 1 against." Doctor: "What a coincidence! That's my lucky number!" X-man ...decvax!yale!spock!xman