January 26, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=889

           Summary: listdir loops forever
           Product: DGCC aka GDC
           Version: 0.21
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: digitalmars-com@baysmith.com


This example is from http://www.digitalmars.com/d/phobos/std_file.html under
docs for "void listdir(char[] pathname, bool delegate(DirEntry * de)
callback);"

 import std.stdio;
 import std.file;

 void main(char[][] args)
 {
    bool callback(DirEntry* de)
    {
      if (de.isdir)
        listdir(de.name, &callback);
      else
        writefln(de.name);
      return true;
    }

    listdir(args[1], &callback);
 }


-- 

January 28, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=889


dvdfrdmn@users.sf.net changed:

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




------- Comment #1 from dvdfrdmn@users.sf.net  2007-01-27 18:25 -------
Fixed in svn r75.  Targeted for release 0.22.


--