* Path.cs (GetTempFileName): Fix infinite loop if the process doesn't have
write access to /tmp. Fixes #585017.
svn path=/trunk/mcs/; revision=153433
+2010-03-11 Zoltan Varga <vargaz@gmail.com>
+
+ * Path.cs (GetTempFileName): Fix infinite loop if the process doesn't have
+ write access to /tmp. Fixes #585017.
+
2010-02-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MemoryStream.cs: When setting Capacity, don't create a new buffer if
// avoid an endless loop
throw;
}
+ catch (UnauthorizedAccessException) {
+ // This can happen if we don't have write permission to /tmp
+ throw;
+ }
catch {
}
} while (f == null);