help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Vin Shelton <acs@alumni.princeton.edu>
Cc: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: V01 Test Failure
Date: Mon, 6 Mar 2023 13:55:00 -0800	[thread overview]
Message-ID: <CAH+w=7Yk2-Yu1dOJCCOR0YV1DeSnRdWDV671TtmFABVUaaTeKA@mail.gmail.com> (raw)
In-Reply-To: <CACeGjnXX0o23SKGdSVsA-Oo+dymahejA446X02YwRw0yX+EnSA@mail.gmail.com>

On Mon, Mar 6, 2023 at 1:45 PM Vin Shelton <acs@alumni.princeton.edu> wrote:
> Where are global variables supposed to be declared?

In this case:
Src/Zle/zle_main.epro:extern mod_import_variable char*varedarg;

However, I tried this with ksh93.c in order to avoid including other
modules epro files:

    if (zleactive) {
        extern mod_import_variable char *curkeymapname; /* XXX */
        extern mod_import_variable char *varedarg;      /* XXX */

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

  reply	other threads:[~2023-03-06 21:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06 21:43 Vin Shelton
2023-03-06 21:55 ` Bart Schaefer [this message]
2023-03-06 22:16   ` Bart Schaefer
     [not found] <CGME20180618140755epcas4p312c0e4933d027d5a92f88c0b7c127b00@epcas4p3.samsung.com>
2018-06-18 14:07 ` V01 test failure Vin Shelton
2018-06-18 14:41   ` Peter Stephenson
2018-06-18 15:58     ` dana

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7Yk2-Yu1dOJCCOR0YV1DeSnRdWDV671TtmFABVUaaTeKA@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=acs@alumni.princeton.edu \
    --cc=zsh-workers@zsh.org \


* 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


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).