This directory contains various patches for Lejos[1]. Patches should normally be applied in the order specified by the prefix of the file name. 00libnxt_cleanup.patch Source code cleanup of the C-parts of the NXT Java wrapper. The C-source now follows something that is similar to the NetBSD or KNF style, at least it is more and hopefully readable now. All of the subsequent patches depend on this patch. 01libnxt_remove_unused.patch Remove unused static functions and data. Fixes warnings in some compilers. 02libnxt_todo.patch Add a TODO about a potential bug where usb_bulk_read return values aren't handled properly. 03libnxt_timeout_workaround.patch Workaround for broken libusb timeout handling in some Solaris based systems. At least SUNWlibusbut doesn't implement timeouts for I/O calls according to its documentation. I really don't know if the buffer flush that the disabled bulk transfer calls are supposed to provide really make any difference, things seem to work fine when they are disabled. -- 2010-02-16 Andreas Sandberg [1] http://lejos.sourceforge.net/