From: stuerzl AT cs DOT unc DOT edu (Wolfgang Stuerzlinger) Subject: Re: Problem with getenv("HOME")/sprintf 29 Oct 1997 14:14:06 -0800 Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: gnu-win32 AT cygnus DOT 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 AT cs DOT unc DOT edu http://www.cs.unc.edu/~stuerzl - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".