[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #14397] load-relative doesn't work
From: |
anonymous |
Subject: |
[Bug-kawa] [bug #14397] load-relative doesn't work |
Date: |
Sun, 4 Sep 2005 10:35:22 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050828 Camino/0.9a2+ |
URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14397>
Summary: load-relative doesn't work
Project: Kawa
Submitted by: None
Submitted on: dim 04.09.2005 à 10:35
Category: Scheme library
Severity: 3 - Normal
Item Group: Unexpected result
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
Current directory is:
file:///Junk/src/kawa/
#|kawa:1|# (load-relative "kawa/foo.scm")
java.lang.RuntimeException: load: file not found:
file:///Junk/src/kawa/kawa/kawa/foo.scm
The bug is that the base URI is affected twice. Once in apply() and once in
loadSource.
It's still a mess (kawa would need %load-path), but the attached patch fixes
the problem.
#|kawa:1|# (load-relative "kawa/foo.scm")
java.lang.RuntimeException: load: file not found:
file:///Junk/src/kawa/kawa/foo.scm
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: dim 04.09.2005 à 10:35 Name: load-relative_fix.diff Size: 884o By:
None
Patch to fix the problem
<http://savannah.gnu.org/bugs/download.php?item_id=14397&item_file_id=2905>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14397>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bug #14397] load-relative doesn't work,
anonymous <=