<?xml version="1.0" encoding="utf-8"?>
<!--RSS generated by Flaimo.com RSS Builder [2012-02-04 08:52:40]-->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><docs>http://bts.aiken.cz/</docs><link>http://bts.aiken.cz/</link><description><![CDATA[MantisBT - Issues]]></description><title>MantisBT - Issues</title><image><title>MantisBT - Issues</title><url>http://bts.aiken.cz/images/mantis_logo_button.gif</url><link>http://bts.aiken.cz/</link><description><![CDATA[MantisBT - Issues]]></description></image><language>en</language><category>All Projects</category><ttl>10</ttl><dc:language>en</dc:language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><item><title>0000671: incrond triggers files only once (even when changing by touch, no editors or file replacements)</title><author></author><link>http://bts.aiken.cz/view.php?id=671</link><description><![CDATA[Hello,&lt;br /&gt;
&lt;br /&gt;
incrond triggers on file change only once after incrontable reload.]]></description><category></category><pubDate>Sun, 25 Dec 2011 16:19:23 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=671</guid><comments>http://bts.aiken.cz/view.php?id=671#bugnotes</comments></item><item><title>0000571: Fwd: Right quotation for incrontab</title><author></author><link>http://bts.aiken.cz/view.php?id=571</link><description><![CDATA[Email from: &quot;Ing. Lukáš Jelínek - AIKEN&quot;&lt;&lt;a href=&quot;mailto:lukas@aiken.cz&quot;&gt;lukas@aiken.cz&lt;/a&gt;&gt;&lt;br /&gt;
&lt;br /&gt;
-------- Pu*vodní zpráva --------&lt;br /&gt;
Pr(edme(t: 	Right quotation for incrontab&lt;br /&gt;
Pr(eposláno - Datum: 	Fri, 23 Sep 2011 18:19:44 +0200 (CEST)&lt;br /&gt;
Pr(eposláno - Od: 	&lt;a href=&quot;mailto:incron@aiken.cz&quot;&gt;incron@aiken.cz&lt;/a&gt;&lt;br /&gt;
Datum: 	Fri, 23 Sep 2011 18:11:24 +0200&lt;br /&gt;
Od: 	Narcis Garcia - GiLUG &lt;&lt;a href=&quot;mailto:informatica@actiu.net&quot;&gt;informatica@actiu.net&lt;/a&gt;&gt;&lt;br /&gt;
Pr(eposláno - Komu: 	&lt;a href=&quot;mailto:incron@aiken.cz&quot;&gt;incron@aiken.cz&lt;/a&gt;&lt;br /&gt;
Komu: 	&lt;a href=&quot;mailto:incron@aiken.cz&quot;&gt;incron@aiken.cz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here comes a proposal for next fixes or versions:&lt;br /&gt;
&lt;br /&gt;
There are 2 problems in incrontab tables about spaces: difficult to&lt;br /&gt;
automate spaces parsing for the path watched, and bad parameters&lt;br /&gt;
grouping to commands. My proposal is to give the opportunity of quotes&lt;br /&gt;
to work, in a more consistent way with shell scripting.&lt;br /&gt;
&lt;br /&gt;
1. If quotes were alowwed to specify paths, automated generation of&lt;br /&gt;
tables could be easier, because instead of replacing every space by an&lt;br /&gt;
escaped one, a script could simply write quoted strings for all:&lt;br /&gt;
&quot;/home/mike/Documents/My works&quot;&lt;br /&gt;
instead of the current way:&lt;br /&gt;
/home/mike/Documents/My\ works&lt;br /&gt;
&lt;br /&gt;
2. I see the current behaviour as a bug. When the command is something like:&lt;br /&gt;
/usr/local/bin/myscript.sh &quot;$@/$#&quot;&lt;br /&gt;
Then for a watched file as &quot;/home/mike/Documents/My works/first one.odt&quot;&lt;br /&gt;
myscript.sh receives (including quotes):&lt;br /&gt;
&quot;$1&quot;: &quot;/home/mike/Documents/My&lt;br /&gt;
&quot;$2&quot;: works/first&lt;br /&gt;
&quot;$3&quot;: one.odt&quot;&lt;br /&gt;
&quot;$4&quot;: (any next parameter)&lt;br /&gt;
This means that the quotes aren't used by incrond nor given right to&lt;br /&gt;
shell interpreter/execution. If you run in a normal shell:&lt;br /&gt;
myscript.sh &quot;/home/mike/Documents/My works/first one.odt&quot; hello world&lt;br /&gt;
The script receives right:&lt;br /&gt;
&quot;$1&quot;: /home/mike/Documents/My works/first one.odt&lt;br /&gt;
&quot;$2&quot;: hello&lt;br /&gt;
&quot;$3&quot;: world&lt;br /&gt;
&lt;br /&gt;
Thanks.]]></description><category>General</category><pubDate>Fri, 02 Dec 2011 16:12:41 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=571</guid><comments>http://bts.aiken.cz/view.php?id=571#bugnotes</comments></item><item><title>0000338: incron loses track of files edited by vim</title><author></author><link>http://bts.aiken.cz/view.php?id=338</link><description><![CDATA[When incrond is watching a file in /etc, repeated edits of the file&lt;br /&gt;
will cause incrond to lose track of it.&lt;br /&gt;
&lt;br /&gt;
I'm using the following incron entry for testing, where /tmp/test.sh&lt;br /&gt;
simple logs `date`.&lt;br /&gt;
/etc/test IN_CLOSE_WRITE /tmp/test.sh&lt;br /&gt;
&lt;br /&gt;
I can repeatedly touch /etc/test, and incron triggers.&lt;br /&gt;
If I open /etc/test in vim, the first edit triggers incron, but&lt;br /&gt;
subsequent edits do not.&lt;br /&gt;
After this, touching /etc/test no longer triggers incron either.&lt;br /&gt;
Sometimes, reloading the table doesn't work either, and the service&lt;br /&gt;
had to be restarted.&lt;br /&gt;
&lt;br /&gt;
I've confirmed this on both centos and ubuntu machines, and with the&lt;br /&gt;
latest version of incron.&lt;br /&gt;
&lt;br /&gt;
We're using it to watch some config files, and most people use vim to&lt;br /&gt;
edit them, so this has tripped me up a couple times.]]></description><category></category><pubDate>Mon, 25 Jul 2011 22:35:02 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=338</guid><comments>http://bts.aiken.cz/view.php?id=338#bugnotes</comments></item><item><title>0000541: fire event once in X seconds</title><author></author><link>http://bts.aiken.cz/view.php?id=541</link><description><![CDATA[Sometimes firing an event if something happened in the last second or minute or hour is good enough and it would be easier to have an option right into incron.]]></description><category></category><pubDate>Fri, 24 Jun 2011 00:18:34 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=541</guid><comments>http://bts.aiken.cz/view.php?id=541#bugnotes</comments></item><item><title>0000540: exclude files matching PATTERN</title><author></author><link>http://bts.aiken.cz/view.php?id=540</link><description><![CDATA[It is sometimes useful to watch directories but exclude some filetypes or just one directory and I didn't find a way to do this elegantly.]]></description><category></category><pubDate>Fri, 24 Jun 2011 00:18:12 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=540</guid><comments>http://bts.aiken.cz/view.php?id=540#bugnotes</comments></item><item><title>0000539: Improper parsing of spaces, quotes and other meta-characters</title><author></author><link>http://bts.aiken.cz/view.php?id=539</link><description><![CDATA[As mentioned numerous times, incron seems to have a huge problem with handling space parsing:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://bts.aiken.cz/view.php?id=174&quot;&gt;http://bts.aiken.cz/view.php?id=174&lt;/a&gt; [&lt;a href=&quot;http://bts.aiken.cz/view.php?id=174&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] (spaces in filenames)&lt;br /&gt;
&lt;a href=&quot;http://bts.aiken.cz/view.php?id=98&quot;&gt;http://bts.aiken.cz/view.php?id=98&lt;/a&gt; [&lt;a href=&quot;http://bts.aiken.cz/view.php?id=98&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] (bis)&lt;br /&gt;
&lt;a href=&quot;http://bts.aiken.cz/view.php?id=528&quot;&gt;http://bts.aiken.cz/view.php?id=528&lt;/a&gt; [&lt;a href=&quot;http://bts.aiken.cz/view.php?id=528&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] (spaces in EDITOR environment variable)&lt;br /&gt;
&lt;br /&gt;
I guess the whole parsing approach is the problem here.&lt;br /&gt;
Various builtin functions in C are able to handle easily this problem.&lt;br /&gt;
For example:&lt;br /&gt;
&lt;a href=&quot;http://linux.die.net/man/3/system&quot;&gt;http://linux.die.net/man/3/system&lt;/a&gt; [&lt;a href=&quot;http://linux.die.net/man/3/system&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] + escaping &quot; and ' would be a great start.&lt;br /&gt;
&lt;br /&gt;
From a coding point-of-view, this is quite simple todo.&lt;br /&gt;
From a user point-of-view, this is quite a show-stopper.&lt;br /&gt;
&lt;br /&gt;
Various workaround have been in the wild for a while now (e.g. &lt;a href=&quot;http://bts.aiken.cz/view.php?id=174#c355&quot;&gt;http://bts.aiken.cz/view.php?id=174#c355&lt;/a&gt; [&lt;a href=&quot;http://bts.aiken.cz/view.php?id=174#c355&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] ) but are not really acceptable.&lt;br /&gt;
&lt;br /&gt;
An &quot;ugly but acceptable&quot; work-around would be to have a (eventually per-file, although this may be too complicated for a simple/temporary fix) configuration to provide a column delimiter for incrontab files.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
separator=;&lt;br /&gt;
&lt;br /&gt;
would provide incrontab files like this:&lt;br /&gt;
&lt;br /&gt;
path;flag1,flag2,flag3;command;arg1;arg2 with spaces;$@/$#;etc...&lt;br /&gt;
&lt;br /&gt;
This would then allow for easy insertions of spaces in commands.&lt;br /&gt;
Moreover this kind of structure is very easy to use with, say, one of the exec(3) family ( &lt;a href=&quot;http://linux.die.net/man/3/exec&quot;&gt;http://linux.die.net/man/3/exec&lt;/a&gt; [&lt;a href=&quot;http://linux.die.net/man/3/exec&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] ).]]></description><category></category><pubDate>Mon, 13 Jun 2011 12:20:53 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=539</guid><comments>http://bts.aiken.cz/view.php?id=539#bugnotes</comments></item><item><title>0000528: EDITOR with flags fails</title><author></author><link>http://bts.aiken.cz/view.php?id=528</link><description><![CDATA[When I set my $EDITOR to anything with a space (ie &quot;nano -LSw&quot;), incrontab fails.]]></description><category></category><pubDate>Sun, 20 Mar 2011 01:17:37 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=528</guid><comments>http://bts.aiken.cz/view.php?id=528#bugnotes</comments></item><item><title>0000525: List of supported events</title><author></author><link>http://bts.aiken.cz/view.php?id=525</link><description><![CDATA[Where can I can find the entire list of events that the INCRON supports? It would be interesting to this list describing what they mean or what they are used for.&lt;br /&gt;
&lt;br /&gt;
TIA&lt;br /&gt;
&lt;br /&gt;
Marcos Nobre]]></description><category></category><pubDate>Thu, 24 Feb 2011 16:06:43 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=525</guid><comments>http://bts.aiken.cz/view.php?id=525#bugnotes</comments></item><item><title>0000512: Makefile improvements</title><author></author><link>http://bts.aiken.cz/view.php?id=512</link><description><![CDATA[Description of the patch:&lt;br /&gt;
Respect DESTDIR.&lt;br /&gt;
Don't override CXX/CXXFLAGS/LDFLAGS.&lt;br /&gt;
Create all necessary directories during install.&lt;br /&gt;
Install the example configuration into $(PREFIX)/share/doc/... instead of /etc.]]></description><category></category><pubDate>Mon, 31 Jan 2011 22:34:42 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=512</guid><comments>http://bts.aiken.cz/view.php?id=512#bugnotes</comments></item><item><title>0000511: Problem with Debian Sqeeze (originally mailed to incron@aiken.cz)</title><author></author><link>http://bts.aiken.cz/view.php?id=511</link><description><![CDATA[Debian Sqeeze&lt;br /&gt;
&lt;br /&gt;
Installation from repository with apt-get install incron.&lt;br /&gt;
&lt;br /&gt;
incrontab -l&lt;br /&gt;
/root IN_CREATE ls&lt;br /&gt;
&lt;br /&gt;
touch /root/test&lt;br /&gt;
&lt;br /&gt;
Extract from syslog:&lt;br /&gt;
&lt;br /&gt;
Jan 26 09:23:55 ns5 incrond[17504]: starting service (version 0.5.9, built on Jan 31 2010 23:16:22)&lt;br /&gt;
Jan 26 09:23:55 ns5 incrond[17505]: loading system tables&lt;br /&gt;
Jan 26 09:23:55 ns5 incrond[17505]: loading user tables&lt;br /&gt;
Jan 26 09:23:55 ns5 incrond[17505]: ready to process filesystem events&lt;br /&gt;
Jan 26 09:26:19 ns5 incrond[17505]: table for user root created, loading&lt;br /&gt;
Jan 26 09:26:57 ns5 incrond[17505]: (root) CMD (ls)&lt;br /&gt;
 &lt;br /&gt;
