mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Linux file watcher: initialization bug fix
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -217,7 +217,7 @@ static void rm_watch(int wd, bool update_parent) {
|
||||
|
||||
|
||||
static int walk_tree(const char* path, watch_node* parent, bool recursive) {
|
||||
DIR* dir;
|
||||
DIR* dir = NULL;
|
||||
if (recursive) {
|
||||
if ((dir = opendir(path)) == NULL) {
|
||||
if (errno == EACCES || errno == ENOENT) {
|
||||
|
||||
Reference in New Issue
Block a user