Distributed /bin/rmail chokes on uucp "forwarded by ..." lines

Sam Kendall sam at delftcc.UUCP
Thu Apr 10 05:03:36 AEST 1986


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 at NYU.ARPA



More information about the Comp.bugs.4bsd.ucb-fixes mailing list