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

Re: Memory error on exporting XPC_SERVICE_NAME from a subshell



On Thu, Jul 21, 2022 at 2:46 AM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> 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.




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