Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#80 Fix: Missing conditional brackets in inotify_insert_file

open
Bugs (13)
5
2012-03-27
2012-03-27
Anonymous
No

Due to a missing set of brackets around an if()-statement, the method inotify_insert_file() currently calls inotify_remove_directory() in the code branch that replaces an existing files with a newer version, even if no newer version exists in the database.

The attached patch fixes the issue.

Discussion


  • Anonymous
    2012-03-27

    I made a mistake in the error description. The method that is called "too often" is inotify_remove_file(), not inotify_remove_directory().