pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:2367:    cont = 6;    c = 0;    }    while(cont--) {    unsigned int c2 = STR0(in)[i++] & 0x3f;    c = (c << 6) | c2;    }    if ((extended & 2) && (c & 0xfc00) == 0xdc00) {    /* Low surrogate */    c &= 0x3ff; -  c |= ((out_str[--j] & 0x3ff)<<10) | 0x10000; +  c |= ((out_str[--j] & 0x3ff)<<10) + 0x10000;    }    }    out_str[j++] = c;    }    break;    }    }      #ifdef PIKE_DEBUG    if (j != len) {