Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!rdin!delftcc!sam From: sam@delftcc.UUCP (Sam Kendall) Newsgroups: net.bugs.4bsd Subject: Re: Distributed /bin/rmail chokes on uucp "forwarded by ..." lines Message-ID: <136@delftcc.UUCP> Date: Wed, 9-Apr-86 14:03:36 EST Article-I.D.: delftcc.136 Posted: Wed Apr 9 14:03:36 1986 Date-Received: Sat, 12-Apr-86 00:46:22 EST References: <1597@emory.UUCP> Distribution: net Organization: Delft Consulting Corp., New York Lines: 19 Summary: Bug in the fix to rmail Thanks to Arnold Robbins for figuring this out--I've been wondering where the "somewhere"s were coming from. However, there is a bug in his fix. Suppose there is a "forwarded by" line >From frank Tue Apr 1 13:36 EST 1986 forwarded by frank In this part of the fix: /* check for "forwarded by ..." lines. ADR */ cp = rindex (lbuf, 'f'); the rindex will stop on the 'f' in "frank", not in "forwarded" as Robbins intends. ---- Sam Kendall { ihnp4 | seismo!cmcl2 }!delftcc!sam Delft Consulting Corp. ARPA: delftcc!sam@NYU.ARPA