Re: Why we disable the USB link on platforms other than Linux?



Matt Davey wrote:

On Fri, 2005-06-24 at 09:17, Calvin Liu wrote:
Hi, there,

Here is a piece of code from gpilotd/gpilotd.c. If I'm correct, in line
971, g_assert_not_reached() will terminal the process on any platforms
other than Linux.
Why we have to do it?

It is a sanity check.
As the name implies, it should never be reached because the
USB_VISOR option only makes sense on linux.
Since the latest version of pilot-link-0.12.0-pre4 (use libusb) works fine on Solaris. I hope we can change this part of code to make gnome-pilot works on Solaris with libusb support.

- Calvin

Matt




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]