Branch: Tag:

2017-09-24

2017-09-24 08:59:11 by Arne Goedeke <el@laramies.com>

Stdio.Buffer: added more missing io_trigger_output calls

add_padding() and add_bignum() did not trigger the fd output callback.

719:    *d++ ^= 0xff; /* pad, but that is 0xff */    mpz_clear(&tmp);    } +  io_trigger_output( io );    }       static void io_add_int_uc( Buffer *io, ptrdiff_t i, size_t bytes )
1214:    memset( io_add_space( io, nbytes,0), byte, nbytes );    io->len += nbytes;    Pike_sp -= args; +  io_trigger_output( io );    ref_push_object( io->this );    }   
1320:    p[2] = i>>8;    p[3] = i;    io->len += 4; +  io_trigger_output( io );    ref_push_object(Pike_fp->current_object);    }