Branch: Tag:

2016-12-16

2016-12-16 17:48:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Strings: Get rid of magic numeric constant ~15 in string handling.

1787:    const struct pike_string *b)   {    if( !b->len ) { -  ret->flags |= aflags & ~15; +  ret->flags |= aflags & STRING_CHECKED_MASK;    ret->min = amin;    ret->max = amax;    return;