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 #13 (REPOSTED) Message-ID: <1477@sdcrdcf.UUCP> Date: Fri, 16-Nov-84 19:01:58 EST Article-I.D.: sdcrdcf.1477 Posted: Fri Nov 16 19:01:58 1984 Date-Received: Sun, 18-Nov-84 05:15:13 EST Reply-To: jonab@sdcrdcf.UUCP (Jonathan Biggar) Distribution: net Organization: System Development Corp. R+D, Santa Monica Lines: 94 System: rn version 4.1 Bug #: 13 Priority: MEDIUM Subject: switch bugs Index: sw.c Prereq: 4.1 From: pur-ee!Physics:crl (Charles LaBrec) Description: In sw.c, in pr_switches(), the test to print +-/ should compare against %p/%c instead of %d/%c. The documentation says -1200 should be performed if the baud rate is 1200 or less, but the code says 1200 or greater. Fix: From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch = just_a_sec*10) ) { while (isdigit(*s)) s++; decode_switch(s); } --- 138,145 ----- #ifdef BAUDMOD case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': ! if (upordown ? (just_a_sec*10 <= atoi(s)) ! : (just_a_sec*10 >= atoi(s)) ) { while (isdigit(*s)) s++; decode_switch(s); } *************** *** 330,336 register int i; fputs("\nCurrent switch settings:\n",stdout); ! printf("%c/ ", mp[strEQ(getval("SAVEDIR",SAVEDIR),"%d/%c")]); printf("%cc ", mp[checkflag]); printf("-C%d ", docheckwhen); printf("-d%s ", cwd); --- 337,343 ----- register int i; fputs("\nCurrent switch settings:\n",stdout); ! printf("%c/ ", mp[strEQ(getval("SAVEDIR",SAVEDIR),"%p/%c")]); printf("%cc ", mp[checkflag]); printf("-C%d ", docheckwhen); printf("-d%s ", cwd);