fix bug in mashaling paths
The change in commit fb8e08a2ac
could lose part of a relative path.
This commit is contained in:
parent
16c198805b
commit
c3f876d2f7
|
@ -5679,7 +5679,7 @@ Scheme_Object *scheme_extract_relative_to(Scheme_Object *obj, Scheme_Object *dir
|
||||||
|
|
||||||
while (SCHEME_PAIRP(oe)) {
|
while (SCHEME_PAIRP(oe)) {
|
||||||
if (cache) {
|
if (cache) {
|
||||||
obj = scheme_make_pair(to_bytes(SCHEME_CAR(oe)), scheme_null);
|
obj = scheme_make_pair(to_bytes(SCHEME_CAR(oe)), obj);
|
||||||
} else {
|
} else {
|
||||||
a[0] = obj;
|
a[0] = obj;
|
||||||
a[1] = SCHEME_CAR(oe);
|
a[1] = SCHEME_CAR(oe);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user