msvcrt/file.c: file mode T (temporary file) (try 2)

Vitaliy Margolen wine-devel at kievinfo.com
Sun Feb 26 10:14:23 CST 2012


On 02/25/2012 05:30 AM, Robert van Herk wrote:
> Try 2 fixes some blatant memory bug in the conformance test
> ---------------------------------------------------------------------------
>
> Windows fopen has some fancy file modes 'T' and 'D'.
> Currently, wine wrongly interprets 'T' as 't'. They should be interpreted
> differently though: 't' is text file, and 'T' is temporary file.
>
> I've fixed this, and added a conformance test.

> +    case 'T':
> +      FIXME("Implement T flag (temporary file, i.e. delete on close, don't flush to disk if possible)");
> +      break;
So what actually prevents you from properly implementing this? Especially 
that Wine already supports temporary files. Search for MSVCRT__O_TEMPORARY

Vitaliy.



More information about the wine-devel mailing list