Branch: Tag:

2014-09-03

2014-09-03 18:14:04 by Martin Nilsson <nilsson@opera.com>

memcpy is C89 and 4.3BSD

87:    }    len -= s->skip;    buffer = malloc( len ); -  MEMCPY( buffer, s->str->str+s->skip, len); +  memcpy( buffer, s->str->str+s->skip, len);    }    else    {
100:    s->s.eof = 1;    }    buffer = malloc( len ); -  MEMCPY( buffer, s->str->str, len ); +  memcpy( buffer, s->str->str, len );    }    res.data = buffer;    res.len = len;