GNU bug report logs - #41131
[PATCH] hash-table-merge! ignores other-ht

Previous Next

Package: guile;

Reported by: "Ricardo G. Herdt" <r.herdt <at> posteo.de>

Date: Fri, 8 May 2020 00:20:01 UTC

Severity: normal

Tags: patch

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Ricardo G. Herdt" <r.herdt <at> posteo.de>
To: bug-guile <at> gnu.org
Subject: Bug in hash-table-merge! (and patch)
Date: Fri, 08 May 2020 01:50:01 +0200
[Message part 1 (text/plain, inline)]
Hi,

I just found this bug in the hash-table-merge! function 
(modul/srfi/srfi-69.scm). Instead of merging both hash tables, it was 
ignoring one of them (other-ht). Attached is the fix, where it now folds 
over other-ht and store its data in ht.

Cheers,

Ricardo G. Herdt
[0001-Fix-hash-table-merge-bug.patch (text/x-diff, attachment)]
[Changelog (text/plain, attachment)]

This bug report was last modified 4 years and 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.