On Thursday, 22. September 2011, Thomas Reinke wrote:
> Be careful of one thing, iirc there is a difference between
>
> a = "hi\n";
>
> and
>
> a = string("hi\n");
>
> The first, iirc, is a 4 character string nil terminated. The
> second one is a 3 character string ('h', 'i', newline) nil
> terminated.
Isn't 'hi\n' == string("hi\n") ?
--
Dr. Jan-Oliver Wagner | ++49-541-335084-0 | http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-plugins mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-plugins