Re: A not-really-important-but-still-a BUG in Eup2
>Watch this:
>
>-- Euphoria code from machine.e allocate_string ()
>atom mem
>
> mem = allocate (length(string)) -- Or something like that
> poke (mem, s & 0)
>
> return mem
>end function
>
>-- You better redo this routine
>
>You don't want to be 'out of memory' and using allocate_string...
I don't understand the bug. From your example I see you poked
length(string)+1 bytes on a length(string) buffer. That's a programmers
error, not an Euphoria bug.
Oops! I just read the intro line of the code... Rob, that's a programmers
error...
Eagle eye Ralf!
Regards,
Daniel Berstein.
|
Not Categorized, Please Help
|
|