bugKawa - Bugs: bug #14397, load-relative doesn't work

 
 

bug #14397: load-relative doesn't work

Submitted by:  None
Submitted on:  Sun 04 Sep 2005 10:35:21 AM UTC  
 
Category: Scheme librarySeverity: 3 - Normal
Item Group: Unexpected resultStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 27 Sep 2005 11:48:01 PM UTC, comment #1:

I checked the attached patch into CVS.
Please let me know how it works.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Sun 04 Sep 2005 10:35:21 AM UTC, original submission:

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #3058:  load.patch added by bothner (2KiB - application/octet-stream)
file #3438:  load-relative_fix.diff added by None (884B - application/octet-stream - Patch to fix the problem)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 27 Sep 2005 11:48:01 PM UTCbothnerStatusNone=>Fixed
  Assigned toNone=>bothner
  Open/ClosedOpen=>Closed
  Attached File-=>Added load.patch, #3009
Sun 04 Sep 2005 10:35:22 AM UTCNoneAttached File-=>Added load-relative_fix.diff, #2905

Back to the top


Powered by Savane 3.1-cleanup1