inotifyd problems

Denys Vlasenko vda.linux at googlemail.com
Wed Nov 19 17:13:46 PST 2008


On Tuesday 18 November 2008 18:33, Vladimir Dronnikov wrote:
> >
> > So we should implicitly add IN_IGNORED to the watching mask regardless the
> > user specified it on not. Then, after we have wait()ed for the agent, we
> > should check whether IN_IGNORED is in received event mask, and exit if it
> > is. Right?
> >
> 
> Denys, please, take a look. May be so: http://drvv.ru/busybox/inotifyd.patch?

inotifyd agent file

differs from 

inotifyd agent file1 file2

This is easy to fix.

Also I noticed two bugs:
- FIONREAD should take int* parameter, not ssize_t*
- unsigned mask = IN_ALL_EVENTS done just once,
  must be done before each file

I am applying this patch, please review.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5.patch
Type: text/x-diff
Size: 3276 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20081120/2a8c4b80/attachment.patch 


More information about the busybox mailing list