Re: Patch: user mime info directory monitoring fix



On 4 Dec 2002, Frederic Crozat wrote:

> Hi,
> 
> The following patch fixes a small performance hit when fam is used for
> file monitoring :
> 
> if fam is compiled with dnotify support and if you try to monitor
> non-existing directory, fam fallbacks to parent directory polling, with
> a 5s delay..  (it can be somehow energy hungry on laptop)
> 
> This patch ensure user gnome mime info directory always exists before
> monitoring it.. 
> 
> Can I commit (with a ChangeLog entry, of course) ?

Sure. That it looks good.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an oversexed white trash cat burglar who hides his scarred face behind a 
mask. She's a vivacious mute schoolgirl married to the Mob. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]