core: Initialize g_buf dynamically, add MES_STRING_MAX override.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 10 Feb 2019 05:56:06 +0000 (06:56 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 10 Feb 2019 05:56:06 +0000 (06:56 +0100)
commitd3e694c5298f61ae81ca3a89a05f0ce2447008b3
tree8e7ae8c3e83960149b020e51544784cd1754e516
parentf43af6acc3000d1e9b1342f20585a274532bc142
core: Initialize g_buf dynamically, add MES_STRING_MAX override.

* src/mes.c (g_buf, MAX_STRING): Move from strings.c.
(gc_init_cells): Initialize g_buf dynamically.
(main): Add environment override MES_MAX_STRING for MAX_STRING.
* doc/mes.texi (Environment Variables): Document it.
doc/mes.texi
src/mes.c
src/strings.c