[Issue 7729] fileno conflict

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jan 25 11:09:22 PST 2015


https://issues.dlang.org/show_bug.cgi?id=7729

AndyC <andy at squeakycode.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andy at squeakycode.net

--- Comment #1 from AndyC <andy at squeakycode.net> ---
I'm not sure how to test this.  Is this a good test?

// file test.d:
import std.stdio;
import core.stdc.stdio;

void main()
{
    File f = File("test.d", "r");
    writeln( f.fileno() );
}

This compiles and runs fine.  

Is this still a problem?  Can you post some sample code?

--


More information about the Digitalmars-d-bugs mailing list