Branch: Tag:

2015-09-18

2015-09-18 14:43:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor: Improved robustness in release().

1009:   {    path = canonic_path(path);    Monitor m = m_delete(monitors, path); -  if (m) { +  if (!m) return; +     release_monitor(m); -  } +     if (flags && m->st && m->st->isdir) {    if (!sizeof(path) || path[-1] != '/') {    path += "/";