[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61722: (guix cpio) produces corrupted archives when there are non-AS
From: |
Maxim Cournoyer |
Subject: |
bug#61722: (guix cpio) produces corrupted archives when there are non-ASCII filenames |
Date: |
Sat, 25 Feb 2023 14:52:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Fixes <https://issues.guix.gnu.org/61722>.
>
> * guix/cpio.scm (file->cpio-header): Compute the file name length in bytes
> rather than in
> characters.
> (file->cpio-header*, special-file->cpio-header*): Likewise.
> (write-cpio-archive): Likewise, and write the file name as UTF-8 bytes, not
> textually, to avoid encoding it as ISO-8859-1.
Pushed to master.
Closing.
--
Thanks,
Maxim