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

version» Context lines:

pike.git/src/modules/_Stdio/buffer.cmod:678:    {    /* if i is 0 mpz_export will not write anything.    Handle that by zeroing the byte that should have been written.    */   #ifdef PIKE_DEBUG    if( bytes != 1 )    Pike_fatal("Oddities abound\n");   #endif    *d = pad;    } -  fprintf( stderr, "exported %d bytes, %d bytes expected, %d bytes total\n", exp, bytes, width ); +     if( pad )    {    while(exp--)    *d++ ^= 0xff; /* pad, but that is 0xff */    mpz_clear(&tmp);    }    }       static void io_add_int_uc( IOBuffer *io, ptrdiff_t i, size_t bytes )    {