GNOME Bugzilla – Bug 656517
Do not add search path entry for non-existing directory.
Last modified: 2011-08-19 08:00:28 UTC
This patch filter-out unexisting entries in the search path before trying to include extensions or native modules. This saves up some time and avoid uneeded looping.
Created attachment 193813 [details] [review] Do not add search path entry for non-existing directory.
I think it might need to incorporate this test : !g_strcmp0(".",test_path)) As the last location to check is always the current script path (using '.')
Mmm... I suppose g_file_test will return TRUE with "." so do we need to special-case it, I guess.
Committed Thanks Alan