mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-15 13:34:18 +01:00
49196: gdbm keys not present in the database appear unset in tied hashes
This commit is contained in:
parent
ca2e71e0eb
commit
7000b04e76
@ -1,5 +1,8 @@
|
||||
2021-09-06 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 49196: Src/Modules/db_gdbm.c: gdbm keys not present in the
|
||||
database appear unset in tied hashes
|
||||
|
||||
* Marlon Richert: 48969: fix for "zle -N" completion
|
||||
|
||||
* 48888: Doc/Zsh/mod_system.yo, Doc/Zsh/params.yo, Test/E03posix.ztst:
|
||||
|
@ -332,6 +332,8 @@ gdbmgetfn(Param pm)
|
||||
|
||||
/* Can return pointer, correctly saved inside hash */
|
||||
return pm->u.str;
|
||||
} else {
|
||||
pm->node.flags |= PM_DEFAULTED;
|
||||
}
|
||||
|
||||
/* Free key */
|
||||
|
Loading…
Reference in New Issue
Block a user