Re: Oaf patch ...
- From: Michael Meeks <michael ximian com>
- To: Elliot Lee <sopwith redhat com>
- Cc: gnome-components-list gnome org
- Subject: Re: Oaf patch ...
- Date: Tue, 17 Jul 2001 17:36:40 -0400 (EDT)
On Tue, 17 Jul 2001, Elliot Lee wrote:
> > > +
> > > + for (j = 0; j < 5; j++) {
> > > + oaf_name_service_get (&ev);
> > > + if (ev._major == CORBA_NO_EXCEPTION)
> > > + g_warning ("Error getting name service '%s'", ev.
> > > _id);
> > > + }
> >
> > If you're going to have this loop to get the name service 5 times, you
> > should at least write a comment and explain why you're doing it.
>
> Hmm, the loop seems broken period - the registration location code needs
> to work the first time...?
Well whatever - this is a test case that on my machine consumes
a huge chunk of my CPU launching spurious oafd's, that makes it in my book
a useful regression test - possibly here is not the right place for it, it
was just part of my work in progress really.
Hmm,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]