Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: V01 Test Failure



On Mon, Mar 6, 2023 at 1:55 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Works for me on Linux, but it's possible those variables declarations
> need to be moved to file scope instead of function scope, or that the
> ksh93 module needs to be made dependent on zsh/zle, depending on the
> compiler/linker.

This seems to do it:

diff --git a/Src/Modules/ksh93.mdd b/Src/Modules/ksh93.mdd
index 2759884a0..85e35e9cb 100644
--- a/Src/Modules/ksh93.mdd
+++ b/Src/Modules/ksh93.mdd
@@ -5,4 +5,6 @@ load=yes
 autofeatures="b:nameref"
 autofeatures_emu="b:nameref p:.sh.command p:.sh.edcol p:.sh.edtext
p:.sh.file p:.sh.lineno p:.sh.match p:.sh.subshell p:.sh.version"

+moddeps="zsh/zle"
+
 objects="ksh93.o"




Messages sorted by: Reverse Date, Date, Thread, Author