www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11185] New: Win64: std.stdio.tmpFile does not work

http://d.puremagic.com/issues/show_bug.cgi?id=11185

           Summary: Win64: std.stdio.tmpFile does not work
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: r.sagitario gmx.de



PDT ---
module test;

import std.stdio;

void main()
{
    File f = File.tmpfile();
}

compiled with "dmd -m64 test.d" and run yields:

std.exception.ErrnoException std\stdio.d(1025): Could not create temporary file
with tmpfile() (Permission denied)

This is caused by the called C runtime function not working to start with.
Maybe this is caused by a combintion of my OS (Win8/64) and VS versions (VS2008
or VS2010).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 06 2013