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:
parent
64e764482e
commit
e6a207b366
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue