when checking for 'excecutable' make sure it is a regular file too (on
2003-01-01 Hans Breuer <hans@breuer.org> * libgimpbase/gimpdatafiles.c : when checking for 'excecutable' make sure it is a regular file too (on win32 even directories carry the IXUSR flag) * app/app_procs.h : there is still no #warning with msvc, special case to make it build with non GCC * makefile.msc */makefile.msc */*/makefile.msc : updated * app/gui/user-install-dialog.c : get prototype for mkdir * libgimpwidgets/libgimp-glue.c : make it compile without LT_RELEASE being defined * modules/module.def : removed modules/Makefile.am : no export file needed when functions get exported by G_MODULE_EXPORT
This commit is contained in:
@ -195,7 +195,8 @@ gimp_datafiles_read_directories (const gchar *path_str,
|
||||
}
|
||||
#endif
|
||||
else if ((flags & G_FILE_TEST_IS_EXECUTABLE) &&
|
||||
((filestat.st_mode & S_IXUSR) ||
|
||||
(((filestat.st_mode & S_IXUSR) &&
|
||||
!S_ISDIR (filestat.st_mode)) ||
|
||||
(S_ISREG (filestat.st_mode) &&
|
||||
is_script (filename))))
|
||||
{
|
||||
|
Reference in New Issue
Block a user