Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Modules dependencies RE: PATCH: zftp/tcp abstraction
- X-seq: zsh-workers 14784
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxx>
- Subject: Modules dependencies RE: PATCH: zftp/tcp abstraction
- Date: Thu, 7 Jun 2001 13:41:10 +0400
- Importance: Normal
- In-reply-to: <000601c0ef29$cd081350$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
>
> bor@itsrm2% zmodload -u zsh/zftp
> bor@itsrm2% zsh
> bor@itsrm2% zmodload zsh/zftp
> bor@itsrm2% zftp open localhost
> ld.so: zsh: symbol not found: zsh_getipnodebyname
> zsh: killed zsh
>
Index: Src/Modules/zftp.mdd
+moddeps="zsh/net/tcp"
The problem is, it is currently ignored for modules without auto stuff.
Dependencies are put only in main zsh in Src/bltinmods.list.
To make it work in general every module needs a standard function, let's
call it dep_, that is autogenerated out of moddeps and called before module
is attempted to be loaded to register dependencies. We may need the
counterpart to remove dependencies when module is unloaded (seems
reasonable).
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author