Skip to content

Conversation

@sunnavy
Copy link

@sunnavy sunnavy commented Jan 18, 2012

fixed a bug in Filesys-Notify-Simple that causes Linux::Inotify2 watches plain files' parent dirs instead of themselves.

don't add parent dir into %map if the path is a plain file.
two $fp in $map{$fp}{$fp} is to make structure of %map consistent.
@miyagawa
Copy link
Owner

I cannot merge this unless it has a unit test to verify the bug.

@sunnavy
Copy link
Author

sunnavy commented Jan 18, 2012

test was just added :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants