1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

* ioext.c (scm_ftell): Use SCM_N_READY_CHARS to correct position.

This commit is contained in:
Mikael Djurfeldt 1998-10-30 08:24:23 +00:00
parent 64e764482e
commit e6a207b366

View file

@ -213,7 +213,7 @@ scm_ftell (object)
{
SCM_SYSCALL (pos = ftell ((FILE *)SCM_STREAM (object)));
if (pos > 0 && SCM_CRDYP (object))
pos--;
pos -= SCM_N_READY_CHARS (object);
}
else
{