#80 Fix: Missing conditional brackets in inotify_insert_file

open
Bugs (14)
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

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-03-27
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    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().

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks