gbranden pushed a commit to branch master in repository groff. commit f6d9f56a6c3c0c86a0d656b4e6577ddfc03fb8a6 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Sun Mar 16 22:47:47 2025 -0500
src/libs/libgroff/json_encode.cpp: Fix comment. Drop stale part of a comment, a relic of the time this feature spent in development. The function allocates no dynamic storage; instead it passes a fixed-length `struct`, `json_char` (8 bytes), on the stack. --- src/libs/libgroff/json_encode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/libgroff/json_encode.cpp b/src/libs/libgroff/json_encode.cpp index a4256771b..a119b1936 100644 --- a/src/libs/libgroff/json_encode.cpp +++ b/src/libs/libgroff/json_encode.cpp @@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "json-encode.h" // json_char // Return pointer to mutable buffer representing character `c` as a JSON -// string (without bracketing `"`s). The caller must free the buffer. +// string (without bracketing `"`s). json_char json_encode_char(unsigned char c) { assert(c < 256); _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit