Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ -v a[key] ]] syntax memory leak & undefined associative array keys detected as set
- X-seq: zsh-workers 43262
- From: Anssi Palin <Anssi.Palin@xxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [[ -v a[key] ]] syntax memory leak & undefined associative array keys detected as set
- Date: Wed, 8 Aug 2018 21:31:05 +0000
- Accept-language: en-US, fi-FI
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anssi.Palin@xxxxxxxxxxxx;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudomnia.onmicrosoft.com; s=selector1-edu-omnia-fi; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UN2UisobGIsCjD1spv4+JuWxXf0Fz+0zfteUS2xKKhk=; b=jwIxkHZINvs73Y9epCRx9iHdoRu0ivJK0l4Z03UsUnmkuBDacr8hyvirwS84ahQyl6JNSnOnOShdK/36Mvk/jWDqR59H+JM6Aem4g43DOpARRMZCJkTFgAyLCkHbUqfGQUs4UD9UWw9rj0kOJuPQmCqzUDHrKWnSsRSa/QQxmkw=
- In-reply-to: <HE1PR05MB183333C4D7750364A8B01D0CD7900@HE1PR05MB1833.eurprd05.prod.outlook.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <HE1PR05MB183333C4D7750364A8B01D0CD7900@HE1PR05MB1833.eurprd05.prod.outlook.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
- Thread-index: AQHT7vMfODQdZCFQAUygFBDTZAVWg6S214Xs
- Thread-topic: [[ -v a[key] ]] syntax memory leak & undefined associative array keys detected as set
Hello everyone,
My original message in this thread about problems introduced around Zsh 5.5.1
with the ${+a[$key]} syntax went somewhat unnoticed. Has the issue been
investigated since? I feel the problem is somewhat urgent as in the meantime
I've modified some of my scripts to use a workaround with dummy keys to get
them to execute similarly as before.
Thank you again.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author