[Win32utils-devel] win32-changenotify

Heesob Park phasis at gmail.com
Fri Aug 16 07:02:16 UTC 2013


Hi,


2013/8/16 Daniel Berger <djberg96 at gmail.com>
>
> Hi all,
>
> I know that win32-changejournal is preferred over win32-changenotify, but I thought maybe things would be better with Ruby 2.
>
> Anyway, I started conversion to FFI, but I'm getting segfaults for some reason. Can anyone please take a look? It's happening in the get_file_action method. This is on the 'ffi' branch.
>
> On a side note, this was an interesting article:
>
> http://www.elabs.se/blog/61-advanced-topics-in-ruby-ffi
>
> I didn't know about the .by_ref method for FFI::Struct. Neat.
>
I made two patches to fix get_file_action segfaulting.

https://github.com/phasis68/win32-changenotify/commit/f8b91c47973d4d0683d4bf3407a477a984bf060d
https://github.com/phasis68/win32-changenotify/commit/5a2cd35f3c6d812bc773318a46afae34392cee1a

Regards,
Park Heesob


More information about the win32utils-devel mailing list