The ‘ls’ command in the example above is not executed. Other commands or program calls tested are  not executed too. We also tested incrontab without success for normal users. It seems it’s not working at all. The same behavior was observed in two different machines with Debian Sqeeze installed.&lt;br /&gt;
&lt;br /&gt;
Is this a Debian Squeeze bug or did we miss some configuration?]]></description><category></category><pubDate>Mon, 31 Jan 2011 22:34:20 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=511</guid><comments>http://bts.aiken.cz/view.php?id=511#bugnotes</comments></item><item><title>0000447: build fixes for gcc4.4</title><author></author><link>http://bts.aiken.cz/view.php?id=447</link><description><![CDATA[We've been carrying the attached patch for a while now in Fedora, would you mind including it?]]></description><category></category><pubDate>Mon, 31 Jan 2011 21:17:29 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=447</guid><comments>http://bts.aiken.cz/view.php?id=447#bugnotes</comments></item><item><title>0000385: Fail to build with GCC 4.4</title><author></author><link>http://bts.aiken.cz/view.php?id=385</link><description><![CDATA[Incron failed to build with the upcoming GCC 4.4.&lt;br /&gt;
&lt;br /&gt;
GCC 4.4 cleaned up some more C++ headers. It requires to #include headers directly and cannot rely for things to be included indirectly.&lt;br /&gt;
&lt;br /&gt;
A patch is attached to fix this issue.]]></description><category></category><pubDate>Mon, 31 Jan 2011 21:17:16 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=385</guid><comments>http://bts.aiken.cz/view.php?id=385#bugnotes</comments></item><item><title>0000510: Captcha problems (originally mailed to incron@aiken.cz)</title><author></author><link>http://bts.aiken.cz/view.php?id=510</link><description><![CDATA[Hey guys,&lt;br /&gt;
&lt;br /&gt;
please fix the captcha image because I'd like to register a new account :)&lt;br /&gt;
&lt;br /&gt;
-- Regards, Christian Ruppert]]></description><category></category><pubDate>Mon, 31 Jan 2011 17:35:11 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=510</guid><comments>http://bts.aiken.cz/view.php?id=510#bugnotes</comments></item><item><title>0000456: Mailing list subscription fails</title><author></author><link>http://bts.aiken.cz/view.php?id=456</link><description><![CDATA[When I tried to subscribe to the mailing list, my message was rejected as SPAM.&lt;br /&gt;
&lt;br /&gt;
Below is the error message (I've removed my domain name since this issue will be public).&lt;br /&gt;
&lt;br /&gt;
I used the email address associated with this Mantis account.]]></description><category></category><pubDate>Mon, 31 Jan 2011 16:20:00 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=456</guid><comments>http://bts.aiken.cz/view.php?id=456#bugnotes</comments></item><item><title>0000492: Problem with user groups</title><author></author><link>http://bts.aiken.cz/view.php?id=492</link><description><![CDATA[We are using incron to manage replication of files between two web&lt;br /&gt;
servers. The files are created by Apache, and are in the Apache group.&lt;br /&gt;
The user who runs the incron script is in the Apache group.&lt;br /&gt;
&lt;br /&gt;
If I run 'groups' from the command line as the incron user, I get:&lt;br /&gt;
&lt;br /&gt;
wps apache&lt;br /&gt;
&lt;br /&gt;
If I run 'groups' from a normal cronjob, I get:&lt;br /&gt;
&lt;br /&gt;
wps apache&lt;br /&gt;
&lt;br /&gt;
But if I run groups from a script called by incron, I get:&lt;br /&gt;
&lt;br /&gt;
wps root bin daemon sys adm disk wheel&lt;br /&gt;
&lt;br /&gt;
Is incron loading the user's groups incorrectly?]]></description><category></category><pubDate>Sat, 04 Dec 2010 16:37:05 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=492</guid><comments>http://bts.aiken.cz/view.php?id=492#bugnotes</comments></item><item><title>0000491: IN_DELETE_SELF doesn't work</title><author></author><link>http://bts.aiken.cz/view.php?id=491</link><description><![CDATA[i'm using Debian Testing and have noticed that incron doesn't seem to process&lt;br /&gt;
IN_DELETE_SELF action properly. shortly, i create a sample dir/file and add line&lt;br /&gt;
like &quot;/path IN_DELETE_SELF some_action&quot;, but when i delete watched file/dir&lt;br /&gt;
(using rm or rmdir) nothing happens. other things i've tried seem to work right.&lt;br /&gt;
please see attached file for original action log (if /tmp/1 is a file, things go&lt;br /&gt;
the same way)]]></description><category></category><pubDate>Fri, 03 Dec 2010 00:21:22 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=491</guid><comments>http://bts.aiken.cz/view.php?id=491#bugnotes</comments></item><item><title>0000470: Root receives undocumented IN_IGNORED event</title><author></author><link>http://bts.aiken.cz/view.php?id=470</link><description><![CDATA[Root, via /etc/incron.d/foo, received an IN_IGNORED event when monitoring file foo when emacs (I believe) deleted foo~ in a second editing session after, in an initial editing session, changing the name of foo to foo~ and leaving it as a backup file.&lt;br /&gt;
&lt;br /&gt;
The identical incrontab entry in the user's incrontab&lt;br /&gt;
&lt;br /&gt;
/home/kop/tmp/incron/foo IN_MODIFY,IN_ATTRIB,IN_CLOSE_WRITE logger -t rootincrontab &quot;Received event $%&quot;&lt;br /&gt;
&lt;br /&gt;
received no such event.  (AFAICT)&lt;br /&gt;
&lt;br /&gt;
In any case IN_IGNORED is not documented in the incrontab(5) man page.]]></description><category></category><pubDate>Sat, 21 Aug 2010 16:37:44 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=470</guid><comments>http://bts.aiken.cz/view.php?id=470#bugnotes</comments></item><item><title>0000469: Incron needs a new symbol to track files by path</title><author></author><link>http://bts.aiken.cz/view.php?id=469</link><description><![CDATA[Incron exhibits somewhat inconsistent behavior in that it tracks files by inode (I assume) but these files are specified by path in the incrontab.  So, if you delete a file and re-create it, as some commonly used editors do as part of the editing process, the file is no longer tracked -- until incrond is restarted or&lt;br /&gt;
(I assume) the incrontab file is modified at which point the (new) file is again tracked.&lt;br /&gt;
This 'impedance mismatch' is a bit odd.&lt;br /&gt;
&lt;br /&gt;
I assume this is the intended design.  It is the behavior I observe.&lt;br /&gt;
&lt;br /&gt;
If nothing else a note of this issue should be made in the documentation.&lt;br /&gt;
&lt;br /&gt;
It would be nice if incron had a new symbol, say IN_TRACK_PATH, that keeps the tracking associated with the pathname given in the config file. I assume this could be done by monitoring the parent directory for changes and watching for the file name to come into existence, the name of the file to change, etc.  &lt;br /&gt;
&lt;br /&gt;
I would think that the desire to track changes to a file that exists in a particular filesystem location is rather common.  Absent this feature it's up to the user to repeatedly script such things.&lt;br /&gt;
&lt;br /&gt;
Note that such a change alters the meaning of existing symbols, e.g., changing the file name would be equivalent to deleting the file, etc.&lt;br /&gt;
I don't know whether it makes sense to re-use the existing symbols in this new context or to come up with entirely new ones.]]></description><category></category><pubDate>Sat, 21 Aug 2010 16:37:21 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=469</guid><comments>http://bts.aiken.cz/view.php?id=469#bugnotes</comments></item><item><title>0000468: incron logs command to execute but command is not executing</title><author></author><link>http://bts.aiken.cz/view.php?id=468</link><description><![CDATA[Attaching usage log, for reference.&lt;br /&gt;
&lt;br /&gt;
# empting &quot;log&quot;&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ &gt; /tmp/ic.log &lt;br /&gt;
&lt;br /&gt;
# verifying incrontab&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ incrontab -l&lt;br /&gt;
/home/andres/maps IN_MODIFY /usr/bin/make -C $@ &gt; /tmp/ic.log 2&gt;&amp;1&lt;br /&gt;
&lt;br /&gt;
# modifying file&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ cat &gt; maps/all.dot &lt;&lt;EOF&lt;br /&gt;
&gt; digraph&lt;br /&gt;
&gt; {&lt;br /&gt;
&gt;   nod&lt;br /&gt;
&gt; }&lt;br /&gt;
&gt; &lt;br /&gt;
&lt;br /&gt;
# validating date&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ date&lt;br /&gt;
Tue Jun  1 10:01:39 COT 2010&lt;br /&gt;
&lt;br /&gt;
# verifying syslog, the commands is &quot;executed&quot;&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ su -c &quot;tail -5 /var/log/syslog&quot;&lt;br /&gt;
Password: &lt;br /&gt;
Jun  1 10:01:33 terminus incrond[5924]: (andres) CMD (/usr/bin/make -C /home/and&lt;br /&gt;
res/maps &gt; /tmp/ic.log 2&gt;&amp;1)&lt;br /&gt;
Jun  1 10:01:33 terminus incrond[5924]: (andres) CMD (/usr/bin/make -C /home/and&lt;br /&gt;
res/maps &gt; /tmp/ic.log 2&gt;&amp;1)&lt;br /&gt;
&lt;br /&gt;
# verifying Makefile&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ cat maps/Makefile &lt;br /&gt;
all: all.png&lt;br /&gt;
&lt;br /&gt;
all.png: all.dot&lt;br /&gt;
        dot -Tpng $&lt; &gt; $@&lt;br /&gt;
