W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: Why unset TMPDIR

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Mon, 12 Jul 1999 15:48:40 -0400
Message-Id: <3.0.5.32.19990712154840.03876650@localhost>
To: Michael Saunders <michael@amtec.com>, www-lib@w3.org
At 10:19 12/07/1999 -0700, Michael Saunders wrote:
>Why does the HTLib.c module unset the "TMPDIR" environment variable? Some
>applications using LibWWW may rely on this environment variable. The
comments in
>the code say the if we have the "tmpnam()" function we can unset "TMPDIR"
>environment variable. Why this side effect? Is this to get consistent
behavior
>across multiple platforms?

Luc Van Eycken solved this, see his patch:

	http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTInet.c#rev2.27
	http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTLib.c#rev2.17

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Monday, 12 July 1999 15:49:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:16 UTC