* mu-util.c: fix _is_readable_dir

This commit is contained in:
Dirk-Jan C. Binnema 2009-12-09 20:01:04 +02:00
parent b48e44f7c9
commit e3a834da74
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ _is_readable_dir (const gchar* path)
struct stat statbuf;
return path &&
access (path, F_OK) &&
access (path, R_OK) == 0 &&
stat (path, &statbuf) == 0 &&
S_ISDIR(statbuf.st_mode);
}