Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 232957 Details for
Bug 318937
sys-power/nut-2.4.3 needs upstream patch to fix problem with low-speed USB devices
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nut-2.4.3-lowspeed-buffer-size.patch
nut-2.4.3-lowspeed-buffer-size.patch (text/plain), 739 bytes, created by
Martin Gysel (bearsh)
on 2010-05-26 07:07:54 UTC
(
hide
)
Description:
nut-2.4.3-lowspeed-buffer-size.patch
Filename:
MIME Type:
Creator:
Martin Gysel (bearsh)
Created:
2010-05-26 07:07:54 UTC
Size:
739 bytes
patch
obsolete
>http://bugs.gentoo.org/show_bug.cgi?id=318937 >http://boxster.ghz.cc/projects/nut/changeset/2407 > >--- drivers/libhid.c.orig 2010-02-11 22:43:23.000000000 +0100 >+++ drivers/libhid.c 2010-05-26 08:49:42.000000000 +0200 >@@ -141,7 +141,7 @@ > { > int id = pData->ReportID; > int r; >- unsigned char buf[SMALLBUF]; >+ unsigned char buf[8]; /* Maximum size for low-speed USB devices */ > > if (rbuf->ts[id] + age > time(NULL)) { > /* buffered report is still good; nothing to do */ >@@ -469,7 +469,7 @@ > */ > int HIDGetEvents(hid_dev_handle_t udev, HIDData_t **event, int eventsize) > { >- unsigned char buf[SMALLBUF]; >+ unsigned char buf[8]; /* Maximum size for low-speed USB devices */ > int itemCount = 0; > int buflen, r, i; > HIDData_t *pData;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 318937
: 232957