mirror of https://github.com/djcb/mu.git
* mu-maildir.c: use lstat, not stat in readdir_with_stat_fallback; this fixes
issue #28.
This commit is contained in:
parent
026b9ff6ba
commit
fb46b4fddc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue