Philippe Gerum wrote:
> Wolfgang Grandegger wrote:
>> Hello,
>>
>> attached is a fix for a nice bug in xnintr_irq_proc() of Xenomai v2.3.x.
> 
> Mmf... Thanks.
> 
>> Check for tabs. I have not checked if it's present in recent versions as
>> well.
> 
> Even if a bit overkill, I would even go for something like
> p += sprintf(p, "...
> just to be sure we won't get hit again.

Yes, and replacing the tabs with "\t" in case we need them. They seem to
be gone in the trunk.

> (or even snprintf() for the paranoïds among us).

Definitely, especially because the name field of xnintr_t is a pointer.

Wolfgang.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to