Re: os.tmpname()
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: os.tmpname()
- From: Shmuel Zeigerman <shmuz@...>
- Date: 2005年11月29日 10:37:05 +0200
Frederico Rodrigues Abraham wrote:
Hi. I tried to generate a temporary filename using os.tmpname() and
I got a bad filename ("\s2u0.").
Do I need to do anything else to get a temporary filename?
This happens only in Windows. In Linux it works.
-- Fred
This appears to depend on run-time library lua linked with.
With MinGW I obtained (5 runs):
\s3us73kd.
\s3us73kd.1
\s3us73kd.2
\s3us73kd.3
\s3us73kd.4
With Borland's:
TMP1.$$$
TMP2.$$$
TMP3.$$$
TMP4.$$$
TMP5.$$$
--
Shmuel