chiark / gitweb /
lib.c (dstr_readline): Rewrite to cope with embedded zero bytes.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 13 Sep 2024 20:54:57 +0000 (21:54 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 13 Sep 2024 20:54:57 +0000 (21:54 +0100)
Alas, `fgets' produces nonsense when there are zero bytes, so we have
to do this by hand.


No differences found