pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:1994:    struct pike_string *b)   {    if( !b->len ) {    ret->flags |= aflags & ~15;    ret->min = amin;    ret->max = amax;    return;    }    if( aflags & b->flags & STRING_CONTENT_CHECKED )    { -  ret->min = MIN( amin, b->min ); -  ret->max = MAX( amax, b->max ); +  ret->min = MINIMUM( amin, b->min ); +  ret->max = MAXIMUM( amax, b->max );    ret->flags |= STRING_CONTENT_CHECKED;    }    else    ret->flags &= ~STRING_CONTENT_CHECKED;       ret->flags &= ~(STRING_IS_LOWERCASE | STRING_IS_UPPERCASE);    ret->flags |= (aflags & b->flags & (STRING_IS_LOWERCASE | STRING_IS_UPPERCASE));   }      PMOD_EXPORT void update_flags_for_add( struct pike_string *a, struct pike_string *b)