Branch: Tag:

2014-09-03

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

memset is C89 and 4.3BSD

2453:       switch (s->s->size_shift) {    case 0: -  MEMSET (STR0 (s->s) + s->s->len, ch, count); +  memset (STR0 (s->s) + s->s->len, ch, count);    break;    case 1: {    int i;
2608:    len == 1 &&    (!from.shift || !min_magnitude(EXTRACT_PCHARP(from))))    { -  MEMSET(string_builder_allocate(s,howmany,0), +  memset(string_builder_allocate(s,howmany,0),    EXTRACT_PCHARP(from),    howmany);    /* Ensure NUL-termination */
3546:    character after the last one used in the number is put in *ENDPTR. */   PMOD_EXPORT double STRTOD_PCHARP(PCHARP nptr, PCHARP *endptr)   { -  /* Note: Code duplication in STRTOD. */ +  /* Note: Code duplication in strtod. */       register PCHARP s;    short int sign;