[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: os.tmpname()
- From: Frederico Rodrigues Abraham <devotion97@...>
- Date: Tue, 29 Nov 2005 21:26:52 -0200
well i solved it using tmpname(NULL,NULL)... it considers the
temporary directory of the system.
when i use tmpnam() on windows on a non-writable root, the filename
generated (\something) is not writable...
i guess it's an implementation bug
> 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):
> With Borland's: