Le dimanche 5 novembre 2023, 14:46:29 UTC Jérémy Lal a écrit : > Le dim. 5 nov. 2023 à 15:24, Jérémy Lal <kapouer@melix.org> a écrit : > > > > > > > Le dim. 5 nov. 2023 à 15:00, Bastien Roucariès <rouca@debian.org> a > > écrit : > > > >> HI, > >> > >> Can someone get a glimpse at node-get-stream and regression for s390 > >> https://ci.debian.net/data/autopkgtest/testing/s390x/n/node-get-stream/39560761/log.gz > >> > >> I hae tried without sucess to fix this endian problem > > > > > > Indeed, the test is rigged to > > fail: file:///usr/share/doc/nodejs/api/buffer.html > > Node.js only supports the little-endian variant of UTF-16. > > However, it is discussed here: > > https://github.com/nodejs/node/issues/12813 > > which tells that > > file:///usr/share/doc/nodejs/api/buffer.html#buffer_buf_swap16 > > is a way to go. > > > > Also I suppose that > os.endianness() == "BE" or "LE" > is a nicer check... > Thanks I have tried something Bastien
Attachment:
signature.asc
Description: This is a digitally signed message part.