pike.git / lib / modules / Protocols.pmod / IMAP.pmod / parse_line.pike

version» Context lines:

pike.git/lib/modules/Protocols.pmod/IMAP.pmod/parse_line.pike:95:    ({ "\"", "\\" }) );    buffer = buffer[i+1..];    return res;    }    }    }    case '{':    {    if (buffer[sizeof(buffer)-1..] != "}")    return 0; -  string n = buffer[1..sizeof(buffer)-2]; +  string n = buffer[1..<1];       buffer = "";    if ( (sizeof(values(n) - values("0123456789")))    || (sizeof(n) > 9) )    return 0;    if (!sizeof(n))    return 0;       return partial_literal(array_sscanf(n, "%d")[0]);    }
pike.git/lib/modules/Protocols.pmod/IMAP.pmod/parse_line.pike:345:       if (!options) {    werror("get_atom_options(): No options.\n");    res->raw = atom + "[]";    res->options = ({ ([ "type":"atom", "atom":"" ]) });    return res;    }       res->options = options;    res->raw = atom + -  option_start[..sizeof(option_start) - sizeof(buffer) - 1]; +  option_start[..<sizeof(buffer)];          if (!sizeof(buffer) || (buffer[0] != '<'))    return res;       /* Parse <start.size> suffix */    buffer = buffer[1..];       int start = get_number();    if ((start < 0) || !sizeof(buffer) || (buffer[0] != '.'))