fam
[Top] [All Lists]

Re: [fam] Re: [E-devel] imon installation with fam?

To: Alex Larsson <alexl@xxxxxxxxxx>
Subject: Re: [fam] Re: [E-devel] imon installation with fam?
From: monkeyiq <monkeyiq@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Jan 2002 06:50:51 +1000
Cc: monkeyiq <monkeyiq@xxxxxxxxxxxxxxxxxxxxx>, E Develop <enlightenment-devel@xxxxxxxxxxxxxxxxxxxxx>, fam-list <fam@xxxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
Alex Larsson <alexl@xxxxxxxxxx> writes:

> On Sat, 19 Jan 2002, monkeyiq wrote:
> 
> > Christian Kreibich <kreibich@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> > 
> > > 
> > > I still haven't tried the new versions of fam that use dnotify, so you
> > > don't need imon any more. If they work well, it's definitely the way to
> > > go.
> > 
> > I have the fam rpms from rawhide, 
> > fam-devel-2.6.7-4
> > fam-2.6.7-4
> > and there is still an outstanding bug (from what I can tell) using
> > dnotify where it doesn't send a FAMEndExist for reading an empty dir.
> > 
> > so apps waiting for this FAMEndExist event seem to "hang" but are just
> > idle waiting for an event that will never come. IIRC a FAMEndExist
> > is fired when using imon/polling to read an empty dir.
> 
> Are you sure? I don't see that:
> bash-2.05$ mkdir /tmp/foo
> bash-2.05$ ~/bin/fam_test -d /tmp/foo
> FAMMonitorDirectory("/tmp/foo")
> FAMMonitorDirectory("/tmp/foo")
> DIR  /tmp/foo:   /tmp/foo Exists
> DIR  /tmp/foo:   /tmp/foo EndExist

hmm, /me hides in shame. well, the fam_test works ok just as you have shown
above. So its all good, except for my previous email, which should me
moved to /dev/null.

Thanks, I'll check out what could be making that event fail at a event loop 
level... but that is none of fam's fault.

Sorry about that.

> 
>  / Alex
> 
> 

-- 
-----------------------------------------------------
http://witme.sourceforge.net/libferris.web/index.html


--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>