[DGD] String Bug
Raymond Jennings
shentino at gmail.com
Wed Mar 1 12:06:05 CET 2017
What part is the bug?
Trying to index character 5 of a string that has only three characters in
it causes a runtime error as it is supposed to. Are you referring to the
memory leak message?
On Tue, Feb 28, 2017 at 6:26 PM, Blain <blain20 at gmail.com> wrote:
> str = "000";
> str[5] = '1';
>
> -----
>
> $ ./start
> Starting bare...
> Feb 28 20:25:24 ** DGD 1.5.5
> Feb 28 20:25:24 ** Initializing...
> Feb 28 20:25:24 ** String index out of range
> 376 initialize /kernel/sys/driver
> 365 _initialize /kernel/sys/driver
> 9 create /usr/System/initd
> Feb 28 20:25:24 ** Initialization failed.
> FREE(2009cec8/16), str.cpp line 49:
> 00 00 00 00 00 00 00 00 03 00 '0 '0 '0 00 'J 00
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
More information about the DGD
mailing list