]> granicus.if.org Git - graphviz/commit
gv2gml: refactor 'parseStyle' to avoid 'strtok'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 8 Jul 2022 04:07:31 +0000 (21:07 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 22 Jul 2022 00:41:58 +0000 (17:41 -0700)
commit4a75939fa53fbc94bb02f94dd311b90e6afa075c
tree957d329dc4c43fe8c858c2dd05afd94a70740a52
parent08c532bf47d512b86333e51caba417192b9abd41
gv2gml: refactor 'parseStyle' to avoid 'strtok'

This improves thread safety (`strtok` works by modifying global state) and
removes the need for dynamic allocation.
cmd/tools/gv2gml.c