summaryrefslogtreecommitdiff
path: root/src/straycats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/straycats.c')
-rw-r--r--src/straycats.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/straycats.c b/src/straycats.c
index 95e8750a..932230b0 100644
--- a/src/straycats.c
+++ b/src/straycats.c
@@ -251,13 +251,18 @@ static int check_for_stray (MYDBM_FILE dbf)
if (find_name_decompressed (decomp,
catdir_base,
&lg)) {
- gl_list_t descs;
+ gl_list_t descs, trace;
strays++;
descs = parse_descriptions
(mandir_base, lg.whatis);
+ trace = new_string_list (GL_ARRAY_LIST,
+ true);
+ gl_list_add_last (trace,
+ xstrdup (catdir));
store_descriptions (dbf, descs, info,
NULL, mandir_base,
- NULL);
+ trace);
+ gl_list_free (trace);
gl_list_free (descs);
} else if (quiet < 2)
error (0, 0, _("warning: %s: whatis parse for %s(%s) failed"),