mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-devel] Mis-compiled (bytevector)?


From: Matt Birkholz
Subject: [MIT-Scheme-devel] Mis-compiled (bytevector)?
Date: Sun, 14 Jul 2019 09:49:20 -0700
User-agent: Evolution 3.32.1-2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

In 10.1.9 I create an HTTP request with body #f and write-http-request
fails with 'The object "", passed as the first argument to
bytevector-length, is not the correct type.'

I tracked this down to guarantee-headers&body.  When body is #f it
returns the empty string instead of the empty bytevector.  Pretty-
printing the procedure suggests '(bytevector)' was compiled to ""
instead of #u8().

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEELKqfot8xyi0bi8Ssp/sTamsYs6IFAl0rXRAACgkQp/sTamsY
s6JwXgwAptJ/io0WeyqQq1XZCnCN+fjInAYPul3poWFGU5vgPQBDf/Nk+a5+xEXt
HtLWiui3cFYJYHCnbiHaPKN5TgPvCrqpVVhpiELvPp/s+g5Y8NsJEaSiGNU6JU3m
vQvouOBmMneOdIo7kcno3jEWMNWbylPaGSw3xqALNbwG6pebfTnLNeGbQuXMd74d
fICP0Q/DAJU/bxbFs/0rgvEEbqNBU+7hBqFB/OV2NDdcXoi0UkmDUWdgPnmAA/Sx
bpzwPMPi6wrm0S3+3qkc4ewoPHPj6VvXRLXMHuZ4VGHqM9VTlpeDmojWxD/mj2Tf
fEBqy021mjfsfSSCQ2ExBgJlyGS/4HE9p4uf0yVRrOioaOY+HeRHvNyd9xXOgNKD
wtQnJ4gIxj/NqLIpGtq8M9lI6NrdEhDq6RACl+Se6keENmg3IALi2RPrmoQ+uVfo
tp2BRYi5RObmdoAbP8xKvyEacJpalB8fbnjBijQp58frwzla4D+m3gXW6S2r6n75
4s/cAEP7
=if/J
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]