&lt;br /&gt;
# log is empty&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ cat /tmp/ic.log&lt;br /&gt;
&lt;br /&gt;
# outfile is outdated&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ ls -l maps/all.png &lt;br /&gt;
-rw-r--r-- 1 andres andres 12457 2010-06-01 09:58 maps/all.png&lt;br /&gt;
&lt;br /&gt;
# the command works&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ /usr/bin/make -C /home/andres/maps &gt; /tmp/ic.log 2&gt;&amp;1&lt;br /&gt;
&lt;br /&gt;
# outfile is updated&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ ls -l maps/all.png &lt;br /&gt;
-rw-r--r-- 1 andres andres 133 2010-06-01 10:04 maps/all.png&lt;br /&gt;
&lt;br /&gt;
# &quot;log&quot; is logging&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ cat /tmp/ic.log &lt;br /&gt;
make: Entering directory `/home/andres/maps'&lt;br /&gt;
dot -Tpng all.dot &gt; all.png&lt;br /&gt;
make: Leaving directory `/home/andres/maps'&lt;br /&gt;
&lt;br /&gt;
andres@terminus:~$ date&lt;br /&gt;
Tue Jun  1 10:05:11 COT 2010&lt;br /&gt;
&lt;br /&gt;
# weird]]></description><category></category><pubDate>Sat, 21 Aug 2010 16:37:03 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=468</guid><comments>http://bts.aiken.cz/view.php?id=468#bugnotes</comments></item><item><title>0000397: duplicate events firing</title><author></author><link>http://bts.aiken.cz/view.php?id=397</link><description><![CDATA[incrond: 0.5.8&lt;br /&gt;
Kernel 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 i686 i386 GNU/Linux&lt;br /&gt;
&lt;br /&gt;
I cannot explain this one.&lt;br /&gt;
&lt;br /&gt;
incrond is reporting multiple events where events only happened (AFAIK) one time.  This has been confounding as, if I trigger file operations against IN_CLOSE_WRITE, sometimes these operations are being launched twice (sometimes three times) and are therefore clobbering one another.&lt;br /&gt;
&lt;br /&gt;
Details below.]]></description><category></category><pubDate>Fri, 02 Jul 2010 14:23:34 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=397</guid><comments>http://bts.aiken.cz/view.php?id=397#bugnotes</comments></item><item><title>0000449: incrontab(1) mangles comments in incrontab(5)</title><author></author><link>http://bts.aiken.cz/view.php?id=449</link><description><![CDATA[incrontab(1) mangles comments in incrontab(5): it changes the first word on every comment line to &quot;0&quot;.  For example, if I run incrontab and create a file with the following comment lines:&lt;br /&gt;
&lt;br /&gt;
# Only put 1 space between fields 2 and 3!  Additional whitespace will be&lt;br /&gt;
# assumed to be part of field 3, causing the command to fail!&lt;br /&gt;
&lt;br /&gt;
then incrontab -l shows that I have the following incrontab file:&lt;br /&gt;
&lt;br /&gt;
# 0 put 1 space between fields 2 and 3!  Additional whitespace will be&lt;br /&gt;
# 0 to be part of field 3, causing the command to fail!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To clarify, this doesn't just matter because of comments, although they're important.  It also means that I can't temporarily disable a line by commenting it out-- if I do, then incrontab will replace the path entry by a 0.]]></description><category></category><pubDate>Sat, 05 Jun 2010 23:46:43 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=449</guid><comments>http://bts.aiken.cz/view.php?id=449#bugnotes</comments></item><item><title>0000461: Allow line wrapping</title><author></author><link>http://bts.aiken.cz/view.php?id=461</link><description><![CDATA[It would be good to have possibility to wrap lines in incron tables (eg. using the backslash character). Very long lines are poorly readable.]]></description><category></category><pubDate>Sat, 05 Jun 2010 23:43:20 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=461</guid><comments>http://bts.aiken.cz/view.php?id=461#bugnotes</comments></item><item><title>0000459: Get cookie when IN_MOVE* event is thrown</title><author></author><link>http://bts.aiken.cz/view.php?id=459</link><description><![CDATA[Hello,&lt;br /&gt;
&lt;br /&gt;
Don't be to cruel, I have never coded in c++ but I made a patch that allow me to get the cookie when an IN_MOVED_TO, IN_MOVED_FROM or IN_MOVE events are thrown.&lt;br /&gt;
It replace the $§ parameter on the entry line.&lt;br /&gt;
I don't know if it's the best symbol for that and if someone is interested in it, but it's avoid me real pain to track some mv in folders.&lt;br /&gt;
&lt;br /&gt;
Hope you will enjoy it and I am open to remarks&lt;br /&gt;
&lt;br /&gt;
JC Passard]]></description><category></category><pubDate>Fri, 21 May 2010 01:02:03 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=459</guid><comments>http://bts.aiken.cz/view.php?id=459#bugnotes</comments></item><item><title>0000457: Inotify maintains list of InotifyWatch objects that could be dead</title><author></author><link>http://bts.aiken.cz/view.php?id=457</link><description><![CDATA[In the example.cpp, only one watch is added, and remains in-scope during the whole process. However, if I want to add more than one watch, and do so in a for-loop, the watch goes out of scope, and thus Inotify::GetWatch() references a dead object.&lt;br /&gt;
&lt;br /&gt;
Attached is an example of what I'm talking about, with some output for when InotifyWatch is constructed/destructed.&lt;br /&gt;
&lt;br /&gt;
And since InotifyWatch has no default constructor, there's really no way to create an array of InotifyWatch* that will outlast the Inotify object, and thus remain alive.&lt;br /&gt;
&lt;br /&gt;
My thought would be to make a copy of the InotifyWatch* when it is added, and then make sure to clean up when RemoveAll() is executed. However, since this code has been around for a long time, I'm guessing there's a reason you didn't do it that way, and I'd love to hear why.&lt;br /&gt;
&lt;br /&gt;
Also, you've got two Inotify::Add() methods, one for a reference, and one for a pointer, thereby implying that object lifetime is handled differently depending on which method is used.]]></description><category></category><pubDate>Mon, 26 Apr 2010 22:05:24 +0200</pubDate><guid>http://bts.aiken.cz/view.php?id=457</guid><comments>http://bts.aiken.cz/view.php?id=457#bugnotes</comments></item><item><title>0000455: Minimizing to the systen tray</title><author></author><link>http://bts.aiken.cz/view.php?id=455</link><description><![CDATA[Try to find a platform independent way how to implement minimizing to the system tray.]]></description><category></category><pubDate>Sat, 27 Mar 2010 13:41:47 +0100</pubDate><guid>http://bts.aiken.cz/view.php?id=455</guid><comments>http://bts.aiken.cz/view.php?id=455#bugnotes</comments></item></channel></rss>

