monit-dev
[Top][All Lists]
Advanced

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

Re: preparing for release?


From: Martin Pala
Subject: Re: preparing for release?
Date: Sun, 01 Dec 2002 20:23:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1

address@hidden wrote:

I'll be looking at fixing the stuff up early next week.

There's one sort of problem in dependency code in present cvs version (mainly in control.c) - for example in function control_dependant_process():

 for(d= p->dependantlist; d; d= p->dependantlist->next) {
   if(d->dependant == NULL) {
     break;
   }
   control_process(get_process(d->dependant), action);
   if (d->next == NULL) {
     break;
   }
 }

It will not work properly, correct form should be:

 for(d= p->dependantlist; d; d= d->next) {
   if(d->dependant == NULL) {
     break;
   }
   control_process(get_process(d->dependant), action);
 }

I will not break your development version - can you fix it?

Thanks,
Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]