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

Re: installing gtk+1.2.8



On Thu, Jan 25, 2001 at 02:16:22PM -0600, Jonathan Bartlett wrote:
> HURD does not have a MAXPATHLEN defined.  Anyone know what the best
> work-around is for that?  Generally, I've just modified a header file to
> set it to 2-4k or something.  Is there a better way?  Generally, people
> like allocating fixed-size buffers - what's the best fix?
> 
> Jon

Use unconstrained allocation facilities provided by glibc.
Use malloc, realloc, asprintf, strdup, etc. You can find
examples of usage in the glibc info documentation.

Also search for MAXPATHLEN in the debian-hurd archives, it
has been discussed at length.

Igor



Reply to: