From: Per Bothner <per@bothner.com>
To: kawa@sourceware.org
Subject: Re: chasing symlinks during import
Date: Mon, 01 Dec 2014 22:37:00 -0000 [thread overview]
Message-ID: <547CEDA2.4020102@bothner.com> (raw)
In-Reply-To: <547A0CEC.40601@hungry.com>
On 11/29/2014 10:14 AM, Seth Alves wrote:
>
> I'm confused about why the attached doesn't work.
>
> Maybe what I actually want is for the "." in kawa.import.path to
> refer to the directory containing the toplevel (program) file rather
> than the file doing the importing?
>
> If the symlinks are replaced with the actual files, it does work.
The problem was that Kawa would calculate paths relative to the
*canonical" name of the importing file, rather than the requested name.
Not clear what is best, but probably most of the time using the
canonical name is probably not desirable.
I checked in a change to do that, so yur example should now work.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
next prev parent reply other threads:[~2014-12-01 22:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-29 18:14 Seth Alves
2014-12-01 22:37 ` Per Bothner [this message]
[not found] ` <54958681.7080604@hungry.com>
2014-12-20 20:11 ` Seth Alves
2014-12-21 20:27 ` Per Bothner
2014-12-22 14:38 ` Seth Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=547CEDA2.4020102@bothner.com \
--to=per@bothner.com \
--cc=kawa@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).