Summary: should read files of 0 length
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

Some files, such as:

char[] thing = cast(char[])"/proc/sys/kernel/osrelease");

stat as having 0 size, and so thing[] comes back with 0 length. But if the file
is read anyway with C's read(), there is data in it.


Reply via email to