zsh-workers
 help / color / mirror / code / Atom feed
* [bug] gdbm tied hashes always consider members set
@ 2021-07-25 17:06 Stephane Chazelas
  2021-07-26 23:29 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Stephane Chazelas @ 2021-07-25 17:06 UTC (permalink / raw)
  To: Zsh hackers list

$ 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-26 23:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25 17:06 [bug] gdbm tied hashes always consider members set Stephane Chazelas
2021-07-26 23:29 ` Bart Schaefer

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