cf3: SVN, a couple of bugs...

Matt Richards <[email protected]> Sun, 26 Apr 2009 12:00:09 -0400
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <[email protected]>
Greetings, a couple of small bugs in SVN cfengine:

###
files_editline (line 1090):

      if (a.transaction.action = cfa_warn)

should be

      if (a.transaction.action == cfa_warn)

###
files_editline (line 1106):

      if (a.transaction.action = cfa_warn)

should be

      if (a.transaction.action == cfa_warn)

###
generic_agent.c (line 461)

                   if (stat(InputLocation((char *)returnval.item),&sb) == -1)

should be
                   if (stat(InputLocation((char *)sl->item),&sb) == -1)