This is the mail archive of the
guile-cvs@sourceware.cygnus.com
mailing list for the Guile project.
guile/guile-core NEWS libguile/ChangeLog libgu ...
- To: guile-cvs at sourceware dot cygnus dot com
- Subject: guile/guile-core NEWS libguile/ChangeLog libgu ...
- From: ghouston at sourceware dot cygnus dot com
- Date: 24 Oct 1999 11:25:31 -0000
CVSROOT: /cvs/guile
Module name: guile
Changes by: ghouston@sourceware.cygnus.com 99/10/24 04:25:31
Modified files:
guile-core : NEWS
guile-core/libguile: ChangeLog fports.c ports.c strports.c
Log message:
* Move the responsibility for resetting port buffers from the
caller of the ptob seek procedure to the implementation. This
gives more control in general to the ptob seek: in particular the
change of 1999-10-20 can be made to work without breaking seek on
string ports. There's a comment in NEWS about upgrading port
types.
* ports.c (scm_seek): don't reset the port buffers here.
* fports.c (fport_seek): reset the buffers, except for the
0 SEEK_CUR case.
* strports.c (st_end_input): (bug fix): decrement pt->read_pos by
offset. check that it's not less than read_buf.
(st_seek): reset the buffers first, unless it's the 0 SEEK_CUR
case and currently reading.