notna wrote:
grauzone schrieb:
<snip>
http://d.puremagic.com/issues/enter_bug.cgi
???
What do you wanna tell us?
Where to report bugs.
That
while (auto len = file.readBlock(buffer.ptr, buffer.sizeof))
has to work and does not because it's a bug?
If you want to know whether a piece of code is legal or not, try reading
the D documentation.
And that's why you think a bug report should be opened?
No, that this code example in the Phobos documentation is wrong and
therefore a bug report should be opened.
Stewart.