HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64e7644
)
* ioext.c (scm_ftell): Use SCM_N_READY_CHARS to correct position.
author
Mikael Djurfeldt
<djurfeldt@nada.kth.se>
Fri, 30 Oct 1998 08:24:23 +0000
(08:24 +0000)
committer
Mikael Djurfeldt
<djurfeldt@nada.kth.se>
Fri, 30 Oct 1998 08:24:23 +0000
(08:24 +0000)
libguile/ioext.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/ioext.c
b/libguile/ioext.c
index
c18866a
..
73de33f
100644
(file)
--- a/
libguile/ioext.c
+++ b/
libguile/ioext.c
@@
-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
{