Branch: Tag:


2017-07-19 10:29:27 by Henrik Grubbström (Grubba) <>

Filesystem.Monitor: Survive transient files.

Automatically created monitors for paths that are deleted before the
monitor has initialized are now removed instead of being kept until
the next time the path is created and deleted.

Fixes infinite loops on directory deletion some more.

688:    }    // Signal file_exists for path as an end marker.    file_exists(path, st); +  } else { +  // The path we're supposed to monitor is already gone. +  check_for_release(MF_AUTO, MF_AUTO);    }    return 1;    }