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

Re: libusb & PATH_MAX

Carl Fredrik Hammar, le Sun 17 May 2009 21:48:01 +0200, a écrit :
> On Sun, May 17, 2009 at 09:23:38PM +0200, Samuel Thibault wrote:
> > Carl Fredrik Hammar, le Sun 17 May 2009 21:18:57 +0200, a écrit :
> > > In that case we could just remove the PATH_MAX.
> > 
> > That'd prevent from actually providing USB someday.
> Yes, but I think we should wait with a real solution until we actually
> have USB support and can test it.  In the mean time I think its best
> to have a non-solution that breaks loudly as soon we do have USB.

I don't understand your reasoning.  What do you precisely mean by
'remove the PATH_MAX'?  Since you were talking about applications not
even using the result I assumed you meant something like

	char filename[1];

but then once compiled this way, these applications won't work even if
after that we provide a libusb that works.  Or did you mean one of the
solutions I proposed?  (e.g. LIBUSB_PATH_MAX)

> (By then most apps will probably be using libusb2 anyways.)

Not necessarily so probable.  See how long it took to get rid of gtk


Reply to: