Arjen de Korte
2011-Apr-18 18:53 UTC
[Nut-upsdev] [nut-commits] svn commit r2972 - trunk/drivers
Citeren Arnaud Quette <aquette op alioth.debian.org>:> Log: > Trim extraneous end-of-line, in buggy HID string tables, which > results in upsc breaking the communication pipe (Ubuntu bug #753661)We have 'rtrim' to do this: - return buf; + return rtrim(buf, '\n'); Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected)
Arnaud Quette
2011-Apr-18 19:09 UTC
[Nut-upsdev] [nut-commits] svn commit r2972 - trunk/drivers
2011/4/18 Arjen de Korte <nut+devel at de-korte.org>> Citeren Arnaud Quette <aquette at alioth.debian.org>: > > > Log: >> Trim extraneous end-of-line, in buggy HID string tables, which results in >> upsc breaking the communication pipe (Ubuntu bug #753661) >> > > We have 'rtrim' to do this: > > - return buf; > + return rtrim(buf, '\n'); >uhoh, how did I miss that! thanks for the proof reading Arjen ;-) cheers, Arnaud -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110418/67871bf0/attachment.htm>
Possibly Parallel Threads
- [nut-commits] svn commit r2731 - in trunk/docs: . man website website/scripts
- [nut-commits] svn commit r1557 - trunk
- [nut-commits] svn commit r2610 - branches/silent_build
- [nut-commits] svn commit r1846 - in trunk: . clients common drivers include man server
- [nut-commits] svn commit r1800 - in trunk: . data drivers