Re: Bug in getArgs



About this list Date view Thread view Subject view Author view

Malcolm Wallace (malcolm-nhc@cs.york.ac.uk)
Mon, 9 Apr 2001 14:30:11 +0100


> import System > main = print =<< getArgs > > The program crashes when run with an even but non-zero number of arguments. What a bizarre bug! Thanks for the report. It is now fixed in CVS. (Turned out to be an off-by-one error in allocating space for the arguments.) Regards, Malcolm


About this list Date view Thread view Subject view Author view