1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 19:00:57 +02:00

25322: fix printing of keys.

This commit is contained in:
Clint Adams 2008-07-21 02:34:06 +00:00
parent 8954f31c7c
commit 2d2d341161
2 changed files with 3 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2008-07-21 Clint Adams <clint@zsh.org>
* 25322: Src/Modules/db_gdbm.c: fix printing of keys.
* 25321: Src/Modules/db_gdbm.c: delete gdbm node when
corresponding hash entry is unset.

View file

@ -191,6 +191,7 @@ scangdbmkeys(UNUSED(HashTable ht), ScanFunc func, int flags)
while(key.dptr) {
content = gdbm_fetch(dbf, key);
pm->node.nam = key.dptr;
pm->u.str = content.dptr;
pm->gsu.s = &nullsetscalar_gsu;