All of lore.kernel.org
 help / color / mirror / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: "Randall S. Becker" <rsbecker@nexbridge.com>
Cc: git@vger.kernel.org
Subject: Re: Report of use of "local" per t0000-basic.sh
Date: Sat, 23 Nov 2019 04:16:16 +0000	[thread overview]
Message-ID: <20191123041616.GD6430@camp.crustytoothpaste.net> (raw)
In-Reply-To: <03ad01d5a167$a834e580$f89eb080$@nexbridge.com>

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

On 2019-11-22 at 19:04:19, Randall S. Becker wrote:
> Hi All,
> 
> Based on the note in t0000-basic.sh below, I am just letting you know that I
> have encountered a lack of support for the "local" on the z/OS 2.3 USS
> platform except within a function. I thought you might want to know.

I think it's fine that we restrict the use of local to within a
function.  In fact, dash (Debian and Ubuntu's default /bin/sh) exits
unsuccessfully if you use local outside of a function.

Is there some place in particular that you've found we're using it
outside of a function?  I don't know about others, but I'm certainly
interested in fixing these.  It looks like we do use it in a function in
t0000 itself, though.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 868 bytes --]

  reply	other threads:[~2019-11-23  4:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-22 19:04 Report of use of "local" per t0000-basic.sh Randall S. Becker
2019-11-23  4:16 ` brian m. carlson [this message]
2019-11-24  4:24   ` Junio C Hamano
2019-11-25 15:41   ` Randall S. Becker

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=20191123041616.GD6430@camp.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=git@vger.kernel.org \
    --cc=rsbecker@nexbridge.com \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.