Is there a way to do that that isn't a) insecure
or b) a pain in the butt? For example, if you are reading in from a text stream, you have to have a fixed-size, preallocated buffer, don't you? You could use multiple buffers, but that falls into the (b) category. Is there a standard function that I'm not thinking of that helps this out? Jon On Thu, 25 Jan 2001, Adam Olsen wrote: > 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? > > The only proper way is to rewrite the program to use dynamically sized > buffers. > > > > > Jon > > > > On Thu, 25 Jan 2001, Petros Sidiropoulos wrote: > > > > > hello, i need some help > > > I tried to compile gtk (gimp toolkit), but 'make' returns errors. The > > > output of make is attached to this message in order someone could help on > > > this. > > > Do i have any possibility to install succesfully gtk ? > > > Before gtk I compile glib( ?? ). Is there any way to ensure if the > > > installation of these packages is proper? > > > > > > thank you, > > > /Petros < [EMAIL PROTECTED] > \ /|/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > PGP information is available at http://members.wri.com/johnnyb/about/ > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- PGP information is available at http://members.wri.com/johnnyb/about/

