🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.v7
Article #60

v7 mail bug

#60
From: stolafsys
Date: Wed, 28 Apr 1982 14:52
19 lines
833 bytes
This bug may have already been reported, but here goes anyway.
We noticed problems when mailing to remote systems which weren't
in our l.sys file.  mail (stock v7 mail, not the Berkekey interface)
would call uux and ignore the return status when uux blew up, leaving
your letter at the end of some pipe, rather than in dead.letter.

The fix is at the bottom of the sendrmt() routine, change

	pclose(rmf);
	exit(0);
to
	exit(pclose(rmf)>>8);
the shift gets the uux return status into the low bits, thus
passing them back to the parent via exit.

If anyone has a better fix, I'd like to see it.

						Vic Lee
						stolaf!vtl
Technical Details
Message-ID: <anews.Astolaf.314>
Path: arc1-ca.pugleaf.net!utzoo!decvax!harpo!ihnss!ihps3!stolaf!sys

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!harpo!ihnss!ihps3!stolaf!sys
From: stolaf!sys
Newsgroups: net.bugs.v7
Subject: v7 mail bug
Date: Wed, 28 Apr 1982 14:52:46 +0000
Message-ID: <anews.Astolaf.314>