]> granicus.if.org Git - graphviz/commit
remove intermediate buffer in dot_polygon
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 24 Feb 2021 04:22:38 +0000 (20:22 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 2 Mar 2021 06:05:11 +0000 (22:05 -0800)
commit55f208169a29d471fdb20e6d4c54deda2e115435
tree7a08604cd433ddc22cd7d6cb3af0d6b485648e7f
parent51b692c3f9e303498d859294e660b46556fb8060
remove intermediate buffer in dot_polygon

This buffer was only used to calculate how many bytes were necessary to
allocate. The semantics of snprintf allow us to achieve this without the buffer.
cmd/gvmap/make_map.c