* process.c (complete_path): Make sure we don't attempt to execute
directories.
svn path=/trunk/mono/; revision=31145
+2004-07-13 Peter Williams <peter@newton.cx>
+
+ * process.c (complete_path): Make sure we don't attempt to execute
+ directories.
+
2004-07-12 Geoff Norton <gnorton@customerdna.com>
* DateTime.cs: Patch for bug #61112. Our DateTime wasn't roundtripping over timezone
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;
}