Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!jonab From: jonab@sdcrdcf.UUCP (Jonathan Biggar) Newsgroups: net.sources.bugs Subject: Rn bug patch #7 (REPOSTED) Message-ID: <1471@sdcrdcf.UUCP> Date: Fri, 16-Nov-84 18:57:48 EST Article-I.D.: sdcrdcf.1471 Posted: Fri Nov 16 18:57:48 1984 Date-Received: Sun, 18-Nov-84 05:12:39 EST Reply-To: jonab@sdcrdcf.UUCP (Jonathan Biggar) Distribution: net Organization: System Development Corp. R+D, Santa Monica Lines: 77 System: rn version 4.1 Bug #: 7 Priority: MEDIUM Subject: core dump on portable rn Index: intrp.c Prereq: 4.1.1.2 From: mcneal@forace.UUCP (Rick McNeal), north@down.UUCP (Stephen C North) Description: With PHOSTNAME defined Rn will core dump when determining the site name. Repeat-By: Rn popens PHOSTNAME and the variable pipefp is then pointing to a stream. Instead of Rn using pipefp in the fgets() call it uses a temporary variable(tmpfp) that has yet to be defined. The temporary is declared of course in common.h which is why the compiler never complains. Fix: This patch must be applied only to revision 4.1.1.2 of intrp.c (with patch #1 installed, including comments). From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch