Hello,<div><br></div><div>I am running a script that creates a file which lists all the folders in a directory:</div><div><div>    </div><div>    foreach (string name; dirEntries("/Users/josh/", SpanMode.shallow)) {</div>
<div>        append("/Users/dirList.txt", name ~ "\n");</div><div>    }</div></div><div><br></div><div>But it seems to stop appending after 255 lines (this particular folder has 350 folders in all).  </div>
<div>When trying to read the created file:</div><div><br></div><div><div>   auto f = File("/Users/dirList.txt", "r");</div><div>   foreach (string line; lines(f)) {</div><div>       writeln(line);</div>
<div>   }</div><div>   f.close();</div><div><br></div><div>It writes out the lines, but after the last one I get "Bus error: 10"</div><div><br></div><div>Any thoughts on what im missing or doing wrong? </div><div>
   </div></div><div>I am currently using D 2.054 on Mac OSX Lion</div><div>The script was working with D 2.053 on Mac OSX Snow Leopard</div><div><br></div><div>Thanks,</div><div>Josh</div>