v7 mail bug
utzoo!decvax!harpo!ihnss!ihps3!stolaf!sys
utzoo!decvax!harpo!ihnss!ihps3!stolaf!sys
Wed Apr 28 14:52:46 AEST 1982
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
More information about the Net.bugs.v7
mailing list