about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-07-21 02:34:06 +0000
committerClint Adams <clint@users.sourceforge.net>2008-07-21 02:34:06 +0000
commit2d2d341161ca6699a6efd6981c3a9fd7fe52e6d6 (patch)
tree0e79a278d14b32b5a8c927f5da1ebc5741b9c072 /Src
parent8954f31c7c33351deff85e0f419bb6abb2c4ca54 (diff)
downloadzsh-2d2d341161ca6699a6efd6981c3a9fd7fe52e6d6.tar.gz
zsh-2d2d341161ca6699a6efd6981c3a9fd7fe52e6d6.tar.xz
zsh-2d2d341161ca6699a6efd6981c3a9fd7fe52e6d6.zip
25322: fix printing of keys.
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/db_gdbm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Modules/db_gdbm.c b/Src/Modules/db_gdbm.c
index ce7a6f57e..9cc9648d1 100644
--- a/Src/Modules/db_gdbm.c
+++ b/Src/Modules/db_gdbm.c
@@ -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;