GNU bug report logs - #39725
/gnu/store/.links: base16 or base32?

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Fri, 21 Feb 2020 21:52:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 39725-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 39725-done <at> debbugs.gnu.org
Subject: Re: bug#39725: /gnu/store/.links: base16 or base32?
Date: Sat, 22 Feb 2020 01:00:23 +0100
Ludovic Courtès <ludo <at> gnu.org> skribis:

> (guix store deduplication) uses base16, but optimize-store.cc does:
>
>     /* Check if this is a known hash. */
>     Path linkPath = linksDir + "/" + printHash32(hash);
>
> … where ‘printHash32’ returns a nix-base32 string.  Oops!

Fixed in 4cb63a564d413c745983a608790a943ac07f8d67.




This bug report was last modified 5 years and 174 days ago.

Previous Next


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