[Issue 1442] std.file.read returns truncated data on OS X if line ends are not Unix

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 28 17:15:00 PDT 2007


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


dvdfrdmn at users.sf.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from dvdfrdmn at users.sf.net  2007-08-28 19:14 -------
Phobos is not truncating the data.  What you are seeing is overtyping done by
the terminal software.  If you run the 'cat' program on the file, it will
produce the same result.  std.file.read just returns an array of bytes and
should not perform any kind of translation.


-- 



More information about the D.gnu mailing list