pike.git / src / stralloc.c

version» Context lines:

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