On Fri, 2010-02-19 at 12:10 +0000, Bastien Nocera wrote:
Heya,
2 small patches for openobex.
The first patch fixes libusb1 compilation on my machine.
For the second patch, when libusb1 is used, we can set self->fd to be a
monitoring file descriptor for incoming data.
With that patch, I could make osso-gwobex work with USB connections.
There's still some bugs to take care of, but I believe this patch to be
correct. Are there any places in openobex where the self->fd will be
directly when connected via USB? If so, those would need to be fixed as
well.
Another patch to fix an invalid memory access when obex_transport_read()
has to resize its buffer.