<div class="gmail_quote">On Thu, Feb 19, 2009 at 13:09, Chris Beattie <span dir="ltr"><<a href="mailto:cbeattie@geninfo.com">cbeattie@geninfo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">Allan Clark wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Aren't those two files the first duplicates?<br>
<br>
Remove all *~ files -- I assume your editor created these. Try again after:<br>
</blockquote>
<br></div>
I use gedit to edit my Nagios configuration files, and it's set to make backups whose filenames end with a tilde by default. Nagios ignores them since it's looking only for *.cfg, but they do visually pollute the directory listing and I tell rsync to exclude them when I copy the config files from dev to production.</blockquote>
<div><br></div><div>Indeed, I see it above in the same file (xdata/xodtemplate.c@978):</div><div><br></div><div><div> case S_IFREG:</div><div> x=strlen(dirfile->d_name);</div><div>
if(x<=4 || strcmp(dirfile->d_name+(x-4),".cfg"))</div><div> break;</div><div><br></div><div>Thanks.</div><div><br></div><div>In this case, there was a cfg_file and cfg_dir values causing the same file to be parsed twice, but O.P. is checking another failure now.</div>
<div><br></div><div>Allan</div><div>-- <br></div></div></div><a href="mailto:allanc@chickenandporn.com">allanc@chickenandporn.com</a> "½ًسم" <a href="http://linkedin.com/in/goldfish">http://linkedin.com/in/goldfish</a><br>
please, no proprietary attachments (<a href="http://tinyurl.com/cbgq">http://tinyurl.com/cbgq</a>)<br>