Branch: Tag:

2017-08-11

2017-08-11 09:08:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Random: Fixed loss of references to the empty string.

Calling random_string() with 0 caused the empty string
to lose a reference.

2331:    char *str;       if( !len ) -  RETURN empty_pike_string; +  REF_RETURN empty_pike_string;    if( len<0 )    Pike_error("Bad argument 1 to random_string(). Expected int(0..).\n");