dictionary: Allow dict_set_documents() argument to reference old documents.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 5 Oct 2021 16:19:26 +0000 (09:19 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 5 Oct 2021 16:19:26 +0000 (09:19 -0700)
merge_dictionary() in combine-file.c includes the old documents in the new
ones by just copying pointers.  dict_set_documents() didn't handle this
properly.  This fixes the problem.

Fixes bug #61258.
Thanks to Irfan Ariq for reporting the problem.


No differences found