bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33165] `load' uses a wrong relative path


From: Andy Wingo
Subject: [bug #33165] `load' uses a wrong relative path
Date: Sun, 19 Jun 2011 20:16:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Debian/sid/experimental (3.0.2-2) Epiphany/3.0.2

Follow-up Comment #3, bug #33165 (project guile):

Hi Ludo,

> address@hidden:~/src/guile/bug33165]$ ../meta/guile -l t/a.scm t/d/b.scm 

Note that ~/src/guile is in your GUILE_LOAD_PATH and
GUILE_LOAD_COMPILED_PATH in this case, because of (test-suite lib).

This is an error IMO but it is how it is, and it explains the relative
path here:

>    ?: 0 [primitive-load-path "bug33165/t/d/a.scm"]

In this case the (load "a.scm") in bug33165/t/d/b.scm resolves "a.scm"
relative to the the file doing the load, which is bug33165/t/d/b.scm.
So to me things are working correctly here, as far as they can work.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33165>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]