> the existance of environment variables, namely HOME, TEMP and TMP
TMPDIR is the standard for *nix. Does Ubuntu set TMPDIR?
[mailto:firebird-devel-bounces@...] On Behalf Of Ian
Sent: Tuesday, March 27, 2007 7:37 AM
Subject: [Firebird-devel] UDF Temp Files
I have a udf library which generates guids and firebird "uuids"=20
(compressed reversed guids 22 characters long) which runs on both
Windows and Linux.
I have a small problem. The library needs to store a state file on the
local file system. Currently, I find a location for this by checking for
the existance of environment variables, namely HOME, TEMP and TMP.
I've just upgraded one of our servers to Ubuntu 6.10 (from Mandrake
2005) and the library has stopped working. It seems that the Ubuntu
doesn't set any of the environment variables.
Whats the best cross platform way of finding somewhere to put this file?
Disclaimer: This message (including attachments) is confidential and may =
be privileged. If you have received it by mistake please notify the =
sender by return e-mail and delete this message from your system. Any =
unauthorized use or dissemination of this message in whole or in part is =
strictly prohibited. Please note that e-mails are susceptible to change. =
RxStrategies, Inc. shall not be liable for the improper or incomplete =
transmission of the information contained in this communication or for =
any delay in its receipt or damage to your system. RxStrategies, Inc. =
does not guarantee that the integrity of this communication has been =
maintained nor that this communication is free from viruses, =
interceptions or interference.=20