[RPL/2] did i found a bug ?

BERTRAND Joel joel.bertrand at systella.fr
Ven 12 Nov 09:08:23 CET 2010


DEMAINE Benoit-Pierre a écrit :
> On 10/11/10 20:33, BERTRAND Joel wrote:
>>      Have you tried my patch ? I'm waiting for you to push this patch in
>> main tree...
>
> Before update:
>
> dhp at uranus ~ $ rpl
> +++RPL/2 (R) version 4.0.19 (Sunday 10/17/10, 18:25:38 CEST)
> +++Copyright (C) 1989 to 2009, 2010 BERTRAND Joel
>
> +++This is a free software with absolutely no warranty.
> +++For details, type 'warranty'.
>
> RPL/2>  100 1024* 50 *
>
> 2: 100
> RPL/2>  100 1024 * 50 /
> +++System : Memory allocation error [15088]
> dhp at uranus ~ $
>
> After:
>
> dhp at uranus ~ $ rpl
> +++RPL/2 (R) version 4.0.19 (Friday 11/12/10, 01:25:15 CET)
> +++Copyright (C) 1989 to 2009, 2010 BERTRAND Joel
>
> +++This is a free software with absolutely no warranty.
> +++For details, type 'warranty'.
>
> RPL/2>  100 1024* 50 *
> +++Error : Syntax error [32019]
> RPL/2>  100 1024 * 50 /
>
> 1: 2048
> RPL/2>  100 1024 * 50 *
>
> 2: 2048
> 1: 5120000
> RPL/2>  exit
> dhp at uranus ~ $
>
> Works for me.
>
> As it is obvious, i just did a typo; memory issues were very frequent in
> some kernels on my box, but in less than one minute, i could see that THIS
> error was very easy to reproduce. And app spécific. Thus, not 100% sure it
> was RPL bug (or kernel).
>
> Oh, sth else may look strange to you: rpl is for me an alias to "rpl -is"
> ^^ faster to type.

	Thanks for your test.

	JKB


Plus d'informations sur la liste de diffusion RPL2