[Issue 3324] New: d1: std.md5: given example not working
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 17 06:35:03 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3324
Summary: d1: std.md5: given example not working
Product: D
Version: 1.042
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: more.more at ist-willig.de
--- Comment #0 from notna <more.more at ist-willig.de> 2009-09-17 06:35:02 PDT ---
In the given example of the D1 std.md5, this line can be found:
while ((len = fread(buffer, 1, buffer.sizeof, file)) != 0)
This isn't working here (DMD v1.042, Windows XP Pro). I had to replace it with:
while ((len = fread(buffer.ptr, 1, buffer.sizeof, file)) != 0)
^^^
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list