msvcrt: Use temp directory when creating file in tmpfile

Piotr Caban piotr at codeweavers.com
Mon Jun 5 11:15:30 CDT 2017


Old implementation was creating the file in root directory of the drive
(that fails if it's not writeable). Starting from msvcr110 native
creates the files in temp directory.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/msvcrt/file.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Use-temp-directory-when-creating-file-in-tmpfil.txt
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170605/b65ae416/attachment.bin>


More information about the wine-patches mailing list