* Path.cs: prevent infinite loop when TMPDIR (or equivalent)
points to a non-existent directory.
svn path=/trunk/mcs/; revision=156704
+2010-05-05 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * Path.cs: prevent infinite loop when TMPDIR (or equivalent)
+ points to a non-existent directory.
+
2010-04-21 Sebastien Pouliot <sebastien@ximian.com>
* FileInfo.cs: Ensure elevated trust when calling Delete on
// This can happen if we don't have write permission to /tmp
throw;
}
+ catch (DirectoryNotFoundException) {
+ // This happens when TMPDIR does not exist
+ throw;
+ }
catch {
}
} while (f == null);