Andrew Vagin wrote:
On Wed, Mar 04, 2009 at 10:28:21AM +0100, Francesco RUNDO wrote:
Ok, just to better describe my opinion (I hope without misunderstanding
;-)
In the while loop we're analyzing, you rightly process the notified
events with different checks.Ok, it is right.
My suggest is to avoid to use "also" the check (with TFAIL) related to
TST_COUNT as it will be of course executed.
In fact, the events to be notified are 9 (the value of TST_COUNT) but if
we start with tst_count=0, at the end (tst_count=9) you got a
"tst_resm(TFAIL, "get unnecessary event:......." even though "all the
notified events" have been rightly processed. I'm not sure about that.
No, you don't. At the end, tst_count (or test_num) will be 9, but you will
already have run out of the buffer, so the "unnecessary event..." will
not be reported. See:
may be you use old kernel, it had bug, read follow links:
http://sourceforge.net/mailarchive/forum.php?thread_name=1137da9d0808260129s64327d9bva1ecc47122a0d064%40mail.gmail.com&forum_name=ltp-list
https://bugzilla.redhat.com/show_bug.cgi?id=453990
Yes, you're likely right as I've read the info at URL you sent me.
I've noted that the inotify02-bug was fixed on 2.6.25. I'm using a
2.6.23 (SH arch) which is lilely the reason for which I got the reported
error.
Ok, I keep internally the patch till I replace my kernel with a 2.6.25.
Thanks so much for your info.
Regards,
FR
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list