projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8781bfc
)
Fix screw-up in previous host-adapter change.
author
Chris Hanson
<org/chris-hanson/cph>
Tue, 9 Jul 2019 03:28:20 +0000
(23:28 -0400)
committer
Chris Hanson
<org/chris-hanson/cph>
Thu, 18 Jul 2019 00:50:54 +0000
(20:50 -0400)
src/runtime/host-adapter.scm
patch
|
blob
|
history
diff --git
a/src/runtime/host-adapter.scm
b/src/runtime/host-adapter.scm
index ede64f56d7077ed6d98f905b4ece6c1b00ac1379..d98c3676f42f9c7efe7bc2e5335fad0bf9f7b764 100644
(file)
--- a/
src/runtime/host-adapter.scm
+++ b/
src/runtime/host-adapter.scm
@@
-196,8
+196,10
@@
USA.
(let ((i
(list-index (lambda (name*) (eq? name* name))
names)))
- (remove-at-index! i names set-names!)
- (remove-at-index! i (get-vals) set-vals!))))
+ (if i
+ (begin
+ (remove-at-index! i names set-names!)
+ (remove-at-index! i (get-vals) set-vals!))))))
(remove-one 'call-with-values)
(remove-one 'with-values)