[Ironruby-core] Code Review: DirFix

Srivatsn Narayanan srivatsn at microsoft.com
Mon Aug 25 15:40:30 EDT 2008

Tfpt review /shelveset:DirFix;srivatsn

Fixes RubyForge [#21126] Dir.glob **/ returns duplicate entries.

The code was enumerating the current folder's and its subfolders' files recursively and hence everything got counted twice. The fix tracks that with a flag.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080825/af2aab39/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dirfix.diff
Type: application/octet-stream
Size: 2268 bytes
Desc: Dirfix.diff
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080825/af2aab39/attachment.obj>

More information about the Ironruby-core mailing list