From: stuerzl@cs.unc.edu (Wolfgang Stuerzlinger)
Subject: Re: Problem with getenv("HOME")/sprintf
29 Oct 1997 14:14:06 -0800
Message-ID: <Pine.HPP.3.96.971029101159.5690B-100000.cygnus.gnu-win32@catfish.cs.unc.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: gnu-win32@cygnus.com

As quite a few people pointed out, getenv is not the culprit.
sprintf(x,"%s",NULL) puts the string "(null)" into the destination
string and is the routine to "blame" for the behaviour.

I am sorry for the confusion, I was analyzing a problem with pd-software
from somebody else and tracked the problem down to the above cause.

Wolfgang

P.S.: Yesterday was really a very bad day for me - at least 5 different
things going on at the same time and 3 things (including this one) went
wrong. I hope this doesn't repeat often ;-}
--
Wolfgang Stuerzlinger
Dept. of Computer Science, UNC, Chapel Hill, NC 27599-3175
stuerzl@cs.unc.edu          http://www.cs.unc.edu/~stuerzl

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
