ports: Properly initialize the `read_buf_size' field.
commitdfab2fe21f82bc40cfdf9a3a3eeb6936d5935c8c
authorLudovic Courtès <ludo@gnu.org>
Fri, 21 Nov 2008 17:00:33 +0000 (21 18:00 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 21 Nov 2008 17:00:33 +0000 (21 18:00 +0100)
tree55c543d48545067e1c7b1777844b4ee8669b3a07
parentfab268fec1dd0eea46da2f979c0738166d0e9717
ports: Properly initialize the `read_buf_size' field.

* src/ports.c (make_bip): Initialize `c_port->read_buf_size'.
  (make_cbip): Likewise.  This allows CBIPs to work with the so-called
  `swap_buffer' trick discussed as proposed at
  http://lists.gnu.org/archive/html/guile-devel/2008-11/msg00071.html .
src/ports.c