]> granicus.if.org Git - graphviz/commit
gv2gxl createNodeId: replace char buffer with an agxbuf
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 22 Jan 2023 18:57:40 +0000 (10:57 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 28 Jan 2023 06:46:29 +0000 (22:46 -0800)
commitcc686d8e1612a284f794dd2502a6fa2d6656a60c
treeeb063eb7cefb6f602c62be1603b87ab19aef523e
parent586296cfb71640c75e91696be62cc320ff583b83
gv2gxl createNodeId: replace char buffer with an agxbuf

This removes an assumption that `SMALLBUF` is large enough to fit the printed
string. Performance should be unaffected as agxbuf can store a string of the
length printed here inline.

Gitlab: related to #1950
cmd/tools/gv2gxl.c