mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
cd7c303908
Prior to this commit, there was a jet mismatch in to-wain (formerly called lore, and still jetted under that name). 0 bytes in the middle of a cord caused the jet to crash, whereas the hoon simply treated them as the end of cord and truncated the output. The history of this behavior is fraught with controversy. This commit rectifies the current mess with the following rationale: Null bytes are valid ASCII/UTF-8, and \n\n in the input will cause null list items in the output, so nulls are (for the purposes of to-wain) allowed in cords. Trailing nulls cannot be represented because of the nature of atoms, but that is outside the scope of to-wain's concern. Therefore to-wain should simply measure the cord and split on newlines, and do nothing fancy at all with nulls. The old jet is left wired up under %lore, and should be removed when support for the old, unupgraded zuse is no longer necessary. A new jet with matching null handling has been wired up under the name %leer. |
||
---|---|---|
.. | ||
arvo | ||
ent | ||
ge-additions | ||
herb | ||
hs | ||
interface | ||
libaes_siv | ||
urbit |