* process.c (complete_path): Make sure we don't attempt to execute
directories.
svn path=/branches/mono-1-0/mono/; revision=31146
+2004-07-13 Peter Williams <peter@newton.cx>
+
+ * process.c (complete_path): Make sure we don't attempt to execute
+ directories.
+
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* debug-helpers.c: undo my previous patch and fixed the real issue in
return FALSE;
}
- if (g_file_test (utf8app, G_FILE_TEST_IS_EXECUTABLE)) {
+ if (g_file_test (utf8app, G_FILE_TEST_IS_EXECUTABLE) && !g_file_test (utf8app, G_FILE_TEST_IS_DIR)) {
g_free (utf8app);
return FALSE;
}