zsh-workers
 help / color / mirror / code / Atom feed
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: V01zmodload fails on Cygwin
Date: Mon, 25 Jan 2016 10:28:33 +0900	[thread overview]
Message-ID: <94764D50-AD38-47A3-936F-198CFD7FD9E1@kba.biglobe.ne.jp> (raw)
In-Reply-To: <160124102244.ZM11864@torch.brasslantern.com>


On 2016/01/25, at 3:22, Bart Schaefer <schaefer@brasslantern.com> wrote:
> } So it seems some symbols from libzsh-5.2-dev-1.dll also exists
> } in param_private.dll, and gethashnode2 is one of those symbols:
> 
> Interesting.  gethashnode2 should be declared external, so it should
> be resolved for param_private.dll at link time.  Seems to have to do
> with whether the external function is *called* vs. merely referenced
> by name?

I'm not familiar with Cygwin (or Windows) dll.
Maybe create an import library libzsh.a?
Or explicitly dlopen("libzsh.dll") from the param_private.dll and
call dlsym("gethashnode2") ?

> Should probably save/restore ->getnode as well, just
> for completeness.

realparamtab->getnode is already saved in getparamnode in your
original code, and getparamnode() (not gethashnode()) is called
in getprivatenode().
On the other hand, gethashnode2() is called in getprivatenode2().

> Do you want to commit or should I?

Please commit it (with necessary modification if any).



      reply	other threads:[~2016-01-25  1:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-24 11:10 Jun T.
2016-01-24 12:45 ` Sebastian Gniazdowski
2016-01-24 18:22 ` Bart Schaefer
2016-01-25  1:28   ` Jun T. [this message]

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=94764D50-AD38-47A3-936F-198CFD7FD9E1@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).