🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3456

Re: sendmail 5.61 on ISC 3.2 unix i386

#3456
From: James Van Artsdalen
Date: Thu, 11 Jan 1990 06:48
25 lines
1702 bytes
In <3633@uafcveg.uark.edu>, netnews@uafcveg.uark.edu (Netnews account) wrote:

> In article <886@uudell.dell.com>, james@raid.dell.com (me) writes:
| I am trying to compile sendmail 5.61, straight from ucbarpa.berkeley.edu,
| for ISC SysV 3.2 i386.  [...] I am seeing some core dumps.

> You might want to check the 'fdopen' routine on your system to make
> sure that they provide a buffer.

Indeed, this was part of the problem.  Several people sent mail to the
effect that "fdopen(3c) doesn't allocate a buffer like fopen(3c)".
This is only partly true: SysVr3.2 doesn't allocate a buffer in
fopen(3c), but apparently ISC's streams/stdio interaction can require
it.

Another apparent problem is that sendmail fdopen(3c)'s a file
descriptor more than once.  I'm a little amazed this hasn't been
caught before, but I guess BSD stdio doesn't notice the problem as
long as the file descriptor isn't a regular file.  Simply dup(2)'ing
the descriptor to fdopen(3c) it helped a lot.

Thanks to Doug McCallum for providing most of the clues.
--
James R. Van Artsdalen          james@raid.dell.com       "Live Free or Die"
Dell Computer Corporation  9505 Arboretum Blvd Austin TX 78759  512-338-8789
Technical Details
Message-ID: <1009@uudell.dell.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!texbell!uudell!raid!james
References: <886@uudell.dell.com> <3633@uafcveg.uark.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bellcore!texbell!uudell!raid!james
From: james@raid.dell.com (James Van Artsdalen)
Newsgroups: comp.mail.sendmail
Subject: Re: sendmail 5.61 on ISC 3.2 unix i386
Message-ID: <1009@uudell.dell.com>
Date: 11 Jan 90 06:48:11 GMT
References: <886@uudell.dell.com> <3633@uafcveg.uark.edu>
Sender: news@uudell.dell.com
Reply-To: james@raid.dell.com (James Van Artsdalen)
Organization: Institute for Applied Cosmology
Lines: 25