Branch: Tag:

2014-09-03

2014-09-03 17:53:37 by Martin Nilsson <nilsson@opera.com>

memset is C89 and 4.3BSD

3285:    str->str.known_shift = shift;       if (s->len < pos) // Clear the padding -  MEMSET(s->str + (s->len << s->size_shift), +  memset(s->str + (s->len << s->size_shift),    0, (pos - s->len) << s->size_shift);       for(j = 1; j<args; j++) {
3487:    INIT    {    struct Buffer_struct *str = THIS; -  MEMSET( str, 0, sizeof( *str ) ); +  memset( str, 0, sizeof( *str ) );    }       EXIT
3674:       INIT    { -  MEMSET(&THIS->ctx, 0, sizeof(struct replace_many_context)); +  memset(&THIS->ctx, 0, sizeof(struct replace_many_context));    }       EXIT