[14188] in Athena Bugs
olcr
daemon@ATHENA.MIT.EDU (Brett David Rosen)
Wed Feb 14 15:39:17 1996
To: bugs@MIT.EDU
Reply-To: bdrosen@MIT.EDU
Date: Wed, 14 Feb 1996 15:39:04 EST
From: Brett David Rosen <bdrosen@MIT.EDU>
As a followup to my earlier message:
If i change olc/clients/olc/olc.c
such that in this block
#ifdef PUTENV
sprintf(buf,"OLCD_HOST=%s",argv[1]);
putenv(buf);
#else
(void) setenv ("OLCD_HOST", argv[1], 1);
#endif
it uses setenv instead of putenv, the error goes away.
This may have something do with the NOTES on the putenv(3C) man page.
Brett