<br><br><div class="gmail_quote">2011/4/18 Arjen de Korte <span dir="ltr"><<a href="mailto:nut%2Bdevel@de-korte.org">nut+devel@de-korte.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Citeren Arnaud Quette <<a href="mailto:aquette@alioth.debian.org" target="_blank">aquette@alioth.debian.org</a>>:<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Log:<br>
Trim extraneous end-of-line, in buggy HID string tables, which results in upsc breaking the communication pipe (Ubuntu bug #753661)<br>
</blockquote>
<br></div>
We have 'rtrim' to do this:<br>
<br>
- return buf;<br>
+ return rtrim(buf, '\n');<br></blockquote><div><br>uhoh, how did I miss that!<br>thanks for the proof reading Arjen ;-)<br><br>cheers,<br>Arnaud<br> </div></div>