zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Jun T <takimoto-j@kba.biglobe.ne.jp>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Memory error on exporting XPC_SERVICE_NAME from a subshell
Date: Thu, 21 Jul 2022 14:11:06 -0700	[thread overview]
Message-ID: <CAH+w=7Z1fta=Ca0+UqkLkDRW=DYE2ntULcKUYjxZxPrTfouKSg@mail.gmail.com> (raw)
In-Reply-To: <5B18DF64-99E1-4110-90B4-AEA5D56D62EB@kba.biglobe.ne.jp>

On Thu, Jul 21, 2022 at 2:46 AM Jun T <takimoto-j@kba.biglobe.ne.jp> wrote:
>
> So the simplest solution is to ignore El Capitan and older, and
> remove !defined(__APPLE__) from the line 786 in zsh_system.h.
>
> Or we can check the macOS version in configure.ac, as in the
> patch below (I don't know the way to get the macOS version
> from C preprocessor macro).
>
> Or we can use the Peter's patch in workers/38433⁩ (with some fixes?).

I still compile on some older (not upgradable) Mac laptops, but could
live with having to manually disable USE_SET_UNSET_ENV

Your suggested configure change is simpler than PWS's and would
probably be fine.  I don't think we ever got a working version of
38433, but if you want to chase that down, that would be the "most
complete" fix.


      reply	other threads:[~2022-07-21 21:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 18:45 Varun Gandhi
2022-07-20  0:11 ` Bart Schaefer
2022-07-21  9:40   ` Jun T
2022-07-21 21:11     ` Bart Schaefer [this message]

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='CAH+w=7Z1fta=Ca0+UqkLkDRW=DYE2ntULcKUYjxZxPrTfouKSg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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