bug-cfengine
[Top][All Lists]
Advanced

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

Re: DefineInGroup'd classes not really being defined?


From: Chip Seraphine
Subject: Re: DefineInGroup'd classes not really being defined?
Date: Tue, 13 May 2003 10:24:14 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.2.1) Gecko/20030121

Andrew Stribblehill wrote:

So, somewhere near line 309 of eval.c put the
following:

  if (! IsItemIn(VALLADDCLASSES,class))
  {
     Warning("Internal software error: defining class that "
        "isn't installable");
  }

Feel free to upgrade that to FatalError :)

That's a really, really excellent idea and would have saved me from several boneheaded mistakes (e.g. omissions or typos in the AddInstallable list). Sure hope it makes its way into the next release.... hinthinthint





reply via email to

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