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

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:451:    PMOD_EXPORT void io_actually_trigger_output( Buffer *io )    {    if (UNLIKELY(!io->output.u.object->prog)) {    /* Destructed object. */    free_svalue(&io->output);    SET_SVAL(io->output, PIKE_T_INT, NUMBER_NUMBER, integer, 0);    return;    }       if ( io->output.u.object ) { -  struct svalue output_fun = io->output; -  +  move_svalue(Pike_sp++, &io->output);    SET_SVAL(io->output, PIKE_T_INT, NUMBER_NUMBER, integer, 0); -  -  safe_apply_svalue(&output_fun, 0, 1); -  free_svalue(&output_fun); +  apply_svalue(Pike_sp-1, 0); +  pop_n_elems(2);    }    }       static int io_range_error( Buffer *io, ptrdiff_t howmuch )    ATTRIBUTE((noclone,noinline));       static int io_range_error( Buffer *io, ptrdiff_t howmuch )    {    int res;    struct svalue *osp = Pike_sp;