* appdomain.c: If we are running with IOMAP we might
have been provided a string that isn't case-aware for our file-
system, so we need to use io-portability to check if the file
exists, rather than a simple glib test.
Fixes #608849
svn path=/trunk/mono/; revision=158366
+2010-06-02 Geoff Norton <gnorton@novell.com>
+
+ * appdomain.c: If we are running with IOMAP we might
+ have been provided a string that isn't case-aware for our file-
+ system, so we need to use io-portability to check if the file
+ exists, rather than a simple glib test.
+
+ Fixes #608849
+
2010-06-02 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_generic_parameters): Verify if
gboolean copy_result;
strcpy (src + srclen - tail_len, extension);
- if (!g_file_test (src, G_FILE_TEST_IS_REGULAR))
+
+ if (IS_PORTABILITY_CASE) {
+ gchar *file = mono_portability_find_file (src, TRUE);
+
+ if (file == NULL)
+ return TRUE;
+
+ g_free (file);
+ } else if (!g_file_test (src, G_FILE_TEST_IS_REGULAR)) {
return TRUE;
+ }
+
orig = g_utf8_to_utf16 (src, strlen (src), NULL, NULL, NULL);
strcpy (target + targetlen - tail_len, extension);