<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -521,11 +521,15 @@ namespace Ioke.Lang.Util {
                         string dir = begin == p ? &quot;.&quot; : _base; 
                         string magic = ExtractElem(bytes2,p,end);
                         bool recursive = false;
-
-                        if(dir[0] == '/'  || (DOSISH &amp;&amp; 2&lt;dir.Length &amp;&amp; dir[1] == ':' &amp;&amp; IsDirSep(dir[2]))) {
-                            st = new DirectoryInfo(dir);
-                        } else {
-                            st = new DirectoryInfo(Path.Combine(cwd, dir));
+                        try {
+                            if(dir[0] == '/'  || (DOSISH &amp;&amp; 2&lt;dir.Length &amp;&amp; dir[1] == ':' &amp;&amp; IsDirSep(dir[2]))) {
+                                st = new DirectoryInfo(dir);
+                            } else {
+                                st = new DirectoryInfo(Path.Combine(cwd, dir));
+                            }
+                        } catch(Exception) {
+                            // A clear sign that the file doesn't exist.
+                            return status;
                         }
 
                         if(st.Exists) {</diff>
      <filename>src/ikc/main/Ioke.Lang/Util/Dir.cs</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8d39d94bae880297ba5d3e5d644b7bfb6f809862</id>
    </parent>
  </parents>
  <author>
    <name>Ola Bini</name>
    <email>ola.bini@gmail.com</email>
  </author>
  <url>http://github.com/olabini/ioke/commit/701a5946341f40c57e543def58cb01a16f9ea8e9</url>
  <id>701a5946341f40c57e543def58cb01a16f9ea8e9</id>
  <committed-date>2009-06-28T04:09:11-07:00</committed-date>
  <authored-date>2009-06-28T04:09:11-07:00</authored-date>
  <message>If an exception happens for certain file names in globbing, take that as a sign that the file doesn't exist - this is because .NET is much more annoying about file names than Mono</message>
  <tree>2c4816242966d8a99a857fbf2aae50aca8c038ca</tree>
  <committer>
    <name>Ola Bini</name>
    <email>ola.bini@gmail.com</email>
  </committer>
</commit>
