[Win32utils-devel] Need some help with pure Ruby win32-changenotify

Heesob Park phasis at gmail.com
Sun Aug 5 22:36:56 EDT 2007


2007/8/6, Daniel Berger <djberg96 at gmail.com>:
> Ok, solved the remaining issues. I had to move the CloseHandle call in
> the wait method above the yield/return. Also, I had to increase the
> buffer size for the final string name.
> Now I'm wondering if I should automatically prepend the @path to the
> file name in the final struct. We could use File.expand_path for
> relative paths.
> What do you think?

I think prepending the @path to the file name is better than printing the
relative paths.
And appliyng File.expand_path gives wrong result when running on different
path from monitoring path.

> Dan


Park Heesob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/win32utils-devel/attachments/20070806/82092a5a/attachment.html 

More information about the win32utils-devel mailing list