Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] bug in mark-comments (vdr-1.2.5)



Hi,
after playing a little bit with mark-comments, i've noticed the following bug:
Whenever vdr loads the marks, it cuts the last char of a given comment for a 
mark. There's a statement in cMark::Parse that should strip a trailing 
newline character, but it cuts the last char of the comment. The reason is 
using stripspace for every line in cConfig load. stripspace uses isspace, so 
the newline-character is already stripped. The line
        comment[strlen(comment) - 1] = 0; // strips trailing newline
in cMark::Parse should be dropped.

Greetings 
theNoad



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index