Summary: std.stdio.File doesn't close popen() files correctly
           Product: D
           Version: 2.041
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Phobos

--- Comment #0 from Adam D. Ruppe <> 2010-04-24 
17:56:02 PDT ---
    File f;
    f.popen("command", "w");
    f.write("hello world");

This throws in its destructor "cannot close file (success)". It looks like File
always calls fclose() on its handle, but if it is opened with popen(), it
should call pclose() to close it instead.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to