pike.git / src / modules / _Stdio / buffer.cmod

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:862:    if( s->size_shift ) Pike_error("Buffer only handles 8bit data\n");    if( !io->buffer )    {   #ifdef PIKE_DEBUG    if (io->str) Pike_fatal("Buffer with string but NULL buffer.\n");   #endif    io->str = s;    io->buffer = (unsigned char*)s->str;    io->len = s->len;    add_ref(s); +  io_trigger_output( io );    }    else    io_append( io, s->str, s->len );    }    break;    case PIKE_T_ARRAY:    {    struct array *argp = p->u.array;    INT_TYPE i;    DECLARE_CYCLIC();