🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3410

Re: undefined symbol: unsetenv

#3410
From: Keith Moore
Date: Thu, 25 May 1989 22:58
17 lines
1499 bytes
In article <4021@uhccux.uhcc.hawaii.edu> steven@uhccux.uhcc.hawaii.edu (Steven Sakata) writes:
>I've been trying to compile version 5.6.1 of sendmail under Ultrix 2.2, but I
>get an undefined symbol error for "unsetenv" (in main.c).  I've searched through
>a whole bunch of libraries and header files, but came up empty.  I'd be really
>grateful for any suggestions.........Thanks, Steven.

It's easy enough to find the single reference to unsetenv() and comment it
out.  On systems that use the TZ environment variable to set the user's
timezone (like Sys V systems), sendmail needs to call unsetenv("TZ") to
keep users from fooling sendmail as to what time the message was sent.
Current Ultrix systems don't use this convention, so commenting out
the unsetenv() doesn't hurt anything.
--
Keith Moore
UT Computer Science Dept.	Internet/CSnet: moore@utkcs2.cs.utk.edu
107 Ayres Hall, UT Campus	BITNET: moore@utkvx
Knoxville Tennessee 37996-1301	Telephone: +1 615 974 0822
Technical Details
Message-ID: <894@utkcs2.cs.utk.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!gatech!utkcs2!cygnusx1!moore
References: <4021@uhccux.uhcc.hawaii.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!gatech!utkcs2!cygnusx1!moore
From: moore@cygnusx1.cs.utk.edu (Keith Moore)
Newsgroups: comp.mail.sendmail
Subject: Re: undefined symbol: unsetenv
Keywords: unsetenv
Message-ID: <894@utkcs2.cs.utk.edu>
Date: 25 May 89 22:58:00 GMT
References: <4021@uhccux.uhcc.hawaii.edu>
Sender: news@utkcs2.cs.utk.edu
Reply-To: moore@cygnusx1.cs.utk.edu (Keith Moore)
Organization: CS Dept -- University of TN, Knoxville
Lines: 17