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

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:2737:    this->buffer = xalloc(len);    this->allocated = MAXIMUM(len,1);    this->malloced = 1;    }    else    io_append_svalue( THIS, x );    }       INIT {    Buffer *this = THIS; -  memset( this, 0, sizeof(Buffer)); +     this->max_waste = 0.615;    this->this = Pike_fp->current_object;    }       EXIT {    Buffer *this = THIS;    io_unlink_external_storage( this );    if( this->error_mode )    free_program( this->error_mode );    if( this->malloced )