[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: msvcrt/file.c: file mode T (temporary file) (try 3)
From:       Frédéric Delanoy <frederic.delanoy () gmail ! com>
Date:       2012-02-28 8:39:11
Message-ID: CAE4k4ev7M12PS_7+UL5G=uLrsBkVo5X1jcyQoXeXb5N9m=1eJQ () mail ! gmail ! com
[Download RAW message or body]

On Mon, Feb 27, 2012 at 11:23, Robert van Herk
<mijnspamboxje@hotmail.com> wrote:
>> So what actually prevents you from properly implementing this? Especially
>> that Wine already supports temporary files. Search for MSVCRT__O_TEMPORARY
>>
>> Vitaliy.
>
> I wrote a new version that maps
> 'D' -> MSVCRT__O_TEMPORARY, and
> 'T' -> MSVCRT__O_SHORT_LIVED | MSVCRT__O_TEMPORARY
>
> I deliberately included MSVCRT__O_TEMPORARY in 'T': on Windows, when a file
> is opened in 'T' mode, a subsequent call to GetFileAttributes(tempfile) show
> that the FILE_ATTRIBUTE_TEMPORARY flag is set, so this seemed like to most
> sensible thing to do.
>
> I updated the conformance test such that it checks that the file is actually
> deleted after fclose.
>
> Kind regards,
> Robert van Herk

You may already be aware of this, but you can request a testbot
account to check your patches before submission to wine-patches.
See http://testbot.winehq.org/

Frédéric



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic