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:
e87e6f2
)
* genio.c (scm_do_read_line): Maintain the line count correctly.
author
Jim Blandy
<jimb@red-bean.com>
Sat, 10 Oct 1998 21:27:34 +0000
(21:27 +0000)
committer
Jim Blandy
<jimb@red-bean.com>
Sat, 10 Oct 1998 21:27:34 +0000
(21:27 +0000)
libguile/genio.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/genio.c
b/libguile/genio.c
index
6db2cb5
..
1e5598d
100644
(file)
--- a/
libguile/genio.c
+++ b/
libguile/genio.c
@@
-182,6
+182,9
@@
scm_do_read_line (port, len)
i = SCM_PTOBNUM (port);
SCM_SYSCALL (s = (scm_ptobs[i].fgets) (port, len));
+ if (s)
+ SCM_INCLINE(port);
+
return s;
}