Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#36 lsusb -t fails with parent id 09

open
nobody
None
5
2007-11-22
2006-06-14
Tom Parker
No

lsusb in devtree.c uses strtoul with '0' for a base
argument to interpret the "T:" lines in
/proc/bus/usb/devices. However, if an entry is '09',
then it gets interepreted as an octal number (due to
the leading '0') but then gets returned as '0' (as '9'
isn't a valid character for an octal number). The
following patch makes devtree.c use base 10 for
interpreting the 'T:' lines.

Discussion

  • Tom Parker
    Tom Parker
    2006-06-14

     
    Attachments
    • assigned_to: nobody --> dlbrown
     
  • David L Brown
    David L Brown
    2007-11-22

    • assigned_to: dlbrown --> nobody