xman@spock.UUCP (Bharat Mediratta '87 cc) (05/02/86)
[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