diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-02-23 23:37:32 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-02-25 14:50:33 -0500 |
commit | 61f691fdfb4846e123e6423ee192142a35bd114d (patch) | |
tree | f5534d15827626ff5e0a0da9b14bc5b90ee3745c /guix/d3.v3.js | |
parent | bbc10628b62d9b057b4b77b941c0d8678af9e2a3 (diff) |
cpio: Properly handle Unicode characters in file names.
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.
Diffstat (limited to 'guix/d3.v3.js')
0 files changed, 0 insertions, 0 deletions