HCoop
/
bpt
/
guile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix fencepost error in bip_seek
[bpt/guile.git]
/
libguile
/
r6rs-ports.c
diff --git
a/libguile/r6rs-ports.c
b/libguile/r6rs-ports.c
index
1f72415
..
7473db9
100644
(file)
--- a/
libguile/r6rs-ports.c
+++ b/
libguile/r6rs-ports.c
@@
-136,7
+136,7
@@
bip_seek (SCM port, scm_t_off offset, int whence)
/* Fall through. */
case SEEK_SET:
- if (c_port->read_buf + offset < c_port->read_end)
+ if (c_port->read_buf + offset <
=
c_port->read_end)
{
c_port->read_pos = c_port->read_buf + offset;
c_result = offset;