Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[bug] gdbm tied hashes always consider members set
- X-seq: zsh-workers 49192
- From: Stephane Chazelas <stephane@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [bug] gdbm tied hashes always consider members set
- Date: Sun, 25 Jul 2021 18:06:32 +0100
- Archived-at: <https://zsh.org/workers/49192>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxx>
$ zmodload zsh/db/gdbm
$ ztie -d db/gdbm -f new.db a
$ typeset -p a
typeset -A a=( )
$ echo ${+a[x]}
1
$ echo ${a[x]+yes}
yes
Members are always consider set even when they're not.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author