> I solve it this way (main idea):
> snprintf(buf + strlen(buf), " append");
Ugh typo mistake:
snprintf(buf + strlen(buf), sizeof(buf), " append");
My hands are faster than my head :-(
There is buffer overrun erron becouse I have to decrease sizeof(buf) with
strlen(buf).
So I attach second try of this patch againist CVS HEAD.
Comments are welcome
Luf