~abone/ubuntu/natty/cfengine3/fix-780410

« back to all changes in this revision

Viewing changes to src/transaction.c

  • Committer: Andrey Bondarenko
  • Date: 2011-05-10 13:45:12 UTC
  • mfrom: (5.1.3 natty-my)
  • Revision ID: abondarenko@users.sourceforge.net-20110510134512-z8zcaglk5q49xnlg
* Cleanup sources to make bzr more friendly to 3.0 (quilt) format.
* debian/patches/fhs-compliance: do not try to be FHS compilant when
  running as non-root user (LP: #780410).

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
   sum = (CF_MACROALPHABET * sum + cc_operand[i]) % CF_HASHTABLESIZE;
157
157
   }
158
158
 
159
 
snprintf(cflog,CF_BUFSIZE,"/var/log/cf3.%.40s.runlog",host);
 
159
snprintf(cflog,CF_BUFSIZE,"%s/cf3.%.40s.runlog",CFWORKDIR,host);
160
160
snprintf(cflock,CF_BUFSIZE,"lock.%.100s.%s.%.100s_%d_%s",pp->bundle,cc_operator,cc_operand,sum,str_digest);
161
161
snprintf(cflast,CF_BUFSIZE,"last.%.100s.%s.%.100s_%d_%s",pp->bundle,cc_operator,cc_operand,sum,str_digest);
162
162