From 6a3d22f3a05e80eea6b8fec66c2b8dfbd358cea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 22 Oct 2025 09:02:08 +0200 Subject: [PATCH] ; * src/lisp.h (struct Lisp_String): mention terminating NUL --- src/lisp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lisp.h b/src/lisp.h index 8da5f4f1475..e7b15069f00 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -1579,6 +1579,9 @@ struct Lisp_String ptrdiff_t size_byte; INTERVAL intervals; /* Text properties in this string. */ + /* The data is always followed by a NUL, not included in size or + size_byte, for C interoperability, but may also contain NULs + itself. */ unsigned char *data; } s; struct Lisp_String *next;