www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3331] New: Error in the std.md5 example

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3331

           Summary: Error in the std.md5 example
           Product: D
           Version: 1.047
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: more.more ist-willig.de


--- Comment #0 from notna <more.more ist-willig.de> 2009-09-18 23:47:44 PDT ---
Line
  while ((len = fread(buffer, 1, buffer.sizeof, file)) != 0)
has to be
  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: -------
Sep 18 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3331


notna <more.more ist-willig.de> changed:

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


--- Comment #1 from notna <more.more ist-willig.de> 2009-09-18 23:54:50 PDT ---
*** This issue has been marked as a duplicate of issue 3324 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 18 2009