guard / rb-inotify

A thorough inotify wrapper for Ruby using FFI.
MIT License
312 stars 64 forks source link

Non-blocking check for stop in notifier and some semantic stuff accessing inotify. #40

Closed rudolph9 closed 7 years ago

rudolph9 commented 10 years ago

The pull makes three important changes:

rudolph9 commented 9 years ago

@nex3 I'm curious you've had a chance to review my pull request.

ioquatix commented 7 years ago

Can you please rebase this on master and In will review.

ioquatix commented 7 years ago

I've reviewed this PR.

Unfortuantely

fix_encoding(@native[:name].to_ptr.read_string())

doesn't work as the ptr is 0 length.

Using fpathconf is a good idea and I've merged that.

Using poll is probably beyond the scope of this gem at this point in time, but an interesting idea.