diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-07-04 04:26:01 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-07-04 04:35:35 +0200 |
commit | f7e14782025bf87aaef694a21f34010b1a95f7f6 (patch) | |
tree | 7b147bf974e3e0d811fc950b0b1d7a2b4dc3e8b6 /.gitignore | |
parent | 7cde70c7f88e1b283bb61d8a35c5ceeafb39884e (diff) | |
download | guix-f7e14782025bf87aaef694a21f34010b1a95f7f6.tar.gz guix-f7e14782025bf87aaef694a21f34010b1a95f7f6.zip |
cpio: Fix device number calculation.
“dev_t in glibc is a 64-bit quantity, with 32-bit major and minor
numbers.” — glibc's <bits/sysmacros.h>
The "tests/cpio.scm" was failing because (guix cpio) treated it as a
16-bit quantity instead, leading to header mismatches with the GNU cpio
reference output.
* guix/cpio.scm (device-number, device->major+minor): Use all the bits.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions