chiark / gitweb /
zone.lisp: Split a single `:txt' string into small enough pieces.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 3 May 2024 00:14:43 +0000 (01:14 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 4 May 2024 23:56:24 +0000 (00:56 +0100)
The substrings of a `:txt' record can be at most 255 bytes long.  If the
argument is a single string that's too long then split it into pieces;
prefer to split at semicolons, or spaces.

If the argument is a list of strings, then respect their split.
Theoretically, the split positions are semantically transparent, but
it's possible that some programs are sensitive to the boundaries.


No differences found