Article View: comp.bugs.4bsd
Article #359Re: error handling bug in sendoff() of sendmail 5.65
From: Eric Wassenaar
Date: Tue, 07 May 1991 09:51
Date: Tue, 07 May 1991 09:51
18 lines
1364 bytes
1364 bytes
In article <DEMIZU.91May4162444@freezer.nff.ncl.omron.co.jp>, demizu@nff.ncl.omron.co.jp (DEMIZU Noritoshi) writes: > So I think sendoff() returns ExitStat in stead of -1. And the global > variable ExitStat should be set to have proper status in openmailer(). sendoff() should indeed return ExitStat instead of -1 if the call to openmailer() fails. However, openmailer() will already have stored a proper status in ExitStat because it calls syserr() before failing, and syserr() sets ExitStat to EX_OSERR or EX_SOFTWARE. It makes sense though, to override this by EX_TEMPFAIL in case of a failing fork(). Eric Wassenaar -- Organization: NIKHEF-H, National Institute for Nuclear and High-Energy Physics Address: Kruislaan 409, P.O. Box 41882, 1009 DB Amsterdam, the Netherlands Phone: +31 20 592 0412, Home: +31 20 6909449, Telefax: +31 20 592 5155 Internet: e07@nikhef.nl
Technical Details
Message-ID:
<1225@nikhefh.nikhef.nl>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!mcsun!hp4nl!nikhefh!e07References:
<DEMIZU.91May4162444@freezer.nff.ncl.omron.co.jp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!mcsun!hp4nl!nikhefh!e07 From: e07@nikhefh.nikhef.nl (Eric Wassenaar) Newsgroups: comp.bugs.4bsd Subject: Re: error handling bug in sendoff() of sendmail 5.65 Message-ID: <1225@nikhefh.nikhef.nl> Date: 7 May 91 09:51:06 GMT References: <DEMIZU.91May4162444@freezer.nff.ncl.omron.co.jp> Sender: e07@nikhef.nl (Eric Wassenaar) Organization: Nikhef-H, Amsterdam (the Netherlands). Lines: 18