bug-guile
[Top][All Lists]
Advanced

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

Re: Guile 1.9: bug in load


From: Luca Saiu
Subject: Re: Guile 1.9: bug in load
Date: Wed, 18 Nov 2009 11:05:49 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Wingo wrote:
> Hi Luca :-)
> 
> On Fri 13 Nov 2009 21:24, Luca Saiu <address@hidden> writes:
> 
>> load should call canonicalize-path relative to the directory of the file
>> which loads the other one, not relative to `pwd`.
> 
> Has this changed since 1.8?

Yes, it has changed. I had originally developed my little game with
Guile 1.8, on which it works (apart from the lockup problem I had hinted
at, but that's totally unrelated and may be a bug in my code) and the
problem only shows up when testing with 1.9. Ludovic was following me
when I've tested at dinner; so the report should be reliable even if I
had a couple of beers :-).

> AFAIK no -- but do correct me if I'm wrong
> -- and so for that reason, I don't think it's possible to change it --
> for backwards-compatibility reasons.

So I think that it *should* be changed for backwards-compatibility
reasons, but also because the behavior in 1.8 is clearly the right thing.

> However the use case is important. We need to implement a (current-file)
> macro, I think, which should allow for file-relative loads.

If you need a distilled test case, please tell me; it should be quite
easy to build.

> Greetings to you!

It's really been a pleasure to meet you and Ludovic face to face.
My greetings to Neil, too.

- --
Luca Saiu
http://www-lipn.univ-paris13.fr/~saiu
GNU epsilon: http://www.gnu.org/software/epsilon
Marionnet:   http://www.marionnet.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksDxv0ACgkQvzOavibF0oYGwACfekkOSSN7vzNeeSt5NnnlZHsW
KB8AniNOFf/n8x+AwFkwVJr0GDH1bJLH
=VZub
-----END PGP SIGNATURE-----




reply via email to

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