Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] 2 modules, zsh/db, zsh/gdbm, bug-fixes
- X-seq: zsh-workers 41349
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] 2 modules, zsh/db, zsh/gdbm, bug-fixes
- Date: Fri, 23 Jun 2017 02:29:07 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=YN6Xv/71KhoLHg+TtUmRQfUfVDJPboHTurypQcrLR6I=; b=HlV83aDW0sMj8O+fijZPkvYMHfGVmO2GQEoOiXliXwms0Y4amOncFluoN6pOa3Xm4J raEKXP8ntY2ZfUjZe5Em7KZB7WCd6OR/6c/5vu8DXB/5QhGXVvhk9DHMjtKj/1vLtNSq f8yoMLaRFpmDESxyV+bFuSzfqMxl85XzMmMNdZE/TaYHKi6MTsOP2u0r0rHWwQoskTnp X88ixpbGk5LHaBEvuglW6vejReoU9mPjnUqw+dLrzOE4QRYUb7QNrTJH/IVeT8r8gh7I SA+FpHkHirBP3dcKKk7yVdsfJ7xBFrh3DYZ1CobNZMalJH9w29r5YMSD+Jg/sb/et5ps 2lfw==
- In-reply-to: <etPan.594b8863.185cac83.63ea@zdharma.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <etPan.594b8830.59cfcf4a.63ea@zdharma.org> <etPan.594b8863.185cac83.63ea@zdharma.org>
On Jun 22, 11:05am, Sebastian Gniazdowski wrote:
}
} PS. moddeps in zsh/db/gdbm (.mdd file) seems to not work right.
Hmm. I had gdbm marked as "static" in config.modules, and after
applying your patch:
srcdir='../../zsh-5.0/Src' CFMOD='../config.modules' \
/bin/sh ../../zsh-5.0/Src/mkbltnmlst.sh bltinmods.list
ERROR: linked-in module `zsh/db/gdbm' depends on `zsh/db'
make[2]: *** [bltinmods.list] Error 1
So I made them both static and then recompiled, but there is still a
problem; if I don't explicitly load zsh/db first, loading zsh/db/gdbm
crashes.
If I explicitly do "zmodload -d zsh/db/gdbm zsh/db" then the crash is
also avoided. It appears that mkbltnmlst.sh only creates add_dep()
calls for modules that are loaded into the shell by default (load=yes
in config.modules). This only matters if there is a boot_ dependency
rather than merely a builtins dependency, so e.g. it doesn't break for
zsh/zftp and zsh/net/tcp.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author