]> granicus.if.org Git - graphviz/commit
gvpr mkBlock: more precise bounds on internal buffers
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Sep 2021 18:50:08 +0000 (11:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Sep 2021 22:14:15 +0000 (15:14 -0700)
commit405d039cc58be0254a732d02f66866fd69256e04
tree88d3e038c9788bf403f2c4e6d4289ed644ca8fa8
parent7bced676bcee4e9f151afb367d3defc869f37192
gvpr mkBlock: more precise bounds on internal buffers

On most platforms, `BUFSIZ` is likely large enough to contain the data printed
to it. But since we know the exact data that is placed in these buffers, we can
write this code more portably.
lib/gvpr/compile.c