Handle symlink-to-directory creation

This commit is contained in:
Julien BLACHE 2009-06-11 13:51:19 +02:00
parent 279fb95979
commit 34b0c22e46

View File

@ -744,6 +744,14 @@ process_inotify_file(struct watch_info *wi, char *path, struct inotify_event *ie
{
DPRINTF(E_LOG, L_SCAN, "Could not stat() '%s': %s\n", file, strerror(errno));
free(deref);
return;
}
if (S_ISDIR(sb.st_mode))
{
process_inotify_dir(wi, deref, ie);
free(deref);
return;
}