[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39725: /gnu/store/.links: base16 or base32?
From: |
Ludovic Courtès |
Subject: |
bug#39725: /gnu/store/.links: base16 or base32? |
Date: |
Sat, 22 Feb 2020 01:00:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Ludovic Courtès <address@hidden> 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.