D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3331 - Error in the std.md5 example
Summary: Error in the std.md5 example
Status: RESOLVED DUPLICATE of issue 3324
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D1 (retired)
Hardware: Other All
: P2 normal
Assignee: No Owner
URL: http://www.digitalmars.com/d/1.0/phob...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-18 23:47 UTC by notna
Modified: 2014-04-18 09:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description notna 2009-09-18 23:47:44 UTC
Line
  while ((len = fread(buffer, 1, buffer.sizeof, file)) != 0)
has to be
  while ((len = fread(buffer.ptr, 1, buffer.sizeof, file)) != 0)
                             ^^^
Comment 1 notna 2009-09-18 23:54:50 UTC

*** This issue has been marked as a duplicate of issue 3324 ***