Branch: Tag:

2015-02-23

2015-02-23 14:25:49 by Arne Goedeke <el@laramies.com>

Stdio.Buffer: trigger write cb when adding to empty buffer

When the buffer was empty and a new string was added to it,
the write callback was not triggered.

869:    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 );