<br><br><div class="gmail_quote">2011/4/18 Arjen de Korte <span dir="ltr">&lt;<a href="mailto:nut%2Bdevel@de-korte.org">nut+devel@de-korte.org</a>&gt;</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 &lt;<a href="mailto:aquette@alioth.debian.org" target="_blank">aquette@alioth.debian.org</a>&gt;:<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 &#39;rtrim&#39; to do this:<br>
<br>
- return buf;<br>
+ return rtrim(buf, &#39;\n&#39;);<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>