Summary: believes /dev/stdin to be seekable
           Product: D
           Version: D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Artem Tarasov <> 2012-08-09 09:24:38 
PDT ---
(I'm aware that will be replaced but anyway...)

If I access stdin like this, seekable flag is set:

    new"/dev/stdin"); // seekable = true

A workaround is to use std.stdio.File:

    auto g0 = std.stdio.File("/dev/stdin");
    auto g = new, FileMode.In); // seekable = false

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

Reply via email to