* mu-maildir.c: use lstat, not stat in readdir_with_stat_fallback; this fixes

issue #28.
This commit is contained in:
Dirk-Jan C. Binnema 2010-11-07 19:14:01 +02:00
parent 026b9ff6ba
commit fb46b4fddc
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ readdir_with_stat_fallback (DIR* dir, const char* path)
/* note, fullpath_s returns a static buffer */
fullpath = fullpath_s (path, entry->d_name);
if (stat (fullpath, &statbuf) != 0) {
if (lstat (fullpath, &statbuf) != 0) {
g_warning ("stat failed on %s: %s", fullpath,
strerror(errno));
return FALSE;