Branch: Tag:

2019-02-02

2019-02-02 17:12:32 by Tobias S. Josefowitz <tobij@tobij.de>

Stdio.Buffer: Let the GC know again about our on_write callback

Removed in the buffer mode API change commit, but turned out to not do
nothing.

83:       CVAR Buffer b;    +  EXTRA +  { +  PIKE_MAP_VARIABLE("__output", OFFSETOF(Buffer_struct, b.output), +  tMix, PIKE_T_MIXED, ID_PRIVATE|ID_HIDDEN|ID_PROTECTED); +  } +  +     static void io_set_error_mode( Buffer *io, struct program *m )    {    if( m ) add_ref(m);