Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATH_MAX used dangerously -- do we care?



On Jul 25, 10:13pm, Zoltan Hidvegi wrote:
} Subject: Re: PATH_MAX used dangerously -- do we care?
}
} > Finally, the last hunk below makes use of DIGBUFSIZE in a couple of
} > places in params.c where it appeared it should have been used.
} 
} That's wrong.  DIGBUFSIZE should be be used when a buffer has to store
                                   ^^^^^
				Ah, I get it ... the first "be" there
				is a typo that should say "not".
} things like -2#101100001011101...  DIGBUFSIZE is for decimal digit buffers
} only.

I understand; you're right, DIGBUFSIZE isn't large enough.

-- 
Bart Schaefer                             Brass Lantern Enterprises
http://www.well.com/user/barts            http://www.nbn.com/people/lantern

New male in /home/schaefer:
>N  2 Justin William Schaefer  Sat May 11 03:43  53/4040  "Happy Birthday"




Messages sorted by: Reverse Date, Date, Thread, Author